MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitk::NavigationDataHandEyeCalibrationFilter Class Reference

IGT filter applying a Hand-Eye transformation to a given BaseData according to the current NavigationDataTransformation. The resulting BaseData is then given in tracking coordinates. More...

#include <mitkNavigationDataHandEyeCalibrationFilter.h>

Inheritance diagram for mitk::NavigationDataHandEyeCalibrationFilter:
mitk::NavigationDataToNavigationDataFilter mitk::NavigationDataSource

Public Types

typedef itk::QuaternionRigidTransform< ScalarType > QuaternionRigidTransformType
 transformation type for itk::QuaternionRigidTransforms
 

Public Member Functions

 mitkClassMacro (NavigationDataHandEyeCalibrationFilter, NavigationDataToNavigationDataFilter)
 
 itkFactorylessNewMacro (Self)
 
 itkCloneMacro (Self)
 
void SetObjectToTransform (unsigned int index, BaseData *data)
 Set the object that will be transformed to tracking coordinates using the current NavigationData and the given transformation of the HandEyeCalibration.
 
void SetHandEyeTransformation (unsigned int index, Transform::Pointer handEyeTransform)
 Set the transformation of the HandEyeCalibration that should be applied to the BaseData with the current transformation of the Navigation Data.
 
void GenerateData () override
 
- Public Member Functions inherited from mitk::NavigationDataToNavigationDataFilter
 mitkClassMacro (NavigationDataToNavigationDataFilter, NavigationDataSource)
 
virtual void SetInput (const NavigationData *nd)
 Set the input of this filter.
 
virtual void SetInput (unsigned int idx, const NavigationData *nd)
 Set input with id idx of this filter.
 
const NavigationDataGetInput (void) const
 Get the input of this filter.
 
const NavigationDataGetInput (unsigned int idx) const
 Get the input with id idx of this filter.
 
const NavigationDataGetInput (std::string navDataName) const
 Get the input with name navDataName of this filter.
 
DataObjectPointerArraySizeType GetInputIndex (std::string navDataName)
 return the index of the input with name navDataName, throw std::invalid_argument exception if that name was not found
 
virtual void ConnectTo (mitk::NavigationDataSource *UpstreamFilter)
 Connects the input of this filter to the outputs of the given NavigationDataSource.
 
- Public Member Functions inherited from mitk::NavigationDataSource
 mitkClassMacroItkParent (NavigationDataSource, itk::ProcessObject)
 
 itkGetMacro (Name, std::string)
 
 itkSetMacro (Name, std::string)
 Sets the human readable name of this source. There is also a default name, but you can use this method if you need to define it on your own.
 
NavigationDataGetOutput (void)
 return the output (output with id 0) of the filter
 
NavigationDataGetOutput (DataObjectPointerArraySizeType idx)
 return the output with id idx of the filter
 
NavigationDataGetOutput (const std::string &navDataName)
 return the output with name navDataName of the filter
 
NavigationTool::Pointer GetToolMetaData (DataObjectPointerArraySizeType idx)
 
NavigationTool::Pointer GetToolMetaData (const std::string &navDataName)
 
 itkGetMacro (ToolMetaDataCollection, mitk::NavigationToolStorage::Pointer)
 
 itkSetMacro (ToolMetaDataCollection, mitk::NavigationToolStorage::Pointer)
 
DataObjectPointerArraySizeType GetOutputIndex (std::string navDataName)
 return the index of the output with name navDataName, -1 if no output with that name was found
 
virtual void RegisterAsMicroservice ()
 Registers this object as a Microservice, making it available to every module and/or plugin. To unregister, call UnregisterMicroservice().
 
virtual void UnRegisterMicroservice ()
 Registers this object as a Microservice, making it available to every module and/or plugin.
 
std::string GetMicroserviceID ()
 Returns the id that this device is registered with. The id will only be valid, if the NavigationDataSource has been registered using RegisterAsMicroservice().
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *graft)
 Graft the specified DataObject onto this ProcessObject's output.
 
virtual void GraftOutput (itk::DataObject *graft)
 Graft the specified DataObject onto this ProcessObject's output.
 
itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
 
virtual void SetParameters (const mitk::PropertyList *)
 Set all filter parameters as the PropertyList p.
 
virtual mitk::PropertyList::ConstPointer GetParameters () const
 Get all filter parameters as a PropertyList.
 
virtual void Freeze ()
 
virtual void UnFreeze ()
 
 itkGetMacro (IsFrozen, bool)
 

Protected Member Functions

 NavigationDataHandEyeCalibrationFilter ()
 Constructor.
 
 ~NavigationDataHandEyeCalibrationFilter () override
 Destructor.
 
- Protected Member Functions inherited from mitk::NavigationDataToNavigationDataFilter
 NavigationDataToNavigationDataFilter ()
 
 ~NavigationDataToNavigationDataFilter () override
 
void CreateOutputsForAllInputs ()
 Create an output for each input.
 
