20#include "../object/object.h"
21#include "../variant/types.h"
22#include "../primitive/types.h"
35 std::shared_ptr<std::vector<NodePtr>>
children;
The Node class represents a node in a scene graph. A scene graph is a hierarchicaldata stucture used ...
Definition node.h:31
BoundingBoxPtr boundingBox
This member is a shared pointer to a BoundingBox.
Definition node.h:37
Matrix4fPtr transform
This member is a shared pointer to a Matrix4f object. This matrix represents the transformation(posit...
Definition node.h:36
QueryPtr query
This member is a shared pointer to a Query object, and it is some type of query operation performed o...
Definition node.h:40
MaterialPtr material
This member is a shared pointer to a Mateiral object, which means the node can have its own material ...
Definition node.h:38
MeshPtr mesh
This member is a shared pointer to a Mesh object, which means the node has a 3D object with its geome...
Definition node.h:34
GeometryPtr geometry
This member is a shared pointer to a Geometry object, which maybe used for specific geometric data re...
Definition node.h:39
std::string name
This memeber stores the name of the node.
Definition node.h:33
std::shared_ptr< std::vector< NodePtr > > children
This member is a dynamic array of shared pointers to the child Node objects. This allows the node to ...
Definition node.h:35
std::shared_ptr< Mesh > MeshPtr
Definition types.h:32
std::shared_ptr< BoundingBox > BoundingBoxPtr
Definition types.h:36
BoundingBoxPtr getBoundingBox(const GeometryPtr &geometry, const std::string &attribName="positions")
std::shared_ptr< Geometry > GeometryPtr
Definition types.h:32
std::shared_ptr< Node > NodePtr
Definition types.h:36
std::shared_ptr< Matrix4f > Matrix4fPtr
Definition types.h:68
std::shared_ptr< Query > QueryPtr
Definition types.h:56
std::shared_ptr< Material > MaterialPtr
Definition types.h:44