Developer Documentation
ACG::SceneGraph::ACG::RenderObjectModifier Class Referenceabstract

Interface for modifying render objects. More...

Inheritance diagram for ACG::SceneGraph::ACG::RenderObjectModifier:
ACG::SceneGraph::ClippingNode::ClippingObjectModifier

Public Member Functions

 RenderObjectModifier (const std::string &_name="")
 
virtual void apply (RenderObject *_obj)=0
 apply the modifier More...
 
const std::string & name () const
 Get name of the modifier.
 
 RenderObjectModifier (const std::string &_name="")
 
virtual void apply (RenderObject *_obj)=0
 apply the modifier More...
 
const std::string & name () const
 Get name of the modifier.
 

Private Attributes

std::string name_
 

Detailed Description

Interface for modifying render objects.

This class has to be implemented by a user, and could be set to nodes that allow modification of render-objects. The modifier is then applied directly before adding an object to a renderer. It allows low-level access to all settings in a render-objects.

Definition at line 539 of file MeshNode2T.cc.

Member Function Documentation

virtual void ACG::SceneGraph::ACG::RenderObjectModifier::apply ( RenderObject _obj)
pure virtual

apply the modifier

Parameters
_objmodifiable render-object
virtual void ACG::SceneGraph::ACG::RenderObjectModifier::apply ( RenderObject _obj)
pure virtual

apply the modifier

Parameters
_objmodifiable render-object

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