gramods
|
The scenegraph node base. More...
#include <Node.hh>
Classes | |
struct | NearFarVisitor |
Visitor that extracts the optimal near and far planes for a scenegraph. More... | |
struct | RenderVisitor |
Visitor that renders a scenegraph to the currently active viewport. More... | |
struct | TransformStackVisitor |
Base for Visitor:s that need to track the space transform through traversal. More... | |
Public Types | |
typedef std::vector< std::shared_ptr< Node > > | list |
Public Member Functions | |
virtual std::vector< float > | getIntersections (const IntersectionLine &line) |
Check and return intersections between the provided line and the shape represented by this node. More... | |
virtual std::string | getDefaultKey () override |
Returns the default key, in Configuration, for the Object. More... | |
![]() | |
Object () | |
Initializes internal data. More... | |
virtual | ~Object () |
Cleaning up internal data. More... | |
virtual void | initialize () |
Called to initialize the Object. More... | |
virtual void | accept (Visitor *visitor) |
Calls the visitors apply method with this as argument. More... | |
virtual void | traverse (Visitor *visitor) |
Calls the child Object's accept method, if such exist. More... | |
bool | isInitialized () |
Returns true if the Object is initialized. More... | |
The scenegraph node base.
|
inlineoverridevirtual |
Returns the default key, in Configuration, for the Object.
Reimplemented from gramods::gmCore::Object.
|
inlinevirtual |
Check and return intersections between the provided line and the shape represented by this node.
Reimplemented in gramods::gmGraphics::ObjRenderer.