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

Public Member Functions | |
| virtual ID | target () const |
| Target class whose objects can be painted. | |
| virtual bool | apply (Engine *, const PolyAttribute *, int) |
| virtual bool | unapply (Engine *, const PolyAttribute *, int) |
| VRS_TYPEINFO (SceneSpyPainter, PolyAttributePainter) | |
| virtual ID VRS::SceneSpyPainter::target | ( | ) | const [virtual] |
| virtual bool VRS::SceneSpyPainter::apply | ( | Engine * | , | |
| const PolyAttribute * | , | |||
| int | ||||
| ) | [virtual] |
Implements VRS::PolyAttributePainter.
| virtual bool VRS::SceneSpyPainter::unapply | ( | Engine * | , | |
| const PolyAttribute * | , | |||
| int | index | |||
| ) | [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.
Implements VRS::PolyAttributePainter.
| VRS::SceneSpyPainter::VRS_TYPEINFO | ( | SceneSpyPainter | , | |
| PolyAttributePainter | ||||
| ) |