27 #ifndef _prmVelocityCartesianGet_h
28 #define _prmVelocityCartesianGet_h
52 VelocityLinearMember(velocityLinear),
53 VelocityAngularMember(velocityAngular)
78 this->VelocityLinearMember[0] = newValue[0];
79 this->VelocityLinearMember[1] = newValue[1];
80 this->VelocityLinearMember[2] = newValue[2];
81 this->VelocityAngularMember[0] = newValue[3];
82 this->VelocityAngularMember[1] = newValue[4];
83 this->VelocityAngularMember[2] = newValue[5];
88 placeHolder[0] = this->VelocityLinearMember[0];
89 placeHolder[1] = this->VelocityLinearMember[1];
90 placeHolder[2] = this->VelocityLinearMember[2];
91 placeHolder[3] = this->VelocityAngularMember[0];
92 placeHolder[4] = this->VelocityAngularMember[1];
93 placeHolder[5] = this->VelocityAngularMember[2];
98 void ToStream(std::ostream & outputStream)
const;
101 void ToStreamRaw(std::ostream & outputStream,
const char delimiter =
' ',
102 bool headerOnly =
false,
const std::string & headerPrefix =
"")
const;
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
CMN_DECLARE_SERVICES_INSTANTIATION(prmVelocityCartesianGet)
virtual void SerializeRaw(std::ostream &outputStream) const
virtual void DeSerializeRaw(std::istream &inputStream)
virtual void ToStream(std::ostream &outputStream) const
Typedef for fixed size vectors.
Base class for data object in cisstMultiTask.
Definition: mtsGenericObject.h:56
Definition: prmVelocityCartesianGet.h:38
prmVelocityCartesianGet(void)
Definition: prmVelocityCartesianGet.h:46
prmVelocityCartesianGet(const vctDouble3 &velocityLinear, const vctDouble3 &velocityAngular)
Definition: prmVelocityCartesianGet.h:50
Defines mtsGenericObject.
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
mtsGenericObject BaseType
Definition: prmVelocityCartesianGet.h:43
#define CMN_DECLARE_MEMBER_AND_ACCESSORS(memberType, memberName)
Definition: cmnAccessorMacros.h:70
void SetVelocity(const vct6 &newValue)
Definition: prmVelocityCartesianGet.h:76
const int CMN_DYNAMIC_CREATION
Definition: cmnClassRegisterMacros.h:331
void GetVelocity(vct6 &placeHolder)
Definition: prmVelocityCartesianGet.h:86
virtual void ToStreamRaw(std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76