#include <GeometryNode.h>


Public Member Functions | |
| GeometryNode (const QString &name, ParameterGroup *parameterRoot, const QString &outputGeometryName="Geometry") | |
| Constructor of the GeometryNode class. | |
| virtual | ~GeometryNode () |
| Destructor of the GeometryNode class. | |
| virtual Ogre::SceneNode * | getSceneNode () |
| Returns the scene node that contains scene objects created or modified by this node. | |
| double | getBoundingSphereRadius () const |
| Returns the radius of the bounding sphere surrounding this object. | |
Protected Attributes | |
| QString | m_outputGeometryName |
| The name of the geometry output parameter. | |
Private Member Functions | |
| void | createLocatorGeometry () |
| Attaches a locator geometry to the geometry node's scene node. | |
| GeometryNode::GeometryNode | ( | const QString & | name, | |
| ParameterGroup * | parameterRoot, | |||
| const QString & | outputGeometryName = "Geometry" | |||
| ) |
Constructor of the GeometryNode class.
Constructors and Destructors.
| name | The name for the new node. | |
| parameterRoot | A copy of the parameter tree specific for the type of the node. | |
| outputGeometryName | The name of the geometry output parameter. |
| name | The name for the new node. | |
| parameterRoot | A copy of the parameter tree specific for the type of the node. | |
| outputGeometryName | The name of the geometry output parameter. |
| GeometryNode::~GeometryNode | ( | ) | [virtual] |
Destructor of the GeometryNode class.
Defined virtual to guarantee that the destructor of a derived class will be called if the instance of the derived class is saved in a variable of its parent class type.
| Ogre::SceneNode * GeometryNode::getSceneNode | ( | ) | [virtual] |
Returns the scene node that contains scene objects created or modified by this node.
Public Functions.
Reimplemented from ViewNode.
| double GeometryNode::getBoundingSphereRadius | ( | ) | const |
Returns the radius of the bounding sphere surrounding this object.
| void GeometryNode::createLocatorGeometry | ( | ) | [private] |
Attaches a locator geometry to the geometry node's scene node.
Private Functions.
QString GeometryNode::m_outputGeometryName [protected] |
The name of the geometry output parameter.
1.5.9