Documentation


X3DTK::X3D::MorphingNode Class Reference

#include <morphingNode.h>

Inheritance diagram for X3DTK::X3D::MorphingNode:

X3DTK::X3D::AnimalEngineNode< AMorphingEngine > X3DTK::X3D::EngineNode animal::MorphingEngine< Morphings, Real > X3DTK::X3D::X4DNode animal::Engine X3DGroupingNode X3DBoundedObject List of all members.

Detailed Description

This class represents the x3d node in the x3d graph for a key frame engine.
Examples:

qtapp.cpp.

Definition at line 40 of file morphingNode.h.

Public Member Functions

 MorphingNode ()
 Effective creation of a class MorphingEngine.

 ~MorphingNode ()
 Destructor.

virtual void init ()
 virtual methods/////// Init the engine inherited by the engine node

virtual void updateBoundingBox ()
 Does nothing because the children nodes do the job.

virtual void close ()
 Copy _morphings (processing data) in _keys and _keyValues (in/out datas) before writing attributes.

void setKeys (const Keys &keys)
 setters/////////// sets the keys.

void setKeyValues (const KeyValues &keyValues)
 sets the key values.

const KeysgetKeys () const
 getters/////////// gets the keys.

const KeyValuesgetKeyValues () const
 gets the key values.

Coordinate * getCoordinate () const
 gets the indexed face set.

void declareOutputs (X3D_X3DNodeList &list)

Private Attributes

Keys _keys
 The keys.

KeyValues _keyValues
 The values.

Coordinate * _coordinate
 The coordinate linked with the key frame, the x3d node child of this node.


Constructor & Destructor Documentation

X3DTK::X3D::MorphingNode::MorphingNode  ) 
 

Effective creation of a class MorphingEngine.

Definition at line 16 of file morphingNode.cpp.

X3DTK::X3D::MorphingNode::~MorphingNode  ) 
 

Destructor.

Definition at line 33 of file morphingNode.cpp.


Member Function Documentation

void X3DTK::X3D::MorphingNode::close  )  [virtual]
 

Copy _morphings (processing data) in _keys and _keyValues (in/out datas) before writing attributes.

Reimplemented from X3DTK::X3D::EngineNode.

Definition at line 108 of file morphingNode.cpp.

References _keys, _keyValues, X3DTK::Keys, and X3DTK::KeyValues.

void X3DTK::X3D::MorphingNode::declareOutputs X3D_X3DNodeList list  )  [virtual]
 

Reimplemented from X3DTK::X3D::EngineNode.

Definition at line 133 of file morphingNode.cpp.

References X3DTK::X3D::X3D_X3DNodeList.

Coordinate* X3DTK::X3D::MorphingNode::getCoordinate  )  const [inline]
 

gets the indexed face set.

Definition at line 78 of file morphingNode.h.

const Keys& X3DTK::X3D::MorphingNode::getKeys  )  const [inline]
 

getters/////////// gets the keys.

Definition at line 74 of file morphingNode.h.

References _keys, and X3DTK::Keys.

const KeyValues& X3DTK::X3D::MorphingNode::getKeyValues  )  const [inline]
 

gets the key values.

Definition at line 76 of file morphingNode.h.

References _keyValues, and X3DTK::KeyValues.

void X3DTK::X3D::MorphingNode::init  )  [virtual]
 

virtual methods/////// Init the engine inherited by the engine node

Reimplemented from X3DTK::X3D::AnimalEngineNode< AMorphingEngine >.

Definition at line 40 of file morphingNode.cpp.

References _keys, and _keyValues.

void X3DTK::X3D::MorphingNode::setKeys const Keys keys  ) 
 

setters/////////// sets the keys.

Definition at line 97 of file morphingNode.cpp.

References _keys, and X3DTK::Keys.

void X3DTK::X3D::MorphingNode::setKeyValues const KeyValues keyValues  ) 
 

sets the key values.

Definition at line 102 of file morphingNode.cpp.

References _keyValues, and X3DTK::KeyValues.

virtual void X3DTK::X3D::MorphingNode::updateBoundingBox  )  [inline, virtual]
 

Does nothing because the children nodes do the job.

Implements X3DTK::X3D::EngineNode.

Definition at line 61 of file morphingNode.h.


Member Data Documentation

Coordinate* X3DTK::X3D::MorphingNode::_coordinate [private]
 

The coordinate linked with the key frame, the x3d node child of this node.

Definition at line 90 of file morphingNode.h.

Keys X3DTK::X3D::MorphingNode::_keys [private]
 

The keys.

Definition at line 84 of file morphingNode.h.

Referenced by close(), getKeys(), init(), and setKeys().

KeyValues X3DTK::X3D::MorphingNode::_keyValues [private]
 

The values.

Definition at line 87 of file morphingNode.h.

Referenced by close(), getKeyValues(), init(), and setKeyValues().


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 13:52:35 2004 by doxygen 1.3.6