gramods
Loading...
Searching...
No Matches
gramods::gmGraphics::MixingView Class Reference

This view mixes the graphics from two or more other views. More...

#include <MixingView.hh>

Inheritance diagram for gramods::gmGraphics::MixingView:
Collaboration diagram for gramods::gmGraphics::MixingView:

Classes

struct  Impl

Public Member Functions

void renderFullPipeline (ViewSettings settings) override
 Appends local scene graph nodes to the view settings, forwards rendering to the sub views, and mixes the results.
void traverse (Visitor *visitor) override
 Propagates the specified visitor.
void setMixType (std::string)
 Set type of mixing.
void addView (std::shared_ptr< View >)
 Add a view to mix.
Public Member Functions inherited from gramods::gmGraphics::ViewBase
void addNode (std::shared_ptr< Node > node)
 Adds a scene graph to the view.
void setViewpoint (std::shared_ptr< Viewpoint > viewpoint)
 Sets the viewpoint to use in the views rendered by this ViewBase.
void addViewpoint (std::shared_ptr< Viewpoint > viewpoint)
 Adds a viewpoint to use in the views rendered by this ViewBase.
void traverse (Visitor *visitor) override
 Propagates the specified visitor.
Public Member Functions inherited from gramods::gmCore::Object
 Object ()
 Initializes internal data.
virtual ~Object ()
 Cleaning up internal data.
virtual void initialize ()
 Called to initialize the Object.
virtual void accept (Visitor *visitor)
 Calls the visitors apply method with this as argument.
bool isInitialized ()
 Returns true if the Object is initialized.

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.
Protected Attributes inherited from gramods::gmGraphics::ViewBase
Node::list nodes
std::vector< std::shared_ptr< Viewpoint > > viewpoints

Detailed Description

This view mixes the graphics from two or more other views.

Member Function Documentation

◆ addView()

void gramods::gmGraphics::MixingView::addView ( std::shared_ptr< View > v)

Add a view to mix.

XML-attribute: view

◆ renderFullPipeline()

void gramods::gmGraphics::MixingView::renderFullPipeline ( ViewSettings settings)
overridevirtual

Appends local scene graph nodes to the view settings, forwards rendering to the sub views, and mixes the results.

Reimplemented from gramods::gmGraphics::ViewBase.

◆ setMixType()

void gramods::gmGraphics::MixingView::setMixType ( std::string str)

Set type of mixing.

Default is average.

XML-attribute: mixType

See also
MixingShaders

◆ traverse()

void gramods::gmGraphics::MixingView::traverse ( Visitor * visitor)
overridevirtual

Propagates the specified visitor.

See also
Object::Visitor

Reimplemented from gramods::gmCore::Object.


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