#include <prmTransformationDynamic.h>
Derived class of prmTransformationBase for a dynamic transformation. This class stores an command which gets invoked whenever the position of the frame with respect to its reference is queried.
- See Also
- prmWRTReference prmTransformationFixed, prmTransformationBase, prmTransformationManager
prmTransformationDynamic::prmTransformationDynamic |
( |
void |
| ) |
|
|
inline |
Default constructor. Set the frame name as "Undefined". The transformation command between this frame and its reference is set to NULL, which would return an identity transform if queried.
prmTransformationDynamic::prmTransformationDynamic |
( |
const std::string & |
name | ) |
|
|
inline |
Constructor with a name only. The transformation between this frame and its reference is not defined and returns identity.
- Parameters
-
name | const std::string describable name |
Constructor with a name, a reference frame and the transformation command from the reference frame.
- Parameters
-
name | const std::string describable name |
transformationCommdn | const mtsCommandRead* ptr to new transformation command |
reference | prmTransformationBasePtr ptr to attachment point in the transformation manager. |
prmTransformationDynamic::~prmTransformationDynamic |
( |
| ) |
|
Destructor. The frame is also detached from the frame manager. Any children of the detached frame will inherit its parent
const CommandType& prmTransformationDynamic::GetTransformationCommand |
( |
void |
| ) |
const |
|
inline |
Get a pointer to the current transformation command method
- Returns
- mtsCommandRead* ptr to current transformation command
void prmTransformationDynamic::SetTransformationCommand |
( |
const CommandType & |
transformationCommand | ) |
|
|
inline |
Set/Get transformation command between this frame and its reference.
- Parameters
-
transformationCommand | const mtsCommandRead* ptr to new transformation computation method |
- Returns
- void.
vctFrm3 prmTransformationDynamic::WRTReference |
( |
void |
| ) |
const |
|
inlinevirtual |
Get the transformation between the reference frame and this frame. Same as GetTransformation()->Execute().
- Returns
- vctFrm3 relationship between this frame and its reference frame in the transformation manager.
Implements prmTransformationBase.
CommandType prmTransformationDynamic::TransformationCommand |
|
protected |
command to compute current value with respect to its reference
The documentation for this class was generated from the following file: