Developer Documentation
ACG::RenderObjectModifier Class Referenceabstract

Interface for modifying render objects. More...

#include <OpenFlipper/libs_required/ACG/GL/RenderObject.hh>

Inheritance diagram for 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. More...
 

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 540 of file RenderObject.hh.

Constructor & Destructor Documentation

◆ RenderObjectModifier()

ACG::RenderObjectModifier::RenderObjectModifier ( const std::string &  _name = "")
inline

Definition at line 543 of file RenderObject.hh.

◆ ~RenderObjectModifier()

virtual ACG::RenderObjectModifier::~RenderObjectModifier ( )
inlinevirtual

Definition at line 544 of file RenderObject.hh.

Member Function Documentation

◆ apply()

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

apply the modifier

Parameters
_objmodifiable render-object

Implemented in ACG::SceneGraph::ClippingNode::ClippingObjectModifier.

◆ name()

const std::string & ACG::RenderObjectModifier::name ( ) const
inline

Get name of the modifier.

Definition at line 554 of file RenderObject.hh.

Member Data Documentation

◆ name_

std::string ACG::RenderObjectModifier::name_
private

Definition at line 557 of file RenderObject.hh.


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