Paints all the items to the screen or pick buffer. More...
#include <Painter.hpp>
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 Scene * | outline = NULL |
Paints all the items to the screen or pick buffer.
| 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.
1.6.3