gramods
|
This view provides a projection of the renderers using the specified frustum projection from the viewpoint's point of view. More...
#include <PosedPlanarView.hh>
Classes | |
struct | Impl |
Public Member Functions | |
void | renderFullPipeline (ViewSettings settings) override |
Dispatches specified renders, both method argument and class members. More... | |
void | setFieldOfView (gmCore::angle2 fov) |
Sets the horizontal and vertical field of view, in radians. 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 |
This view provides a projection of the renderers using the specified frustum projection from the viewpoint's point of view.
|
overridevirtual |
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 from gramods::gmGraphics::ViewBase.
void gramods::gmGraphics::PosedPlanarView::setFieldOfView | ( | gmCore::angle2 | fov | ) |
Sets the horizontal and vertical field of view, in radians.
If one dimension is set to -1 then that dimension is automatically controlled to fit the ratio of the viewport. Default is 1 horizontal.
XML-attribute: fieldOfView