Painter Class Reference
[GUI]

Paints all the items to the screen or pick buffer. More...

#include <Painter.hpp>

Inheritance diagram for Painter:
Traverser

List of all members.

Public Member Functions

 Painter (Canvas *canvas, Scene *scene)
void addManipulator (Manipulator *manipulator)
virtual void start ()
void setMode (GLenum mode)

Protected Member Functions

virtual void onApplicable (Node *node, Applicable *applicable)
virtual void onDrawable (Node *node, Drawable *drawable)

Private Attributes

GLenum mode
vector< Manipulator * > manipulators

Static Private Attributes

static bool tried = false
static Sceneoutline = NULL

Detailed Description

Paints all the items to the screen or pick buffer.

Warning:
Does not flush to the buffer.

Member Function Documentation

void addManipulator ( Manipulator m  )  [inline]

Stores a manipulator to paint for selected items.

void setMode ( GLenum  mode  )  [inline]

Sets the rendering mode.

void start (  )  [virtual]

Paints all the items in a scene.

Reimplemented from Traverser.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:36 2010 for Gander by  doxygen 1.6.3