- Protected Member Functions inherited from mitk::NavigationDataSource
 NavigationDataSource ()
 
 ~NavigationDataSource () override
 

Protected Attributes

std::map< int, BaseData::Pointer > m_ObjectsToTransform
 Map of the BaseDatas that should be transformed.
 
std::map< int, Transform::Pointer > m_HandEyeTransformations
 Map of the hand-eye transformations that should be applied to the BaseDatas.
 
- Protected Attributes inherited from mitk::NavigationDataSource
std::string m_Name
 
bool m_IsFrozen
 
NavigationToolStorage::Pointer m_ToolMetaDataCollection
 

Additional Inherited Members

- Static Public Attributes inherited from mitk::NavigationDataSource
static const std::string US_INTERFACE_NAME = "org.mitk.services.NavigationDataSource"
 These Constants are used in conjunction with Microservices.
 
static const std::string US_PROPKEY_DEVICENAME = US_INTERFACE_NAME + ".devicename"
 
static const std::string US_PROPKEY_ID = US_INTERFACE_NAME + ".id"
 
static const std::string US_PROPKEY_ISACTIVE = US_INTERFACE_NAME + ".isActive"
 

Detailed Description

IGT filter applying a Hand-Eye transformation to a given BaseData according to the current NavigationDataTransformation. The resulting BaseData is then given in tracking coordinates.

Inputs: NavigationData(s), object(s) to transform (BaseData), hand-eye transformation (itk::QuaternionRigidTransform)

Derived from NavigationDataToNavigationDataFilter

Definition at line 35 of file mitkNavigationDataHandEyeCalibrationFilter.h.

Member Typedef Documentation

◆ QuaternionRigidTransformType

transformation type for itk::QuaternionRigidTransforms

Definition at line 47 of file mitkNavigationDataHandEyeCalibrationFilter.h.

Constructor & Destructor Documentation

◆ NavigationDataHandEyeCalibrationFilter()

mitk::NavigationDataHandEyeCalibrationFilter::NavigationDataHandEyeCalibrationFilter ( )
protected

Constructor.

Definition at line 17 of file mitkNavigationDataHandEyeCalibrationFilter.cpp.

◆ ~NavigationDataHandEyeCalibrationFilter()

mitk::NavigationDataHandEyeCalibrationFilter::~NavigationDataHandEyeCalibrationFilter ( )
overrideprotected

Destructor.

Definition at line 24 of file mitkNavigationDataHandEyeCalibrationFilter.cpp.

Member Function Documentation

◆ GenerateData()

void mitk::NavigationDataHandEyeCalibrationFilter::GenerateData ( )
override

◆ itkCloneMacro()

mitk::NavigationDataHandEyeCalibrationFilter::itkCloneMacro ( Self )

◆ itkFactorylessNewMacro()

mitk::NavigationDataHandEyeCalibrationFilter::itkFactorylessNewMacro ( Self )

◆ mitkClassMacro()

mitk::NavigationDataHandEyeCalibrationFilter::mitkClassMacro ( NavigationDataHandEyeCalibrationFilter ,
NavigationDataToNavigationDataFilter  )

◆ SetHandEyeTransformation()

void mitk::NavigationDataHandEyeCalibrationFilter::SetHandEyeTransformation ( unsigned int index,
Transform::Pointer handEyeTransform )

Set the transformation of the HandEyeCalibration that should be applied to the BaseData with the current transformation of the Navigation Data.

Parameters
indexindex corresponding to the NavigationData applied with this hand-eye transformation
handEyeTransformtransformation of a previously performed hand-eye calibration corresponding to the NavigationData at index

Definition at line 35 of file mitkNavigationDataHandEyeCalibrationFilter.cpp.

◆ SetObjectToTransform()

void mitk::NavigationDataHandEyeCalibrationFilter::SetObjectToTransform ( unsigned int index,
BaseData * data )

Set the object that will be transformed to tracking coordinates using the current NavigationData and the given transformation of the HandEyeCalibration.

Parameters
indexindex corresponding to the NavigationData and hand-eye transformation to be applied to this BaseData
dataBaseData to be associated to the index

Definition at line 30 of file mitkNavigationDataHandEyeCalibrationFilter.cpp.

Member Data Documentation

◆ m_HandEyeTransformations

std::map<int,Transform::Pointer> mitk::NavigationDataHandEyeCalibrationFilter::m_HandEyeTransformations
protected

Map of the hand-eye transformations that should be applied to the BaseDatas.

Definition at line 90 of file mitkNavigationDataHandEyeCalibrationFilter.h.

◆ m_ObjectsToTransform

std::map<int,BaseData::Pointer> mitk::NavigationDataHandEyeCalibrationFilter::m_ObjectsToTransform
protected

Map of the BaseDatas that should be transformed.

Definition at line 86 of file mitkNavigationDataHandEyeCalibrationFilter.h.


The documentation for this class was generated from the following files: