version 3.3

VRS::PolyAttributePainter Class Reference

Abstract interface class for poly attribute painters. More...

#include <vrs/polyattributepainter.h>

Inheritance diagram for VRS::PolyAttributePainter:

VRS::AttributePainter VRS::Painter VRS::Handler VRS::RenderObj VRS::SharedObj VRS::Visitable VRS::SceneSpyPainter

List of all members.

Public Member Functions

virtual bool apply (Engine *, const PolyAttribute *, int index)=0
virtual bool unapply (Engine *, const PolyAttribute *, int index)=0
 VRS_TYPEINFO (PolyAttributePainter, AttributePainter)


Detailed Description

Abstract interface class for poly attribute painters.

Member Function Documentation

virtual bool VRS::PolyAttributePainter::apply ( Engine ,
const PolyAttribute ,
int  index 
) [pure virtual]

Implemented in VRS::SceneSpyPainter.

virtual bool VRS::PolyAttributePainter::unapply ( Engine ,
const PolyAttribute ,
int  index 
) [pure virtual]

'apply' is called when one attribute object is pushed. 'unapply' is called when an attribute object is popped. For one category, an arbitrary number of poly attribute objects can be stored in a context. The array position is given by the index. Painters for are invoked by rendering engines. Both methods return true, if the given attribute was successfully applied/unapplied.

Implemented in VRS::SceneSpyPainter.

VRS::PolyAttributePainter::VRS_TYPEINFO ( PolyAttributePainter  ,
AttributePainter   
)


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

Generated on Mon May 20 06:00:31 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact