PhysicsEntityTransformationWriterModifier Class Reference
#include <PhysicsEntityTransformationWriterModifier.h>
Inherits TransformationModifier.
Collaboration diagram for PhysicsEntityTransformationWriterModifier:

Public Member Functions | |
| virtual TransformationData | execute (TransformationData *resultLastStage, TransformationPipe *currentPipe) |
Detailed Description
Modifier which sets the Entity-Transformation of a PhysicsEntity. The class is a TransformationModifier which writes the input to the PhysicsEntity which is managed by the Pipe the modifier hangs in. The PhysicsEntity is determined by decoding the ID of the TransformationPipe. The result is written to the PhysicsEntity::setEntityWorldTransformation- method. The input of the Modifier is generated by the physics simulation. The output is used to update the Entity Transformation in the virtual world.Member Function Documentation
| OSG_USING_NAMESPACE TransformationData PhysicsEntityTransformationWriterModifier::execute | ( | TransformationData * | resultLastStage, | |
| TransformationPipe * | currentPipe | |||
| ) | [virtual] |
Calculate the new transformation.
- Parameters:
-
resultLastStage the result of the previous TransformationModifier currentPipe the Pipe, by which we are executed.
Reimplemented from TransformationModifier.
The documentation for this class was generated from the following files:
- src/inVRs/Modules/3DPhysics/PhysicsEntityTransformationWriterModifier.h
- src/inVRs/Modules/3DPhysics/PhysicsEntityTransformationWriterModifier.cpp
Generated on Wed Oct 20 16:11:59 2010 for inVRs by
1.5.8