#include <PhxGraphicsEngine.h>
Inheritance diagram for Phx::GraphicsEngine::Node:

Public Member Functions | |
| virtual Ptr< Node > | newNode (const String &name="")=0 |
| Creates a new Node interface that is a sub-node of this interface. | |
| virtual Ptr< PointLight > | newPointLight (const String &name="")=0 |
| virtual Ptr< DirectionalLight > | newDirectionalLight (const String &name="")=0 |
| virtual Ptr< SpotLight > | newSpotLight (const String &name="")=0 |
| virtual Ptr< PointLight > | newPointLight (const Ptr< const PointLightDescription > &description, const String &name="")=0 |
| virtual Ptr< DirectionalLight > | newDirectionalLight (const Ptr< const DirectionalLightDescription > &description, const String &name="")=0 |
| virtual Ptr< SpotLight > | newSpotLight (const Ptr< const SpotLightDescription > &description, const String &name="")=0 |
| virtual Ptr< SkyBox > | newSkyBox (const Ptr< const GeometryDescription > &description, const String &name="")=0 |
| virtual Ptr< BillboardGroup > | newBillboardGroup (const Ptr< const BillboardGroupDescription > &description, const String &name="")=0 |
| virtual Ptr< Geometry > | newGeometry (const String &name="")=0 |
| Creates a new Geometry interface attached to this node. | |
| virtual Ptr< Geometry > | newGeometry (const Ptr< const GeometryDescription > &description, const String &name="")=0 |
| Creates a new Geometry interface using the description of geometry given. | |
| virtual Ptr< Camera > | newCamera (const String &cameraName)=0 |
| Constructs a new camera attached to this node. | |
| virtual Ptr< TerrainGeometry > | newTerrainGeometry (const Ptr< const TerrainGeometryDescription > &description, const String &terrainName)=0 |
| Creates a new TerrainGeometry attached to this node. | |
| virtual void | position (const Vector3 &position)=0 |
| Sets the position of this node relative to its parent. | |
| virtual void | orientation (const Quaternion &orientation)=0 |
| Sets the orientation of this node relative to its parent. | |
| const Vector3 & | position (void) const |
| Returns the position of this node in the parent's coordinate frame. | |
| const Quaternion & | orientation (void) const |
| Returns the orientation of this node relative to the parent frame. | |
| const String & | name (void) const |
| Returns the name of this node, which was set when the Node was created. | |
Protected Member Functions | |
| void | setName (const String &name) |
| void | setPosition (const Vector3 &position) |
| void | setOrientation (const Quaternion &orientation) |
The node interface allows the client to manipulate a coordinate frame to which other frames and/or Entity's may be attached.
The scene graph is a hierarchical structure containing the scene elements. Each scene element that has a position/orientation is attached to a Node, which may be embedded within other Nodes. Each Node imparts its translation and rotation to all of its children and sub-nodes.
|
|
Constructs a new camera attached to this node.
|
|
||||||||||||
|
Creates a new Geometry interface using the description of geometry given.
|
|
|
Creates a new Geometry interface attached to this node. The client may then set a mesh name in the Geometry interface to load a geometric model and display it with this node.
|
|
|
Creates a new Node interface that is a sub-node of this interface. The returned interface is independent of the parent node. They are associated internally, but the interfaces may be manipulated by different clients safely (though clients should never share a single Node interface!)
|
|
||||||||||||
|
Creates a new TerrainGeometry attached to this node.
|
|
|
Sets the orientation of this node relative to its parent.
|
|
|
Sets the position of this node relative to its parent.
|
1.4.2