35 itkExceptionMacro(
"Invalid parameter: Transform was not set! Use SetRigid3DTransform() before updating the filter.");
43 for (
unsigned int i = 0; i < this->GetNumberOfIndexedOutputs() ; ++i)
61 TransformType::OutputVectorType pInD;
63 TransformType::VersorType oInD;
64 oInD.Set(oInF.x(), oInF.y(), oInF.z(), oInF.r());
66 TransformType::Pointer composedTransform = TransformType::New();
69 composedTransform->SetRotation(oInD);
70 composedTransform->SetOffset(pInD);
76 const TransformType::OutputVectorType pOutD = composedTransform->GetOffset();
77 const TransformType::VersorType oOutD = composedTransform->GetVersor();
NavigationData * GetOutput(void)
return the output (output with id 0) of the filter
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
DataCollection - Class to facilitate loading/accessing structured data.
virtual void SetDataValid(bool _arg)
sets the dataValid flag of the NavigationData object indicating if the object contains valid data ...
mitk::Quaternion OrientationType
Type that holds the orientation part of the tracking data.
virtual PositionType GetPosition() const
returns position of the NavigationData object
void FillVector3D(Tout &out, mitk::ScalarType x, mitk::ScalarType y, mitk::ScalarType z)
const NavigationData * GetInput(void) const
Get the input of this filter.
virtual void SetOrientation(OrientationType _arg)
sets the orientation of the NavigationData object
virtual void SetPosition(PositionType _arg)
sets the position of the NavigationData object
void CreateOutputsForAllInputs()
Create an output for each input.
virtual OrientationType GetOrientation() const
returns the orientation of the NavigationData object
virtual bool IsDataValid() const
returns true if the object contains valid data