| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/polyattributepainter.h>

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) | |
| 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 | ||||
| ) |