|
Omnidome
Fulldome Mapping Software Toolkit
|
Base class for drawing a session. More...
#include <Session.h>

Public Member Functions | |
| Session (omni::Session const &) | |
| Construct with reference to session. More... | |
| omni::Session const & | session () const |
| Return const ref to session. More... | |
| void | drawCanvas (mapping::OutputMode=mapping::OutputMode::MAPPED_INPUT, bool _grayscale=false) const |
| Draw canvas with given output mode and optional grayscale toggle. More... | |
| void | drawCanvasWireframe () const |
| void | drawCanvasFor3DView () |
| Draw canvas for scene view. More... | |
| void | drawCanvasWithFrustumIntersections (ProjectorSelectionMode) const |
| Canvas with frustum intersection of all projectors. More... | |
| void | drawFrustumIntersection (proj::Projector const &, QColor const &) const |
| Draw frustum canvas intersection. More... | |
| void | update () |
| Update projectors and canvas. More... | |
| void | drawProjectors (ProjectorSelectionMode=ProjectorSelectionMode::ALL) const |
| Draw projectors. If _selectedOnly true, only currently selected projector is drawn. More... | |
| void | drawProjectorHalos (ProjectorSelectionMode=ProjectorSelectionMode::ALL) const |
| Draw projector halos. If _selectedOnly true, only currently selected projector is drawn. More... | |
| bool | needsUpdate () const |
| Returns true if an update is required. More... | |
Private Member Functions | |
| void | drawCanvasWithMatrix () const |
| Draw canvas transform with matrix. More... | |
| template<typename F > | |
| void | projectorDrawFunction (ProjectorSelectionMode, F f) const |
Private Attributes | |
| omni::Session const & | session_ |
| std::list< visual::Projector > | projectors_ |
| bool | needsUpdate_ = true |
Static Private Attributes | |
| static ContextBoundPtr < QOpenGLShaderProgram > | frustumShader_ |
Base class for drawing a session.
| omni::visual::Session::Session | ( | omni::Session const & | _session | ) |
Construct with reference to session.
| void omni::visual::Session::drawCanvas | ( | mapping::OutputMode | _mode = mapping::OutputMode::MAPPED_INPUT, |
| bool | _grayscale = false |
||
| ) | const |
Draw canvas with given output mode and optional grayscale toggle.
| void omni::visual::Session::drawCanvasFor3DView | ( | ) |
Draw canvas for scene view.
There is also no input to be displayed when input has no texture
| void omni::visual::Session::drawCanvasWireframe | ( | ) | const |
| void omni::visual::Session::drawCanvasWithFrustumIntersections | ( | ProjectorSelectionMode | _selectionMode | ) | const |
Canvas with frustum intersection of all projectors.
|
private |
Draw canvas transform with matrix.
| void omni::visual::Session::drawFrustumIntersection | ( | proj::Projector const & | _proj, |
| QColor const & | _color | ||
| ) | const |
Draw frustum canvas intersection.
Construct frustum
| void omni::visual::Session::drawProjectorHalos | ( | ProjectorSelectionMode | _selectionMode = ProjectorSelectionMode::ALL | ) | const |
Draw projector halos. If _selectedOnly true, only currently selected projector is drawn.
| void omni::visual::Session::drawProjectors | ( | ProjectorSelectionMode | _selectedMode = ProjectorSelectionMode::ALL | ) | const |
Draw projectors. If _selectedOnly true, only currently selected projector is drawn.
| bool omni::visual::Session::needsUpdate | ( | ) | const |
Returns true if an update is required.
|
private |
| omni::Session const & omni::visual::Session::session | ( | ) | const |
Return const ref to session.
| void omni::visual::Session::update | ( | ) |
Update projectors and canvas.
|
staticprivate |
|
private |
|
private |
|
private |
1.8.6