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.
 

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.

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.


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