|
Omnidome
Fulldome Mapping Software Toolkit
|
Visualizer for drawing a projector with halo. More...
#include <Projector.h>


Public Member Functions | |
| Projector (const proj::Projector &) | |
| ~Projector () | |
| void | update () |
| Update geometry. More... | |
| qreal | size () const |
| Return size of drawn projector. More... | |
| void | setSize (qreal) |
| Set size. More... | |
| bool | isSelected () const |
| Halo is bright if projector is selected. More... | |
| void | setSelected (bool) |
| Set boolean if projector is selected. More... | |
| QColor | color () const |
| Return drawn color. More... | |
| void | setColor (QColor) |
| Set color if drawn projector. More... | |
| void | draw () const |
| Draw projector line. More... | |
| void | drawHalo () const |
| Draw projector value. More... | |
| void | drawPositioning (QVector3D const &_center) const |
| Draw positioning of projector with center point. More... | |
Public Member Functions inherited from omni::visual::Interface | |
| virtual | ~Interface () |
Private Attributes | |
| proj::Projector const & | proj_ |
| bool | selected_ = false |
| float | size_ = 2.0 |
| QColor | color_ |
| QVector3D | eye_ |
| QVector3D | topLeft_ |
| QVector3D | topRight_ |
| QVector3D | bottomLeft_ |
| QVector3D | bottomRight_ |
Static Private Attributes | |
| static ContextBoundPtr < QOpenGLShaderProgram > | haloShader_ |
Additional Inherited Members | |
Static Protected Member Functions inherited from omni::visual::Interface | |
| static void | vertex3 (QVector3D const &) |
| glVertex3f from QVector3D More... | |
| static void | visualLine (QVector3D const &_from, QVector3D const &_to) |
| Draws a line. More... | |
| static void | color (QColor _color, float _alpha=1.0) |
| glColor4f from QColor More... | |
Visualizer for drawing a projector with halo.
| omni::visual::Projector::Projector | ( | const proj::Projector & | _proj | ) |
| QColor omni::visual::Projector::color | ( | ) | const |
Return drawn color.
|
virtual |
Draw projector line.
Implements omni::visual::Interface.
| void omni::visual::Projector::drawHalo | ( | ) | const |
Draw projector value.
| void omni::visual::Projector::drawPositioning | ( | QVector3D const & | _center | ) | const |
Draw positioning of projector with center point.
| bool omni::visual::Projector::isSelected | ( | ) | const |
Halo is bright if projector is selected.
| void omni::visual::Projector::setColor | ( | QColor | _color | ) |
Set color if drawn projector.
| void omni::visual::Projector::setSelected | ( | bool | _selected | ) |
Set boolean if projector is selected.
| void omni::visual::Projector::setSize | ( | qreal | _size | ) |
Set size.
| qreal omni::visual::Projector::size | ( | ) | const |
Return size of drawn projector.
|
virtual |
Update geometry.
Reimplemented from omni::visual::Interface.
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.6