gramods
|
The TiledView tiles up a view into sub tiles each containing a separate View. More...
#include <TiledView.hh>
Classes | |
struct | Impl |
Public Member Functions | |
void | renderFullPipeline (ViewSettings settings) override |
Appends local renderers to the view settings and forwards rendering to the sub views of this tiled view. More... | |
void | traverse (Visitor *visitor) override |
Propagates the specified visitor. More... | |
void | addTileLocation (gmCore::size4 c) |
Adds a location and span that is used when adding views. More... | |
void | addView (std::shared_ptr< View > view) |
Adds a view to the previously specified tile location. 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 TiledView tiles up a view into sub tiles each containing a separate View.
Example usage:
void gramods::gmGraphics::TiledView::addTileLocation | ( | gmCore::size4 | c | ) |
Adds a location and span that is used when adding views.
Format is [row col rowspan colspan] where row and col start at zero at top left corner.
XML-attribute: tileLocation
void gramods::gmGraphics::TiledView::addView | ( | std::shared_ptr< View > | view | ) |
Adds a view to the previously specified tile location.
XML-attribute: view
|
overridevirtual |
Appends local renderers to the view settings and forwards rendering to the sub views of this tiled view.
Reimplemented from gramods::gmGraphics::ViewBase.
|
overridevirtual |
Propagates the specified visitor.
Reimplemented from gramods::gmCore::Object.