|
Omnidome
Fulldome Mapping Software Toolkit
|
A class that holds settings and elements for session 3d visualization Belongs to a session. More...
#include <Scene.h>

Public Types | |
| typedef std::map< QString, std::unique_ptr < CameraInterface > > | camera_map_type |
Public Member Functions | |
| Scene () | |
| float | size () const |
| Scene size (min, max dimensions) More... | |
| void | setSize (float) |
| Set scene size. More... | |
| LengthUnit const & | unit () const |
| Length unit for scene. More... | |
| void | setUnit (QString const &) |
| Set unit from string prefix. More... | |
| void | setUnit (LengthUnit const &) |
| Set unit from length unit type. More... | |
| bool | displayInput () const |
| Input is shown on canvas. More... | |
| void | setDisplayInput (bool) |
| Turn displaying of input on canvas on/off. More... | |
| bool | displayGrid () const |
| Display line grid. More... | |
| void | setDisplayGrid (bool) |
| Turn displaying of grid on/off. More... | |
| ProjectorSelectionMode | displayProjectors () const |
| Display projector frustra (selected projector is always shown) More... | |
| void | setDisplayProjectors (ProjectorSelectionMode) |
| Turn displaying of projectors on/off. More... | |
| ProjectorSelectionMode | displayProjectedAreas () const |
| Display projected areas. More... | |
| void | setDisplayProjectedAreas (ProjectorSelectionMode) |
| Turn displaying of projector areas on/off. More... | |
| EditMode | editMode () const |
| Return scene element. More... | |
| void | setEditMode (EditMode) |
| Set mode which scene element is to be manipulated. More... | |
| RotateMode | rotateMode () const |
| void | setRotateMode (RotateMode) |
| MoveMode | moveMode () const |
| void | setMoveMode (MoveMode) |
| float | insideOutside () const |
| Inside / outside transparency for 3D canvas view. More... | |
| void | setInsideOutside (float _insideOutside) |
| float | wireframe () const |
| Opacity value for wireframe between 0.0 and 1.0. More... | |
| void | setWireframe (float _wireframe) |
| void | updateLights () |
| Update light for use in OpenGL. More... | |
| visual::CameraInterface * | camera () |
| Return reference to camera. More... | |
| visual::CameraInterface const * | camera () const |
| Return const reference to camera. More... | |
| QString | currentCameraId () const |
| Return current camera id. More... | |
| void | setCurrentCameraId (QString const &) |
| Set id to current camera. More... | |
| camera_map_type & | cameras () |
| camera_map_type const & | cameras () const |
| void | fromStream (QDataStream &) |
| Deserialize from stream. More... | |
| void | toStream (QDataStream &) const |
| Serialize to stream. More... | |
| void | drawGrid () const |
| Draw grid with given scene size if it is to be displayed. More... | |
| void | updateGrid () |
| Update grid. More... | |
Private Attributes | |
| float | insideOutside_ = 0.5 |
| float | size_ = 10.0 |
| float | wireframe_ = 0.0 |
| LengthUnit | unit_ |
| bool | displayInput_ = true |
| bool | displayGrid_ = true |
| ProjectorSelectionMode | displayProjectors_ = ProjectorSelectionMode::ALL |
| ProjectorSelectionMode | displayProjectedAreas_ = ProjectorSelectionMode::ALL |
| EditMode | editMode_ = EditMode::CAMERA |
| RotateMode | rotateMode_ = RotateMode::YAW |
| MoveMode | moveMode_ = MoveMode::MOVE_XY |
| QString | cameraId_ |
| std::vector< visual::Light > | lights_ |
| std::map< QString, std::unique_ptr < visual::CameraInterface > > | cameras_ |
| std::unique_ptr< visual::Grid > | grid_ |
Friends | |
| bool | operator== (Scene const &, Scene const &) |
| Test for equality. ScreenSetup is ignored. More... | |
A class that holds settings and elements for session 3d visualization Belongs to a session.
| typedef std::map<QString,std::unique_ptr<CameraInterface> > omni::visual::Scene::camera_map_type |
| omni::visual::Scene::Scene | ( | ) |
| visual::CameraInterface * omni::visual::Scene::camera | ( | ) |
Return reference to camera.
| visual::CameraInterface const * omni::visual::Scene::camera | ( | ) | const |
Return const reference to camera.
| Scene::camera_map_type & omni::visual::Scene::cameras | ( | ) |
| Scene::camera_map_type const & omni::visual::Scene::cameras | ( | ) | const |
| QString omni::visual::Scene::currentCameraId | ( | ) | const |
Return current camera id.
| bool omni::visual::Scene::displayGrid | ( | ) | const |
Display line grid.
| bool omni::visual::Scene::displayInput | ( | ) | const |
Input is shown on canvas.
| ProjectorSelectionMode omni::visual::Scene::displayProjectedAreas | ( | ) | const |
Display projected areas.
| ProjectorSelectionMode omni::visual::Scene::displayProjectors | ( | ) | const |
Display projector frustra (selected projector is always shown)
| void omni::visual::Scene::drawGrid | ( | ) | const |
Draw grid with given scene size if it is to be displayed.
| EditMode omni::visual::Scene::editMode | ( | ) | const |
Return scene element.
Set mode whether to manip.
| void omni::visual::Scene::fromStream | ( | QDataStream & | _is | ) |
Deserialize from stream.
| float omni::visual::Scene::insideOutside | ( | ) | const |
Inside / outside transparency for 3D canvas view.
| MoveMode omni::visual::Scene::moveMode | ( | ) | const |
| RotateMode omni::visual::Scene::rotateMode | ( | ) | const |
| void omni::visual::Scene::setCurrentCameraId | ( | QString const & | _cameraId | ) |
Set id to current camera.
| void omni::visual::Scene::setDisplayGrid | ( | bool | _displayGrid | ) |
Turn displaying of grid on/off.
| void omni::visual::Scene::setDisplayInput | ( | bool | _displayInput | ) |
Turn displaying of input on canvas on/off.
| void omni::visual::Scene::setDisplayProjectedAreas | ( | ProjectorSelectionMode | _displayProjectedAreas | ) |
Turn displaying of projector areas on/off.
| void omni::visual::Scene::setDisplayProjectors | ( | ProjectorSelectionMode | _displayProjectors | ) |
Turn displaying of projectors on/off.
| void omni::visual::Scene::setEditMode | ( | EditMode | _editMode | ) |
Set mode which scene element is to be manipulated.
| void omni::visual::Scene::setInsideOutside | ( | float | _insideOutside | ) |
| void omni::visual::Scene::setMoveMode | ( | MoveMode | _moveMode | ) |
| void omni::visual::Scene::setRotateMode | ( | RotateMode | _rotateMode | ) |
| void omni::visual::Scene::setSize | ( | float | _size | ) |
Set scene size.
| void omni::visual::Scene::setUnit | ( | QString const & | _unit | ) |
Set unit from string prefix.
| void omni::visual::Scene::setUnit | ( | LengthUnit const & | _unit | ) |
Set unit from length unit type.
| void omni::visual::Scene::setWireframe | ( | float | _wireframe | ) |
| float omni::visual::Scene::size | ( | ) | const |
Scene size (min, max dimensions)
| void omni::visual::Scene::toStream | ( | QDataStream & | _os | ) | const |
Serialize to stream.
| LengthUnit const & omni::visual::Scene::unit | ( | ) | const |
Length unit for scene.
| void omni::visual::Scene::updateGrid | ( | ) |
Update grid.
| void omni::visual::Scene::updateLights | ( | ) |
Update light for use in OpenGL.
Setup light for use in OpenGL.
| float omni::visual::Scene::wireframe | ( | ) | const |
Opacity value for wireframe between 0.0 and 1.0.
Test for equality. ScreenSetup is ignored.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.6