opal::VelocityMotorData Class Reference

A data structure describing a VelocityMotor. More...

#include <VelocityMotorData.h>

Inheritance diagram for opal::VelocityMotorData:

opal::MotorData List of all members.

Public Member Functions

OPAL_DECL VelocityMotorData ()
OPAL_DECL VelocityMotorData (const VelocityMotorData &data)
virtual OPAL_DECL ~VelocityMotorData ()
virtual OPAL_DECL void OPAL_CALL operator= (const VelocityMotorData &data)

Public Attributes

Solidsolid
real maxForce
bool letGravityAffectSolid
int internal_solidIndex
std::string solidBlueprintRefName
Vec3r velocity

Detailed Description

A data structure describing a VelocityMotor.

Definition at line 40 of file VelocityMotorData.h.


Constructor & Destructor Documentation

OPAL_DECL opal::VelocityMotorData::VelocityMotorData  )  [inline]
 

Definition at line 43 of file VelocityMotorData.h.

References internal_solidIndex, letGravityAffectSolid, maxForce, opal::MotorData::mType, solid, solidBlueprintRefName, velocity, and opal::VELOCITY_MOTOR.

OPAL_DECL opal::VelocityMotorData::VelocityMotorData const VelocityMotorData data  )  [inline]
 

Copy constructor.

Definition at line 56 of file VelocityMotorData.h.

virtual OPAL_DECL opal::VelocityMotorData::~VelocityMotorData  )  [inline, virtual]
 

Definition at line 61 of file VelocityMotorData.h.


Member Function Documentation

virtual OPAL_DECL void OPAL_CALL opal::VelocityMotorData::operator= const VelocityMotorData data  )  [inline, virtual]
 

Makes a deep copy.

Definition at line 65 of file VelocityMotorData.h.

References opal::MotorData::enabled, internal_solidIndex, letGravityAffectSolid, maxForce, opal::MotorData::mType, opal::MotorData::name, solid, solidBlueprintRefName, and velocity.


Member Data Documentation

int opal::VelocityMotorData::internal_solidIndex
 

Internal data used for Blueprint instantiation.

Definition at line 89 of file VelocityMotorData.h.

Referenced by operator=(), and VelocityMotorData().

bool opal::VelocityMotorData::letGravityAffectSolid
 

if true, the solid will be affected by gravity

Definition at line 86 of file VelocityMotorData.h.

Referenced by opal::VelocityMotor::doesGravityAffectSolid(), opal::VelocityMotor::letGravityAffectSolid(), operator=(), and VelocityMotorData().

real opal::VelocityMotorData::maxForce
 

Maximum force that can be used to achieve target velocity.

Definition at line 83 of file VelocityMotorData.h.

Referenced by opal::VelocityMotor::getMaximumForce(), operator=(), opal::VelocityMotor::setMaximumForce(), and VelocityMotorData().

Solid* opal::VelocityMotorData::solid
 

Pointer to the Solid.

Definition at line 80 of file VelocityMotorData.h.

Referenced by opal::VelocityMotor::init(), opal::VelocityMotor::internal_dependsOnSolid(), opal::VelocityMotor::internal_update(), operator=(), and VelocityMotorData().

std::string opal::VelocityMotorData::solidBlueprintRefName
 

String used for for intra-Blueprint references.

Definition at line 92 of file VelocityMotorData.h.

Referenced by operator=(), and VelocityMotorData().

Vec3r opal::VelocityMotorData::velocity
 

The velocity that is to be achieved every frame.

Definition at line 95 of file VelocityMotorData.h.

Referenced by opal::VelocityMotor::getVelocity(), opal::VelocityMotor::internal_update(), operator=(), opal::VelocityMotor::setVelocity(), and VelocityMotorData().


The documentation for this class was generated from the following file:
Generated on Tue May 16 17:49:58 2006 for OPAL by  doxygen 1.4.6-NO