gramods
Public Member Functions | Static Public Attributes | List of all members
gramods::gmGraphics::FovPlanarView Class Reference

This view provides skewed frustum projection of the renderers. More...

#include <FovPlanarView.hh>

Inheritance diagram for gramods::gmGraphics::FovPlanarView:
Inheritance graph
[legend]
Collaboration diagram for gramods::gmGraphics::FovPlanarView:
Collaboration graph
[legend]

Public Member Functions

void renderFullPipeline (ViewSettings settings) override
 Dispatches specified renders, both method argument and class members. More...
 
void setClipPlanes (gmCore::float4 p)
 Sets the clip planes, left, right, bottom, top, in x, y coordinates at distance 1. More...
 
void setClipAngles (gmCore::angle4 p)
 Angles between forward direction and the clip planes left, right, bottom and top, in radians. More...
 
void setOrientation (Eigen::Quaternionf q)
 Sets the orientation of the View. More...
 
- Public Member Functions inherited from gramods::gmGraphics::ViewBase
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...
 
bool isInitialized ()
 Returns true if the Object is initialized. More...
 

Static Public Attributes

static gramods::gmCore::OFactory::OFactoryInformation _gm_ofi
 
- Static Public Attributes inherited from gramods::gmGraphics::View
static gramods::gmCore::OFactory::OFactoryInformation _gm_ofi
 
- Static Public Attributes inherited from gramods::gmGraphics::ViewBase
static gramods::gmCore::OFactory::OFactoryInformation _gm_ofi
 

Additional Inherited Members

- Protected Member Functions inherited from gramods::gmGraphics::ViewBase
void populateViewSettings (ViewSettings &settings)
 Adds the dispatcher's local renderers and viewpoint, if set. More...
 
- Protected Attributes inherited from gramods::gmGraphics::ViewBase
Node::list nodes
 
std::vector< std::shared_ptr< Viewpoint > > viewpoints
 

Detailed Description

This view provides skewed frustum projection of the renderers.

Member Function Documentation

◆ renderFullPipeline()

void gramods::gmGraphics::FovPlanarView::renderFullPipeline ( ViewSettings  settings)
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.

◆ setClipAngles()

gramods::gmCore::OFactory::ParamSetterInsert gm_ofi_FovPlanarView_param_clipAngles &FovPlanarView::_gm_ofi(& gramods::gmGraphics::FovPlanarView::setClipAngles ( gmCore::angle4  p)
inline

Angles between forward direction and the clip planes left, right, bottom and top, in radians.

Left and bottom angles are positive left-wise and downwards, respectively, while right and top angles are positive right-wise and upwards, respectively.

XML-attribute: clipAngles

See also
operator>>(std::istream &, gmCore::angle &)

◆ setClipPlanes()

gramods::gmCore::OFactory::ParamSetterInsert gm_ofi_FovPlanarView_param_clipPlanes &FovPlanarView::_gm_ofi(& gramods::gmGraphics::FovPlanarView::setClipPlanes ( gmCore::float4  p)
inline

Sets the clip planes, left, right, bottom, top, in x, y coordinates at distance 1.

XML-attribute: clipPlanes

◆ setOrientation()

gramods::gmCore::OFactory::ParamSetterInsert gm_ofi_FovPlanarView_param_orientation &FovPlanarView::_gm_ofi(& gramods::gmGraphics::FovPlanarView::setOrientation ( Eigen::Quaternionf  q)
inline

Sets the orientation of the View.

XML-attribute: orientation

See also
gramods::operator>>(std::istream &, Eigen::Quaternionf &)

The documentation for this class was generated from the following files: