25 #ifndef INFOTRAVERSER_H_ 26 #define INFOTRAVERSER_H_ virtual void visitCamera(Camera *node)
virtual void visitTransformation(Transformation *node)
Base class for all cameras (composite node, abstract).
virtual void visitLightPosition(LightPosition *node)
InfoTraverser(RenderState *renderState)
A light to be applied to all nodes of its sub-tree (composite node).
A group node to be used as root of a sub-tree of nodes (composite node).
Base class for all traversers (visitor pattern, abstract).
A traverser that gathers information about the scene graph (visitor pattern).
A shape node that contains geometry to be rendered (leaf node).
virtual void visitShape(Shape *node)
The central render state that collects information about the current shader, transformations,...
virtual void visitLight(Light *node)
Base class for all traversers (visitor pattern, abstract).
int getNTriangles() const
Internal definitions required by most classes.
virtual void visitGroup(Group *node)
A light position node to define the position of an associated light within the scene graph (leaf node...