The Node class represents a node in a scene graph. A scene graph is a hierarchicaldata stucture used to organize and manage 3D objects in a scene. More...
#include <node.h>
Public Attributes | |
| std::string | name |
| This memeber stores the name of the node. | |
| std::shared_ptr< Mesh > | mesh |
| This member is a shared pointer to a Mesh object, which means the node has a 3D object with its geometry defined by a mesh. | |
| std::shared_ptr< std::vector< std::shared_ptr< Node > > > | children |
| This member is a dynamic array of shared pointers to the child Node objects. This allows the node to have a tree-like hierarchical structure. | |
| std::shared_ptr< Matrix4f > | transform |
| This member is a shared pointer to a Matrix4f object. This matrix represents the transformation(position, rotation, scale) applied to the current node and its descendants. | |
| std::shared_ptr< BoundingBox > | boundingBox |
| This member is a shared pointer to a BoundingBox. | |
| std::shared_ptr< Material > | material |
| This member is a shared pointer to a Mateiral object, which means the node can have its own material properties defining its appearance(color, texture, etc). | |
| std::shared_ptr< Geometry > | geometry |
| This member is a shared pointer to a Geometry object, which maybe used for specific geometric data relevant to the node, potentially associated with the mesh or for other rendering purposes. | |
| std::shared_ptr< Query > | query |
| This member is a shared pointer to a Query object, and it is some type of query operation performed on the node or its descendants. | |
Additional Inherited Members | |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
The Node class represents a node in a scene graph. A scene graph is a hierarchicaldata stucture used to organize and manage 3D objects in a scene.
| std::shared_ptr<BoundingBox> cil::Node::boundingBox |
This member is a shared pointer to a BoundingBox.
| std::shared_ptr<std::vector<std::shared_ptr<Node> > > cil::Node::children |
This member is a dynamic array of shared pointers to the child Node objects. This allows the node to have a tree-like hierarchical structure.
| std::shared_ptr<Geometry> cil::Node::geometry |
This member is a shared pointer to a Geometry object, which maybe used for specific geometric data relevant to the node, potentially associated with the mesh or for other rendering purposes.
| std::shared_ptr<Material> cil::Node::material |
This member is a shared pointer to a Mateiral object, which means the node can have its own material properties defining its appearance(color, texture, etc).
| std::shared_ptr<Mesh> cil::Node::mesh |
This member is a shared pointer to a Mesh object, which means the node has a 3D object with its geometry defined by a mesh.
| std::string cil::Node::name |
This memeber stores the name of the node.
| std::shared_ptr<Query> cil::Node::query |
This member is a shared pointer to a Query object, and it is some type of query operation performed on the node or its descendants.