H3D::DynamicTransform Class Reference
[H3D specific Node classes.]

The DynamicTransform node is a Shape container that has basic properties for defining rigid body motion. More...

#include <H3D/DynamicTransform.h>

Inheritance diagram for H3D::DynamicTransform:

Inheritance graph

List of all members.

Classes

class  SFAngularVelocity
 Calculates the angular velocity based on the inertia tensor and angular momentum. More...
class  SFMatrix4f
 Specialize the SFMatrix4f to update the matrix from the fields in the Transform node. More...
class  SFMotion
 Time dependant field to perform the RK4 integration for determining the motion of the dynamic transform routes_in[0] time field. More...
class  SFSpin
 Calculates the spin (time derivative of the orientation). More...
class  SFVelocity
 Calculates the velocity based on the mass and momentum. More...

Public Member Functions

 DynamicTransform (Inst< MFChild > _addChildren=0, Inst< MFChild > _removeChildren=0, Inst< MFChild > _children=0, Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< SFVec3f > _bboxCenter=0, Inst< SFVec3f > _bboxSize=0, Inst< SFTransformedBound > _transformedBound=0, Inst< SFMatrix4f > _matrix=0, Inst< SFMatrix4f > _accumulatedForward=0, Inst< SFMatrix4f > _accumulatedInverse=0, Inst< SFVec3f > _position=0, Inst< SFRotation > _orientation=0, Inst< SFVelocity > _velocity=0, Inst< SFVec3f > _momentum=0, Inst< SFVec3f > _force=0, Inst< SFAngularVelocity > _angularVelocity=0, Inst< SFVec3f > _angularMomentum=0, Inst< SFSpin > _spin=0, Inst< SFVec3f > _torque=0, Inst< SFFloat > _mass=0, Inst< SFMatrix3f > _inertiaTensor=0, Inst< SFMotion > _motion=0)
 Constructor.

Public Attributes

auto_ptr< SFVec3fposition
 Specifies the position of the shape.
auto_ptr< SFRotationorientation
 Specifies the orientation of the shape.
auto_ptr< SFVec3fvelocity
 Specifies the velocity in m/s.
auto_ptr< SFVec3fmomentum
 Specifies the momentum.
auto_ptr< SFVec3fforce
 Specifies the force currently acting on the dynamic.
auto_ptr< SFVec3fangularVelocity
 Specifies the angular velocity of the dynamic.
auto_ptr< SFVec3fangularMomentum
 Specifies the angular momentum of the dynamic.
auto_ptr< SFSpinspin
 Specifies the spin of the dynamic.
auto_ptr< SFVec3ftorque
 Specifies the torque force currently acting on the dynamic.
auto_ptr< SFFloatmass
 Specifies the mass, in kg.
auto_ptr< SFMatrix3finertiaTensor
 Specifies the inertia tensor.
auto_ptr< SFMotionmotion
 Dynamic update algorithm.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Detailed Description

The DynamicTransform node is a Shape container that has basic properties for defining rigid body motion.

This includes a position, orientation, mass, etc.

Internal routes:
DynamicTransform.dot

Member Data Documentation

Specifies the angular momentum of the dynamic.

Access type: inputOutput
Default value: Vec3f( 0, 0, 0 )

DynamicTransform_angularMomentum.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Specifies the angular velocity of the dynamic.

Access type: outputOnly

DynamicTransform_angularVelocity.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Specifies the force currently acting on the dynamic.

Access type: inputOutput
Default value: Vec3f( 0, 0, 0 )

DynamicTransform_force.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Specifies the inertia tensor.

Access type: inputOutput
Default value: Matrix3f( 1, 0, 0, 0, 1, 0, 0, 0, 1 )

DynamicTransform_inertiaTensor.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Specifies the mass, in kg.

Access type: inputOutput
Default value: Vec3f( 0, 0, 0 )

DynamicTransform_mass.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Specifies the momentum.

Access type: inputOutput
Default value: Vec3f( 0, 0, 0 )

DynamicTransform_momentum.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Dynamic update algorithm.

DynamicTransform_motion.dot

Referenced by DynamicTransform().

Specifies the orientation of the shape.

Access type: inputOutput
Default value: Rotation( 0, 0, 1, 0 )

DynamicTransform_orientation.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Specifies the position of the shape.

Access type: inputOutput
Default value: Vec3f( 0, 0, 0 )

DynamicTransform_position.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Specifies the spin of the dynamic.

Access type: outputOnly

DynamicTransform_spin.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Specifies the torque force currently acting on the dynamic.

Access type: inputOutput
Default value: Vec3f( 0, 0, 0 )

DynamicTransform_torque.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().

Specifies the velocity in m/s.

Access type: outputOnly

DynamicTransform_velocity.dot

Referenced by DynamicTransform(), and H3D::DynamicTransform::SFMotion::update().


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

Generated on Fri Nov 7 10:29:56 2008 for H3D API by  doxygen 1.5.7