OopsPhysicsEntityTransformationWriter Class Reference

#include <OopsPhysicsEntityTransformationWriter.h>

Inherits oops::TransformationWriterInterface.

Collaboration diagram for OopsPhysicsEntityTransformationWriter:

List of all members.


Public Member Functions

 OopsPhysicsEntityTransformationWriter (PhysicsEntity *entity)
virtual void updateTransformation (TransformationData trans)
virtual void setTransformationOffset (TransformationData trans, TransformationData offset)

Protected Attributes

TransformationData localOffset
 offset to get from RigidBody to PhysicsEntity Transformation
PhysicsEntityphysicsEntity
 PhysicsEntity where to write the Transformation to.

Detailed Description

Class to write RigidBody-Transformation to PhysicsEntity. The class is used to write the Transformation of an oops::RigidBody class to a PhysicsEntity. It calls the PhysicsEntity::setPhysicsTransformation method.

Constructor & Destructor Documentation

OopsPhysicsEntityTransformationWriter::OopsPhysicsEntityTransformationWriter ( PhysicsEntity entity  ) 

Constructor sets the destination PhysicsEntity. The constructor initializes the offset-Transformation as identity- Transformation and sets the PhysicsEntity where to write the Transformation to.

Parameters:
entity destination Entity for Transformation
localOffset: Toffloc = Tode^-1 * Tworld Tworld = Tode * Toffloc


Member Function Documentation

void OopsPhysicsEntityTransformationWriter::setTransformationOffset ( TransformationData  trans,
TransformationData  offset 
) [virtual]

void OopsPhysicsEntityTransformationWriter::updateTransformation ( TransformationData  trans  )  [virtual]


Member Data Documentation

PhysicsEntity where to write the Transformation to.


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

Generated on Wed Oct 20 16:11:58 2010 for inVRs by doxygen 1.5.8