OpenSim::SpatialTransform Class Reference

A class encapsulating the spatial transformation bewteen two bodies that defines the behaviour of a custom joint. More...

#include <SpatialTransform.h>

Inheritance diagram for OpenSim::SpatialTransform:
OpenSim::Object

List of all members.

Public Member Functions

 SpatialTransform ()
 Default constructor of a SpatialTransform.
 SpatialTransform (const SpatialTransform &aSpatialTransform)
 Copy constructor of a SpatialTransform.
 ~SpatialTransform (void)
 Destructor.
virtual Objectcopy () const
 Copy this SpatialTransform and return a pointer to the copy.
void copyData (const SpatialTransform &aSpatialTransform)
 Copy the contents of the one SpatialTransform (i.e.
void setup (CustomJoint &aJoint)
virtual OpenSim::Array
< std::string > 
getCoordinateNames ()
virtual std::vector
< std::vector< int > > 
getCooridinateIndices ()
virtual std::vector< const
SimTK::Function * > 
getFunctions ()
virtual std::vector< SimTK::Vec3 > getAxes ()
virtual void scale (const SimTK::Vec3 scaleFactors)
TransformAxisoperator[] (int aIndex) const
SpatialTransformoperator= (const SpatialTransform &aSpatialTransform)
 Assignment operator.

Protected Attributes

PropertyObj _rotation1Prop
 Define the individual transform axes (6) that specify the spatial transform.
TransformAxis_rotation1
PropertyObj _rotation2Prop
TransformAxis_rotation2
PropertyObj _rotation3Prop
TransformAxis_rotation3
PropertyObj _translation1Prop
TransformAxis_translation1
PropertyObj _translation2Prop
TransformAxis_translation2
PropertyObj _translation3Prop
TransformAxis_translation3
CustomJoint_owningJoint

Friends

class CustomJoint

Detailed Description

A class encapsulating the spatial transformation bewteen two bodies that defines the behaviour of a custom joint.

Authors:
Ajay Seth
Version:
1.0

Constructor & Destructor Documentation

SpatialTransform::SpatialTransform (  ) 

Default constructor of a SpatialTransform.

SpatialTransform::SpatialTransform ( const SpatialTransform aSpatialTransform  ) 

Copy constructor of a SpatialTransform.

SpatialTransform::~SpatialTransform ( void   ) 

Destructor.


Member Function Documentation

Object * SpatialTransform::copy (  )  const [virtual]

Copy this SpatialTransform and return a pointer to the copy.

The copy constructor for this class is used.

Returns:
Pointer to a copy of this OpenSim::SpatialTransform.

Reimplemented from OpenSim::Object.

void SpatialTransform::copyData ( const SpatialTransform aSpatialTransform  ) 

Copy the contents of the one SpatialTransform (i.e.

the axes) to another.

Parameters:
aSpatialTransform SpatialTransform to be copied.
std::vector< SimTK::Vec3 > SpatialTransform::getAxes (  )  [virtual]
OpenSim::Array< string > SpatialTransform::getCoordinateNames (  )  [virtual]
std::vector< std::vector< int > > SpatialTransform::getCooridinateIndices (  )  [virtual]
std::vector< const SimTK::Function * > SpatialTransform::getFunctions (  )  [virtual]
SpatialTransform & SpatialTransform::operator= ( const SpatialTransform aSpatialTransform  ) 

Assignment operator.

Returns:
Reference to this object.

Reimplemented from OpenSim::Object.

TransformAxis & SpatialTransform::operator[] ( int  aIndex  )  const
void SpatialTransform::scale ( const SimTK::Vec3  scaleFactors  )  [virtual]
void SpatialTransform::setup ( CustomJoint aJoint  ) 

Friends And Related Function Documentation

friend class CustomJoint [friend]

Member Data Documentation

Define the individual transform axes (6) that specify the spatial transform.


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

Generated on Wed Dec 16 15:03:48 2009 for OpenSim by  doxygen 1.6.1