ERC CISST - cisst software

prmTransformationDynamic Class Reference

#include <prmTransformationDynamic.h>

Inheritance diagram for prmTransformationDynamic:

Inheritance graph
[legend]
Collaboration diagram for prmTransformationDynamic:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 46 of file prmTransformationDynamic.h.

Public Types

Public Member Functions

Protected Attributes

Friends


Constructor & Destructor Documentation

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.

Definition at line 63 of file prmTransformationDynamic.h.

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

Definition at line 73 of file prmTransformationDynamic.h.

prmTransformationDynamic::prmTransformationDynamic ( const std::string &  name,
const CommandType transformationCommand,
prmTransformationBasePtr  reference 
) [inline]

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.

Definition at line 85 of file prmTransformationDynamic.h.

References prmTransformationBase::SetReferenceFrame().

prmTransformationDynamic::~prmTransformationDynamic (  ) 

Destructor. The frame is also detached from the frame manager. Any children of the detached frame will inherit its parent


Member Function Documentation

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.

Definition at line 105 of file prmTransformationDynamic.h.

const CommandType& prmTransformationDynamic::GetTransformationCommand ( void   )  const [inline]

Get a pointer to the current transformation command method

Returns:
mtsCommandRead* ptr to current transformation command

Definition at line 113 of file prmTransformationDynamic.h.

vctFrm3 prmTransformationDynamic::WRTReference ( void   )  const [inline, virtual]

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.

Definition at line 123 of file prmTransformationDynamic.h.


Member Data Documentation

CommandType prmTransformationDynamic::TransformationCommand [protected]

command to compute current value with respect to its reference

Definition at line 57 of file prmTransformationDynamic.h.


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu