|
gramods
|
The common base for nodes taking renderers for dispatching rendering jobs. More...
#include <ViewBase.hh>


Classes | |
| struct | ViewSettings |
| Package of settings affecting the rendering. More... | |
Public Member Functions | |
| virtual void | renderFullPipeline (ViewSettings settings) |
| Dispatches specified renders, both method argument and class members. 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... | |
Public Member Functions inherited from gramods::gmCore::Object | |
| 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... | |
| virtual std::string | getDefaultKey () |
| Returns the default key for the Object when automatically instantiated in a Configuration, i.e. More... | |
| bool | isInitialized () |
| Returns true if the Object is initialized. More... | |
Static Public Attributes | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Protected Member Functions | |
| void | populateViewSettings (ViewSettings &settings) |
| Adds the dispatcher's local renderers and viewpoint, if set. More... | |
Protected Attributes | |
| Node::list | nodes |
| std::vector< std::shared_ptr< Viewpoint > > | viewpoints |
The common base for nodes taking renderers for dispatching rendering jobs.
|
inline |
Adds a scenegraph to the view.
|
inline |
|
protected |
Adds the dispatcher's local renderers and viewpoint, if set.
Call this from overloaded renderFullPipeline.
|
virtual |
Dispatches specified renders, both method argument and class members.
The default implementation calls the renderers but with a default Camera, and should be overloaded by sub classes to implement their respective effects.
Reimplemented in gramods::gmGraphics::MultiscopicView, gramods::gmGraphics::Window, gramods::gmGraphics::ViewTexture, gramods::gmGraphics::ViewMixView, gramods::gmGraphics::TiledView, gramods::gmGraphics::TextureWarpedView, gramods::gmGraphics::SaveView, gramods::gmGraphics::RemapperView, gramods::gmGraphics::PosedSphericalView, gramods::gmGraphics::PosedPlanarView, gramods::gmGraphics::HmdView, gramods::gmGraphics::FovPlanarView, and gramods::gmGraphics::ChromaKeyView.
|
inline |
Sets the viewpoint to use in the views rendered by this ViewBase.
|
overridevirtual |
Propagates the specified visitor.
Reimplemented from gramods::gmCore::Object.
Reimplemented in gramods::gmGraphics::Window, gramods::gmGraphics::ViewTexture, and gramods::gmGraphics::ViewMixView.