25 #ifndef RENDERTRAVERSER_H_ 26 #define RENDERTRAVERSER_H_ RenderTraverser(RenderState *renderState)
virtual void visitPostGroup(Group *node)
virtual void visitCamera(Camera *node)
Base class for all cameras (composite node, abstract).
A light to be applied to all nodes of its sub-tree (composite node).
virtual void visitPostLight(Light *node)
virtual void visitTransformation(Transformation *node)
A group node to be used as root of a sub-tree of nodes (composite node).
A traverser that renders the scene graph (visitor pattern).
Base class for all traversers (visitor pattern, abstract).
virtual void visitLight(Light *node)
A shape node that contains geometry to be rendered (leaf node).
virtual void visitPostTransformation(Transformation *node)
virtual void visitPostCamera(Camera *node)
The central render state that collects information about the current shader, transformations,...
virtual void visitShape(Shape *node)
Base class for all traversers (visitor pattern, abstract).
virtual ~RenderTraverser()
virtual void visitGroup(Group *node)