26#ifndef _prmVelocityCartesianSet_h
27#define _prmVelocityCartesianSet_h
99 this->Velocity[0] = velocities[0];
100 this->Velocity[1] = velocities[1];
101 this->Velocity[2] = velocities[2];
102 this->VelocityAngular[0] = velocities[3];
103 this->VelocityAngular[1] = velocities[4];
104 this->VelocityAngular[2] = velocities[5];
114 this->Velocity.
Assign(velocity);
124 this->VelocityAngular.
Assign(velocityAngular);
133 return this->Velocity;
142 this->Velocity = velocity;
151 return this->Velocity;
160 this->VelocityAngular = velocityAngular;
169 return this->VelocityAngular;
178 this->Acceleration = acceleration;
186 return this->Acceleration;
195 this->AccelerationAngular = accelerationAngular;
203 return this->AccelerationAngular;
prmMotionBase()
Definition prmMotionBase.h:43
Definition prmVelocityCartesianSet.h:43
void SerializeRaw(std::ostream &outputStream) const override
virtual ~prmVelocityCartesianSet()
vctDouble3 Acceleration
Definition prmVelocityCartesianSet.h:56
void SetTranslationGoal(const vctDouble3 &velocity)
Definition prmVelocityCartesianSet.h:112
void SetAngularVelocity(const vctDouble3 &velocityAngular)
Definition prmVelocityCartesianSet.h:158
prmVelocityCartesianSet(const vctDouble3 &velocity, const vctDouble3 &velocityAngular, const vctDouble3 &acceleration, const vctDouble3 &accelerationAngular, const vctBool6 &mask)
Definition prmVelocityCartesianSet.h:78
vctBool6 GetMask(void) const
Definition prmVelocityCartesianSet.h:218
void SetMask(const vctBool6 &mask)
Definition prmVelocityCartesianSet.h:210
void DeSerializeRaw(std::istream &inputStream) override
vctDouble3 GetAngularVelocity(void) const
Definition prmVelocityCartesianSet.h:167
void SetVelocity(const vctDouble3 &velocity)
Definition prmVelocityCartesianSet.h:140
vctDouble3 AccelerationAngular
Definition prmVelocityCartesianSet.h:59
vctDouble3 Velocity
Definition prmVelocityCartesianSet.h:50
vctDouble3 GetAngularAcceleration(void) const
Definition prmVelocityCartesianSet.h:201
vctDouble3 VelocityAngular
Definition prmVelocityCartesianSet.h:53
vctBool6 Mask
Definition prmVelocityCartesianSet.h:63
void SetRotationGoal(const vctDouble3 &velocityAngular)
Definition prmVelocityCartesianSet.h:122
vctDouble3 GetAcceleration(void) const
Definition prmVelocityCartesianSet.h:184
vctDouble3 GetVelocity(void) const
Definition prmVelocityCartesianSet.h:149
void SetAngularAcceleration(const vctDouble3 &accelerationAngular)
Definition prmVelocityCartesianSet.h:193
prmVelocityCartesianSet()
Definition prmVelocityCartesianSet.h:67
prmMotionBase BaseType
Definition prmVelocityCartesianSet.h:47
void SetAcceleration(const vctDouble3 &acceleration)
Definition prmVelocityCartesianSet.h:176
vctDouble3 GetGoal(void) const
Definition prmVelocityCartesianSet.h:131
void SetGoal(const vctDouble6 &velocities)
Definition prmVelocityCartesianSet.h:97
ThisType & Assign(const vctFixedSizeConstVectorBase< _size, __stride, __elementType, __dataPtrType > &other)
Definition vctFixedSizeVectorBase.h:274
value_type SetAll(const value_type &value)
Definition vctFixedSizeVectorBase.h:241
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition cmnClassRegisterMacros.h:199
const int CMN_DYNAMIC_CREATION
Definition cmnClassRegisterMacros.h:328
#define CISST_EXPORT
Definition cmnExportMacros.h:50
#define CMN_LOG_ALLOW_DEFAULT
Definition cmnLogLoD.h:76
Typedef for fixed size vectors.
vctFixedSizeVector< bool, 6 > vctBool6
Definition vctFixedSizeVectorTypes.h:269
vctFixedSizeVector< double, 6 > vctDouble6
Definition vctFixedSizeVectorTypes.h:60
vctFixedSizeVector< double, 3 > vctDouble3
Definition vctFixedSizeVectorTypes.h:45