30 m_Rigid3DTransform = NULL;
37 if(m_Rigid3DTransform.IsNull())
39 itkExceptionMacro(
"Invalid parameter: Transform was not set! Use SetRigid3DTransform() before updating the filter.");
44 this->CreateOutputsForAllInputs();
47 for (
unsigned int i = 0; i < this->GetNumberOfIndexedOutputs() ; ++i)
65 TransformType::OutputVectorType pInD;
67 TransformType::VersorType oInD;
68 oInD.Set(oInF.x(), oInF.y(), oInF.z(), oInF.r());
73 composedTransform->SetRotation(oInD);
74 composedTransform->SetOffset(pInD);
77 composedTransform->Compose(m_Rigid3DTransform, m_Precompose);
80 const TransformType::OutputVectorType pOutD = composedTransform->GetOffset();
81 const TransformType::VersorType oOutD = composedTransform->GetVersor();
itk::SmartPointer< Self > Pointer
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 ...
virtual OrientationType GetOrientation() const
returns the orientation of the NavigationData object
mitk::Quaternion OrientationType
Type that holds the orientation part of the tracking data.
void FillVector3D(Tout &out, mitk::ScalarType x, mitk::ScalarType y, mitk::ScalarType z)
virtual void SetOrientation(OrientationType _arg)
sets the orientation of the NavigationData object
virtual bool IsDataValid() const
returns true if the object contains valid data
virtual void SetPosition(PositionType _arg)
sets the position of the NavigationData object
virtual PositionType GetPosition() const
returns position of the NavigationData object
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.