Kinetic Visualization
 All Classes Functions Variables Pages
Public Member Functions | Protected Attributes
INode Class Reference

List of all members.

Public Member Functions

 INode ()
 INode (Geometry *geo)
int GetUsed () const
int AttachChild (INode *pkChild)
int DetachChild (INode *pkChild)
INodeDetachChildAt (int i)
INodeSetChild (int i, INode *pkChild)
INodeGetChild (int i)
GeometryGetGeometry ()
void SetGeometry (Geometry *geo)

Protected Attributes

std::vector< INode * > m_kChild
Geometrym_kGeometry

Constructor & Destructor Documentation

INode::INode ( )

Standardconstructor

INode::INode ( Geometry geo)

Constructor

Parameters:
geoGeometry object

Member Function Documentation

int INode::AttachChild ( INode pkChild)

THis method attach a node to the node

Parameters:
nodenode to attack
int INode::DetachChild ( INode pkChild)

THis method detach a node to the node

Parameters:
nodenode to detach
INode * INode::DetachChildAt ( int  i)

THis method detach a node to the node

Parameters:
nodeindex of node to detach
Returns:
Node which was detached
INode * INode::GetChild ( int  i)

This method returns the child object selected node

Geometry * INode::GetGeometry ( )

This method returns the attached geometry object

Returns:
attached object
int INode::GetUsed ( ) const

Not used

INode * INode::SetChild ( int  i,
INode pkChild 
)

This method sets another child at the specified index

Parameters:
indexindex of node to detach
nodeindex of new node
Returns:
Node which was detached
void INode::SetGeometry ( Geometry geo)

This method attaches a geometry object

Parameters:
geoobject to attach

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