GeometryNode Class Reference

Base class for all nodes that produce 3D geometry. More...

#include <GeometryNode.h>

Inheritance diagram for GeometryNode:

Inheritance graph
[legend]
Collaboration diagram for GeometryNode:

Collaboration graph
[legend]

List of all members.

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.


Detailed Description

Base class for all nodes that produce 3D geometry.

Constructor & Destructor Documentation

GeometryNode::GeometryNode ( const QString &  name,
ParameterGroup parameterRoot,
const QString &  outputGeometryName = "Geometry" 
)

Constructor of the GeometryNode class.

Constructors and Destructors.

Parameters:
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.
Constructor of the GeometryNode class.

Parameters:
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.


Member Function Documentation

Ogre::SceneNode * GeometryNode::getSceneNode (  )  [virtual]

Returns the scene node that contains scene objects created or modified by this node.

Public Functions.

Returns:
The scene node containing objects created or modified by this node.
Returns the scene node that contains scene objects created or modified by this node.

Returns:
The scene node containing objects created or modified by this node.

Reimplemented from ViewNode.

double GeometryNode::getBoundingSphereRadius (  )  const

Returns the radius of the bounding sphere surrounding this object.

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.


Member Data Documentation

The name of the geometry output parameter.


The documentation for this class was generated from the following files:

Generated on Wed Feb 24 15:01:00 2010 for Frapper by  doxygen 1.5.9