LinkedPhysicsEntityType Class Reference
#include <LinkedPhysicsEntityType.h>
Inherits EntityType.
Collaboration diagram for LinkedPhysicsEntityType:

Classes | |
| struct | JointMapping |
| struct | SubEntityType |
Public Member Functions | |
| LinkedPhysicsEntityType (unsigned short id) | |
| virtual | ~LinkedPhysicsEntityType () |
| void | addSubEntity (SimplePhysicsEntityType *entityType, const TransformationData &offset) |
| void | addJoint (oops::Joint *joint, int entityIndex1, int entityIndex2) |
| const std::vector < SubEntityType > & | getSubEntityTypes () |
Protected Member Functions | |
| virtual Entity * | createInstanceAtLoadTime (unsigned short idOfEnv, unsigned short idInEnv) |
| virtual Entity * | createInstanceUnchecked (unsigned short instId, unsigned short idOfEnv, unsigned short idInEnv) |
| virtual Event * | createEntityCreationEvent (Environment *env, unsigned environmentBasedId, TransformationData trans) |
Protected Attributes | |
| std::vector< SubEntityType > | subEntityList |
| list of all members of the LinkedPhysicsEntity | |
| std::vector< JointMapping > | jointList |
| list of all defined Joints | |
Constructor & Destructor Documentation
| LinkedPhysicsEntityType::LinkedPhysicsEntityType | ( | unsigned short | id | ) |
| LinkedPhysicsEntityType::~LinkedPhysicsEntityType | ( | ) | [virtual] |
Member Function Documentation
| void LinkedPhysicsEntityType::addJoint | ( | oops::Joint * | joint, | |
| int | entityIndex1, | |||
| int | entityIndex2 | |||
| ) |
| void LinkedPhysicsEntityType::addSubEntity | ( | SimplePhysicsEntityType * | entityType, | |
| const TransformationData & | offset | |||
| ) |
| Event * LinkedPhysicsEntityType::createEntityCreationEvent | ( | Environment * | env, | |
| unsigned | environmentBasedId, | |||
| TransformationData | trans | |||
| ) | [protected, virtual] |
Creates the EntityCreationEvent for a new instance.
Reimplemented from EntityType.
| Entity * LinkedPhysicsEntityType::createInstanceAtLoadTime | ( | unsigned short | idOfEnv, | |
| unsigned short | idInEnv | |||
| ) | [protected, virtual] |
Creates a new instance of itself at load time. The method creates a new LinkedPhysicsEntity instance where the instanceId is requested from the loadTimeEntityIdPool.
- Parameters:
-
idOfEnv ID of the destination Environment idInEnv ID of the Entity in the Environment
- Returns:
- new Entity instance of the current EntityType
Reimplemented from EntityType.
| Entity * LinkedPhysicsEntityType::createInstanceUnchecked | ( | unsigned short | instId, | |
| unsigned short | idOfEnv, | |||
| unsigned short | idInEnv | |||
| ) | [protected, virtual] |
Creates a new instance of itself with the passed IDs. The method creates a new Entity instance with the passed IDs.
- Parameters:
-
instId ID of the Entity instance idOfEnv ID of the destination Environment idInEnv ID of the Entity in the Environment
- Returns:
- new Entity instance of the current EntityType
Reimplemented from EntityType.
| const std::vector< LinkedPhysicsEntityType::SubEntityType > & LinkedPhysicsEntityType::getSubEntityTypes | ( | ) |
Member Data Documentation
std::vector<JointMapping> LinkedPhysicsEntityType::jointList [protected] |
list of all defined Joints
std::vector<SubEntityType> LinkedPhysicsEntityType::subEntityList [protected] |
list of all members of the LinkedPhysicsEntity
The documentation for this class was generated from the following files:
- src/inVRs/Modules/3DPhysics/LinkedPhysicsEntityType.h
- src/inVRs/Modules/3DPhysics/LinkedPhysicsEntityType.cpp
Generated on Wed Oct 20 16:11:58 2010 for inVRs by
1.5.8