gramods
|
The RemapperView remaps another view from the mapping expressed by one CoordinatesMapper into the mapping expressed by another, in a single step. More...
#include <RemapperView.hh>
Classes | |
struct | Impl |
Public Member Functions | |
void | renderFullPipeline (ViewSettings settings) override |
Appends local renderers to the view settings, forwards rendering to the sub views and mixes the results. More... | |
void | traverse (Visitor *visitor) override |
Propagates the specified visitor. More... | |
void | addView (std::shared_ptr< View >) |
Adds a view to mask with chroma key. More... | |
void | setFrom (std::shared_ptr< CoordinatesMapper >) |
Sets the mapper to remap from, describing the mapping of the source, the input. More... | |
void | setTo (std::shared_ptr< CoordinatesMapper >) |
Sets the mapper to remap to, describing the mapping of the target, the result. More... | |
void | setViewOffset (float) |
Sets an offset for the view position. More... | |
void | setSphereRadius (float) |
Sets a sphere radius for the remapping. More... | |
void | setOrientation (gmCore::angle2) |
Sets an orientation offset for the remapping. More... | |
![]() | |
void | addNode (std::shared_ptr< Node > node) |
Adds a scenegraph to the view. More... | |
void | setViewpoint (std::shared_ptr< Viewpoint > viewpoint) |
Sets the viewpoint to use in the views rendered by this ViewBase. More... | |
void | addViewpoint (std::shared_ptr< Viewpoint > viewpoint) |
Adds a viewpoint to use in the views rendered by this ViewBase. More... | |
void | traverse (Visitor *visitor) override |
Propagates the specified visitor. More... | |
![]() | |
Object () | |
Initializes internal data. More... | |
virtual | ~Object () |
Cleaning up internal data. More... | |
virtual void | initialize () |
Called to initialize the Object. More... | |
virtual void | accept (Visitor *visitor) |
Calls the visitors apply method with this as argument. More... | |
bool | isInitialized () |
Returns true if the Object is initialized. More... | |
Static Public Attributes | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
![]() | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
![]() | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Additional Inherited Members | |
![]() | |
void | populateViewSettings (ViewSettings &settings) |
Adds the dispatcher's local renderers and viewpoint, if set. More... | |
![]() | |
Node::list | nodes |
std::vector< std::shared_ptr< Viewpoint > > | viewpoints |
The RemapperView remaps another view from the mapping expressed by one CoordinatesMapper into the mapping expressed by another, in a single step.
void gramods::gmGraphics::RemapperView::addView | ( | std::shared_ptr< View > | view | ) |
Adds a view to mask with chroma key.
XML-attribute: view
|
overridevirtual |
Appends local renderers to the view settings, forwards rendering to the sub views and mixes the results.
Reimplemented from gramods::gmGraphics::ViewBase.
void gramods::gmGraphics::RemapperView::setFrom | ( | std::shared_ptr< CoordinatesMapper > | from | ) |
Sets the mapper to remap from, describing the mapping of the source, the input.
XML-attribute: from
void gramods::gmGraphics::RemapperView::setOrientation | ( | gmCore::angle2 | a | ) |
Sets an orientation offset for the remapping.
XML-attribute: orientation
void gramods::gmGraphics::RemapperView::setSphereRadius | ( | float | r | ) |
Sets a sphere radius for the remapping.
This component does not make intersection or 3D rendering, so this number will be used together with viewOffset to calculate a sphere orientation. Default is 1.0.
XML-attribute: sphereRadius
void gramods::gmGraphics::RemapperView::setTo | ( | std::shared_ptr< CoordinatesMapper > | to | ) |
Sets the mapper to remap to, describing the mapping of the target, the result.
XML-attribute: to
void gramods::gmGraphics::RemapperView::setViewOffset | ( | float | q | ) |
Sets an offset for the view position.
This component does not make intersection or 3D rendering, so this number will be used together with sphereRadius to calculate a sphere orientation. Default is 0.0;
XML-attribute: viewOffset
|
overridevirtual |
Propagates the specified visitor.
Reimplemented from gramods::gmCore::Object.