|
Omnidome
Fulldome Mapping Software Toolkit
|
A session consists of a canvas, a mapping, a list of tunings and one or several inputs. More...
#include <Session.h>

Public Types | |
| enum | Mode { Mode::SCREENSETUP, Mode::ARRANGE, Mode::WARP, Mode::BLEND, Mode::COLORCORRECTION, Mode::EXPORT, Mode::LIVE, Mode::NUM_MODES } |
| General mode of the User Interface. More... | |
| typedef omni::visual::Session | visualizer_type |
Public Member Functions | |
| Session () | |
| Default constructor. More... | |
| ~Session () | |
| proj::TuningList & | tunings () |
| Returns reference to projector tunings. More... | |
| proj::TuningList const & | tunings () const |
| Returns const reference to projector tunings. More... | |
| Mapping * | setMapping (Id const &_typeId) |
| Makes new mapping with given type Id. More... | |
| Mapping * | mapping () |
| Returns pointer to mapping. More... | |
| Mapping const * | mapping () const |
| Returns pointer to mapping (const version) More... | |
| InputList & | inputs () |
| Returns reference to list of inputs. More... | |
| InputList const & | inputs () const |
| Returns const reference to list of inputs. More... | |
| Canvas * | setCanvas (Id const &_typeId) |
| Makes new canvas with given type id and returns pointer if successful. More... | |
| Canvas * | canvas () |
| Return pointer to canvas. More... | |
| Canvas const * | canvas () const |
| Return pointer to canvas (const version) More... | |
| ScreenSetup & | screenSetup () |
| Return reference to current screen setup. More... | |
| ScreenSetup const & | screenSetup () const |
| Return const reference to current screen setup. More... | |
| Scene & | scene () |
| Return reference to export settings. More... | |
| Scene const & | scene () const |
| Return reference to export settings. More... | |
| BlendSettings & | blendSettings () |
| Return reference to blend settings. More... | |
| BlendSettings const & | blendSettings () const |
| Return reference to blend settings. More... | |
| ExportSettings & | exportSettings () |
| Return reference to export settings. More... | |
| ExportSettings const & | exportSettings () const |
| Return reference to export settings. More... | |
| Mode | mode () const |
| Return current mode. More... | |
| void | setMode (Mode) |
| Set mode of this session. More... | |
| bool | hasOutput () const |
| A session has an output when there is an input, a canvas and a mapping. More... | |
| void | renderToFile (QString const &_filename) |
| Export calibration data of session to a file. More... | |
| void | save (QString const &_filename) const |
| Save session to file. More... | |
| void | load (QString const &_filename) |
| Load session to file. More... | |
| void | fromStream (QDataStream &) |
| Deserialize from stream. More... | |
| void | toStream (QDataStream &) const |
| Serialize to stream. More... | |
| visualizer_type * | makeVisualizer () |
| Make visualizer if it is not instantiated yet. More... | |
| visualizer_type * | visualizer () |
| visualizer_type const * | visualizer () const |
Private Attributes | |
| proj::TuningList | tunings_ |
| List with all projector tunings. More... | |
| std::unique_ptr< Mapping > | mapping_ |
| Owning pointer for mapping. More... | |
| InputList | inputs_ |
| List with all inputs (e.g. images, videos etc) More... | |
| std::unique_ptr< Canvas > | canvas_ |
| Owning pointer for canvas. More... | |
| ScreenSetup | screenSetup_ |
| Current screen setup. More... | |
| Mode | mode_ = Mode::SCREENSETUP |
| Current session mode. More... | |
| visual::Scene | scene_ |
| BlendSettings | blendSettings_ |
| ExportSettings | exportSettings_ |
| std::unique_ptr< visualizer_type > | viz_ |
Friends | |
| bool | operator== (Session const &, Session const &) |
| Test for equality. ScreenSetup is ignored. More... | |
A session consists of a canvas, a mapping, a list of tunings and one or several inputs.
|
strong |
| omni::Session::Session | ( | ) |
Default constructor.
| BlendSettings & omni::Session::blendSettings | ( | ) |
Return reference to blend settings.
| BlendSettings const & omni::Session::blendSettings | ( | ) | const |
Return reference to blend settings.
| Canvas * omni::Session::canvas | ( | ) |
Return pointer to canvas.
| Canvas const * omni::Session::canvas | ( | ) | const |
Return pointer to canvas (const version)
| ExportSettings & omni::Session::exportSettings | ( | ) |
Return reference to export settings.
| ExportSettings const & omni::Session::exportSettings | ( | ) | const |
Return reference to export settings.
| void omni::Session::fromStream | ( | QDataStream & | _is | ) |
Deserialize from stream.
Reset visualizer
| bool omni::Session::hasOutput | ( | ) | const |
A session has an output when there is an input, a canvas and a mapping.
| InputList & omni::Session::inputs | ( | ) |
Returns reference to list of inputs.
| InputList const & omni::Session::inputs | ( | ) | const |
Returns const reference to list of inputs.
| void omni::Session::load | ( | QString const & | _filename | ) |
| Session::visualizer_type * omni::Session::makeVisualizer | ( | ) |
Make visualizer if it is not instantiated yet.
| Mapping * omni::Session::mapping | ( | ) |
Returns pointer to mapping.
| Mapping const * omni::Session::mapping | ( | ) | const |
Returns pointer to mapping (const version)
| Session::Mode omni::Session::mode | ( | ) | const |
Return current mode.
| void omni::Session::renderToFile | ( | QString const & | _filename | ) |
| void omni::Session::save | ( | QString const & | _filename | ) | const |
| Scene & omni::Session::scene | ( | ) |
Return reference to export settings.
| Scene const & omni::Session::scene | ( | ) | const |
Return reference to export settings.
| ScreenSetup & omni::Session::screenSetup | ( | ) |
Return reference to current screen setup.
| ScreenSetup const & omni::Session::screenSetup | ( | ) | const |
Return const reference to current screen setup.
Makes new canvas with given type id and returns pointer if successful.
Attach scene to canvas
Makes new mapping with given type Id.
| void omni::Session::setMode | ( | Mode | _mode | ) |
Set mode of this session.
| void omni::Session::toStream | ( | QDataStream & | _os | ) | const |
Serialize to stream.
| proj::TuningList & omni::Session::tunings | ( | ) |
Returns reference to projector tunings.
| proj::TuningList const & omni::Session::tunings | ( | ) | const |
Returns const reference to projector tunings.
| Session::visualizer_type * omni::Session::visualizer | ( | ) |
| Session::visualizer_type const * omni::Session::visualizer | ( | ) | const |
Test for equality. ScreenSetup is ignored.
|
private |
|
private |
Owning pointer for canvas.
|
private |
|
private |
List with all inputs (e.g. images, videos etc)
|
private |
Owning pointer for mapping.
|
private |
Current session mode.
|
private |
|
private |
Current screen setup.
|
private |
List with all projector tunings.
|
private |
1.8.6