version 3.3

VRS::SceneSpyPainter Class Reference

#include <vrs/sg/scenespypainter.h>

Inheritance diagram for VRS::SceneSpyPainter:

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

List of all members.

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)


Member Function Documentation

virtual ID VRS::SceneSpyPainter::target (  )  const [virtual]

Target class whose objects can be painted.

Implements VRS::Painter.

virtual bool VRS::SceneSpyPainter::apply ( Engine ,
const PolyAttribute ,
int   
) [virtual]

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   
)


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

Generated on Sun May 19 06:00:43 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact