version 3.3

VRS::GL2::AttributedShapePainter Class Reference

#include <vrs/opengl/gl2/attributedshapepainter.h>

Inheritance diagram for VRS::GL2::AttributedShapePainter:

VRS::ShapePainter VRS::Painter VRS::Handler VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 VRS_TYPEINFO (AttributedShapePainter, ShapePainter)
virtual ID target () const
 Target class whose objects can be painted.
virtual bool render (Engine *, const Shape *)


Member Function Documentation

VRS::GL2::AttributedShapePainter::VRS_TYPEINFO ( AttributedShapePainter  ,
ShapePainter   
)

virtual ID VRS::GL2::AttributedShapePainter::target (  )  const [virtual]

Target class whose objects can be painted.

Implements VRS::Painter.

virtual bool VRS::GL2::AttributedShapePainter::render ( Engine engine,
const Shape shape 
) [virtual]

A painter must be able to convert the shape description in commands suitable for the underlying rendering system. Thus, shape painters are specific for rendering systems. For example, see the OpenGL shape painters. This method returns true, if it actually could paint the given shape. If not, it returns false (e.g., if some parameters of the shape make it impossible for the painter to draw it - this will cause a call to a simplifier for that shape or to another more general painter for this kind of shapes).

Implements VRS::ShapePainter.


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

Generated on Mon May 21 06:00:32 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact