#include <CPerformer.h>
Inherits WWCOMMON::ISimulationObj.
Inherited by CActor, and WWCLIENT::CActorProxy.
Definition at line 65 of file CPerformer.h.
Definition at line 71 of file CPerformer.h.
Definition at line 70 of file CPerformer.h.
Definition at line 69 of file CPerformer.h.
Definition at line 68 of file CPerformer.h.
| WWCOMMON::CPerformer::CPerformer | ( | ) | [protected] |
Definition at line 69 of file CPerformer.cpp.
References NLPACS::UMovePrimitive::_2DOrientedCylinder, WWCOMMON::ISimulationObj::addStateLayer(), getSimulation(), NLPACS::UMovePrimitive::insertInWorldImage(), m_Acceleration, m_BrakingFactor, m_CorrectionInterp, m_Interpolator, m_MaxRotSpeed, m_MaxSpeed, m_MovePrimitive, m_RotAcceleration, m_RotBrakingFactor, WWCOMMON::ISimulationObj::m_SobId, NLPACS::UMovePrimitive::NotATrigger, NLPACS::UMovePrimitive::setGlobalPosition(), NLPACS::UMovePrimitive::setHeight(), NLPACS::UMovePrimitive::setObstacle(), NLPACS::UMovePrimitive::setPrimitiveType(), NLPACS::UMovePrimitive::setRadius(), NLPACS::UMovePrimitive::setReactionType(), NLPACS::UMovePrimitive::setTriggerType(), NLPACS::UMovePrimitive::Slide, WWCOMMON::CStateFactory::ST_MOVEMENT, WWCOMMON::CStateFactory::ST_ORIENTATION, WWCOMMON::CStateFactory::ST_STRAFE, and NLPACS::UMovePrimitive::UserData.
Referenced by Create().
| WWCOMMON::CPerformer::~CPerformer | ( | ) | [protected, virtual] |
Definition at line 108 of file CPerformer.cpp.
References getSimulation(), m_CorrectionInterp, m_Interpolator, and m_MovePrimitive.
| ISimulationObj * WWCOMMON::CPerformer::Create | ( | ) | [static] |
Reimplemented in WWCLIENT::CActorProxy, and CActor.
Definition at line 173 of file CPerformer.cpp.
References CPerformer().
| float WWCOMMON::CPerformer::getAcceleration | ( | ) |
Definition at line 141 of file CPerformer.cpp.
References m_Acceleration.
Referenced by WWCOMMON::CStrafeState::handle(), and WWCOMMON::CMovementState::handle().
| float WWCOMMON::CPerformer::getBrakingFactor | ( | ) |
Definition at line 145 of file CPerformer.cpp.
References m_BrakingFactor.
Referenced by WWCOMMON::CStrafeState::handle(), and WWCOMMON::CMovementState::handle().
| CorrectInterp* WWCOMMON::CPerformer::getCorrectionInterp | ( | ) | [inline] |
Definition at line 102 of file CPerformer.h.
References m_CorrectionInterp.
Referenced by WWCOMMON::CClientMotionHandler::handleDREvent(), WWCOMMON::CMotionController::move(), and WWCOMMON::CPolynomialMotionController::update().
| CPerformerInterpKey* WWCOMMON::CPerformer::getCurrentKey | ( | ) | [inline] |
Definition at line 87 of file CPerformer.h.
References m_CurrentKey.
Referenced by WWCLIENT::CSimulationImpl::addSob(), CPerformerDRController::checkIdle(), WWCOMMON::COrientTurnRightState::enterState(), WWCOMMON::COrientIdleState::enterState(), WWCOMMON::COrientTurnRightState::exitState(), CPerformerDRController::fillDREvent(), WWCOMMON::CStrafeState::handle(), WWCOMMON::COrientState::handle(), WWCOMMON::CMovementState::handle(), WWCOMMON::CMotionController::move(), CProximityManager::postAddEvents(), WWCOMMON::CPolynomialMotionController::setKey(), WWCOMMON::CMotionController::setKey(), and WWCOMMON::CPolynomialMotionController::update().
| CPerformerInterp* WWCOMMON::CPerformer::getInterpolator | ( | ) | [inline] |
Definition at line 99 of file CPerformer.h.
References m_Interpolator.
Referenced by WWCLIENT::CCameraThird::calculateTarget(), WWCLIENT::CLandscapeTask::init(), WWCOMMON::CPolynomialMotionController::setKey(), WWCOMMON::CMotionController::setKey(), and WWCLIENT::CPerformer3DView::update().
| NLMISC::CMatrix WWCOMMON::CPerformer::getMatrix | ( | ) |
Definition at line 122 of file CPerformer.cpp.
References WWCOMMON::CYawMotionInterpKey::getMatrix(), and m_CurrentKey.
| float WWCOMMON::CPerformer::getMaxRotSpeed | ( | ) |
Definition at line 149 of file CPerformer.cpp.
References m_MaxRotSpeed.
Referenced by WWCOMMON::COrientState::handle(), and WWCOMMON::CMotionController::ODEStep().
| float WWCOMMON::CPerformer::getMaxSpeed | ( | ) |
Definition at line 137 of file CPerformer.cpp.
References m_MaxSpeed.
Referenced by CProximityManager::getUpdateFrequency(), WWCOMMON::CStrafeState::handle(), and WWCOMMON::CMovementState::handle().
| double WWCOMMON::CPerformer::getMotionBlendDt | ( | ) |
Definition at line 177 of file CPerformer.cpp.
References m_MotionBlendDt.
| NLPACS::UMovePrimitive* WWCOMMON::CPerformer::getMovePrimitive | ( | ) | [inline] |
Definition at line 89 of file CPerformer.h.
References m_MovePrimitive.
Referenced by WWCOMMON::CMotionController::move(), WWCOMMON::CPolynomialMotionController::setVisualCollisionEntity(), and WWCOMMON::CMotionController::setVisualCollisionEntity().
| NLMISC::CVector WWCOMMON::CPerformer::getPosition | ( | ) |
Returns the current position in the interpolator.
Definition at line 117 of file CPerformer.cpp.
References WWCOMMON::CYawMotionInterpKey::getPosition(), and m_CurrentKey.
Referenced by WWCOMMON::CMoveIdleState::enterState(), CProximityManager::getSobPosition(), CProximityManager::postAddEvents(), WWCLIENT::CLandscapeTask::update(), WWCLIENT::CGameTask::update(), and CSimulationImpl::userLogin().
| float WWCOMMON::CPerformer::getRotAcceleration | ( | ) |
Definition at line 153 of file CPerformer.cpp.
References m_RotAcceleration.
Referenced by WWCOMMON::COrientState::handle(), and WWCOMMON::CMotionController::ODEStep().
| float WWCOMMON::CPerformer::getRotBrakingFactor | ( | ) |
Definition at line 161 of file CPerformer.cpp.
References m_RotBrakingFactor.
Referenced by WWCOMMON::COrientState::handle().
| WWCOMMON::CPerformer::OF_SETUP_REGISTRAR | ( | CSobFactory | , | |
| ISimulationObj | , | |||
| CPerformer | , | |||
| std::string | ||||
| ) | [private] |
Reimplemented in WWCLIENT::CActorProxy, and CActor.
| void WWCOMMON::CPerformer::setGlobalPosition | ( | NLMISC::CVector | pos | ) |
Sets the move primitive's global position. Expert use only!
Definition at line 133 of file CPerformer.cpp.
References m_MovePrimitive, NLPACS::UMovePrimitive::setGlobalPosition(), and NLPACS::UGlobalPosition::Unspecified.
Referenced by WWCLIENT::CSimulationImpl::addSob(), WWCOMMON::CMotionController::move(), WWCLIENT::CSimulationImpl::spawnSelf(), and CSimulationImpl::userLogin().
| void WWCOMMON::CPerformer::setMotionBlendDt | ( | double | dt | ) |
Definition at line 181 of file CPerformer.cpp.
References m_MotionBlendDt.
| void WWCOMMON::CPerformer::setPosition | ( | NLMISC::CVector | pos | ) |
Adds a new position key to the interpolator.
Definition at line 126 of file CPerformer.cpp.
References WWCOMMON::CGeneralInterpolator< TKEY >::addKey(), getSimulation(), m_CurrentKey, m_Interpolator, WWCOMMON::CYawMotionInterpKey::setPosition(), and WWCOMMON::CYawMotionInterpKey::setTime().
Referenced by WWCLIENT::CSimulationImpl::addSob(), WWCLIENT::CSimulationImpl::spawnSelf(), and CSimulationImpl::userLogin().
| void WWCOMMON::CPerformer::setRotAcceleration | ( | float | a | ) |
Definition at line 157 of file CPerformer.cpp.
References m_RotAcceleration.
Referenced by WWCOMMON::COrientState::handle().
| void WWCOMMON::CPerformer::update | ( | ) | [virtual] |
Reimplemented from WWCOMMON::ISimulationObj.
Reimplemented in WWCLIENT::CActorProxy, and CActor.
Definition at line 165 of file CPerformer.cpp.
References m_CorrectionInterp, m_Interpolator, and WWCOMMON::CGeneralInterpolator< TKEY >::update().
| virtual bool WWCOMMON::CPerformer::useCorrection | ( | ) | [inline, virtual] |
Reimplemented in WWCLIENT::CActorProxy.
Definition at line 101 of file CPerformer.h.
Referenced by WWCOMMON::CMotionController::move().
float WWCOMMON::CPerformer::m_Acceleration [protected] |
Definition at line 112 of file CPerformer.h.
Referenced by CPerformer(), and getAcceleration().
float WWCOMMON::CPerformer::m_BrakingFactor [protected] |
Definition at line 113 of file CPerformer.h.
Referenced by CPerformer(), and getBrakingFactor().
CorrectInterp* WWCOMMON::CPerformer::m_CorrectionInterp [protected] |
Definition at line 121 of file CPerformer.h.
Referenced by CPerformer(), getCorrectionInterp(), update(), and ~CPerformer().
Definition at line 105 of file CPerformer.h.
Referenced by getCurrentKey(), getMatrix(), getPosition(), and setPosition().
CPerformerInterp* WWCOMMON::CPerformer::m_Interpolator [protected] |
Definition at line 120 of file CPerformer.h.
Referenced by CPerformer(), getInterpolator(), setPosition(), update(), and ~CPerformer().
float WWCOMMON::CPerformer::m_MaxRotSpeed [protected] |
Definition at line 115 of file CPerformer.h.
Referenced by CPerformer(), and getMaxRotSpeed().
float WWCOMMON::CPerformer::m_MaxSpeed [protected] |
Definition at line 111 of file CPerformer.h.
Referenced by CPerformer(), and getMaxSpeed().
double WWCOMMON::CPerformer::m_MotionBlendDt [protected] |
Definition at line 118 of file CPerformer.h.
Referenced by getMotionBlendDt(), and setMotionBlendDt().
Definition at line 124 of file CPerformer.h.
Referenced by CPerformer(), getMovePrimitive(), setGlobalPosition(), and ~CPerformer().
float WWCOMMON::CPerformer::m_RotAcceleration [protected] |
Definition at line 116 of file CPerformer.h.
Referenced by CPerformer(), getRotAcceleration(), and setRotAcceleration().
float WWCOMMON::CPerformer::m_RotBrakingFactor [protected] |
Definition at line 117 of file CPerformer.h.
Referenced by CPerformer(), and getRotBrakingFactor().
float WWCOMMON::CPerformer::m_YawVelocity [protected] |
Definition at line 114 of file CPerformer.h.
1.6.1