Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
NavigationDataTransformFilter applies an user-defined rigid transformation on navigation data objects. Input navigation data are mapped 1:1 on output navigation data. To run the filter SetRigid3DTransform(TransformType::Pointer transform) has to be called first. More...
#include <mitkNavigationDataTransformFilter.h>
Public Types | |
typedef itk::VersorRigid3DTransform< double > | TransformType |
Public Member Functions | |
mitkClassMacro (NavigationDataTransformFilter, NavigationDataToNavigationDataFilter) | |
Pointer | Clone () const |
virtual void | SetRigid3DTransform (TransformType *_arg) |
Set the rigid transform used to transform the input navigation data. More... | |
virtual const TransformType * | GetRigid3DTransform () |
virtual void | SetPrecompose (bool _arg) |
Set transform composition order. More... | |
virtual bool | GetPrecompose () |
virtual void | PrecomposeOn () |
virtual void | PrecomposeOff () |
![]() | |
mitkClassMacro (NavigationDataToNavigationDataFilter, NavigationDataSource) | |
virtual void | SetInput (const NavigationData *nd) |
Set the input of this filter. More... | |
virtual void | SetInput (unsigned int idx, const NavigationData *nd) |
Set input with id idx of this filter. More... | |
const NavigationData * | GetInput (void) const |
Get the input of this filter. More... | |
const NavigationData * | GetInput (unsigned int idx) const |
Get the input with id idx of this filter. More... | |
const NavigationData * | GetInput (std::string navDataName) const |
Get the input with name navDataName of this filter. More... | |
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 More... | |
virtual void | ConnectTo (mitk::NavigationDataSource *UpstreamFilter) |
Connects the input of this filter to the outputs of the given NavigationDataSource. More... | |
![]() | |
mitkClassMacroItkParent (NavigationDataSource, itk::ProcessObject) | |
virtual std::string | GetName () |
virtual void | SetName (std::string _arg) |
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. More... | |
NavigationData * | GetOutput (void) |
return the output (output with id 0) of the filter More... | |
NavigationData * | GetOutput (DataObjectPointerArraySizeType idx) |
return the output with id idx of the filter More... | |
NavigationData * | GetOutput (const std::string &navDataName) |
return the output with name navDataName of the filter More... | |
DataObjectPointerArraySizeType | GetOutputIndex (std::string navDataName) |
return the index of the output with name navDataName, -1 if no output with that name was found More... | |
virtual void | RegisterAsMicroservice () |
Registers this object as a Microservice, making it available to every module and/or plugin. To unregister, call UnregisterMicroservice(). More... | |
virtual void | UnRegisterMicroservice () |
Registers this object as a Microservice, making it available to every module and/or plugin. More... | |
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(). More... | |
virtual void | GraftNthOutput (unsigned int idx, itk::DataObject *graft) |
Graft the specified DataObject onto this ProcessObject's output. More... | |
virtual void | GraftOutput (itk::DataObject *graft) |
Graft the specified DataObject onto this ProcessObject's output. More... | |
virtual itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
virtual itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
virtual void | SetParameters (const mitk::PropertyList *) |
Set all filter parameters as the PropertyList p. More... | |
virtual mitk::PropertyList::ConstPointer | GetParameters () const |
Get all filter parameters as a PropertyList. More... | |
virtual void | Freeze () |
virtual void | UnFreeze () |
virtual bool | GetIsFrozen () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
NavigationDataTransformFilter () | |
virtual | ~NavigationDataTransformFilter () |
virtual void | GenerateData () override |
filter execute method More... | |
![]() | |
NavigationDataToNavigationDataFilter () | |
virtual | ~NavigationDataToNavigationDataFilter () |
void | CreateOutputsForAllInputs () |
Create an output for each input. More... | |
![]() | |
NavigationDataSource () | |
virtual | ~NavigationDataSource () |
Protected Attributes | |
TransformType::Pointer | m_Rigid3DTransform |
transform which will be applied on navigation data(s) More... | |
bool | m_Precompose |
![]() | |
std::string | m_Name |
bool | m_IsFrozen |
Additional Inherited Members | |
![]() | |
static const std::string | US_INTERFACE_NAME |
These Constants are used in conjunction with Microservices. More... | |
static const std::string | US_PROPKEY_DEVICENAME |
static const std::string | US_PROPKEY_ID |
static const std::string | US_PROPKEY_ISACTIVE |
NavigationDataTransformFilter applies an user-defined rigid transformation on navigation data objects. Input navigation data are mapped 1:1 on output navigation data. To run the filter SetRigid3DTransform(TransformType::Pointer transform) has to be called first.
Documentation
Definition at line 34 of file mitkNavigationDataTransformFilter.h.
typedef itk::VersorRigid3DTransform< double > mitk::NavigationDataTransformFilter::TransformType |
Definition at line 43 of file mitkNavigationDataTransformFilter.h.
|
protected |
Definition at line 20 of file mitkNavigationDataTransformFilter.cpp.
References m_Precompose, and m_Rigid3DTransform.
|
protectedvirtual |
Definition at line 28 of file mitkNavigationDataTransformFilter.cpp.
Pointer mitk::NavigationDataTransformFilter::Clone | ( | ) | const |
|
overrideprotectedvirtual |
filter execute method
Documentation transforms navigation data
Definition at line 33 of file mitkNavigationDataTransformFilter.cpp.
References mitk::FillVector3D(), mitk::NavigationData::GetOrientation(), mitk::NavigationData::GetPosition(), mitk::NavigationData::IsDataValid(), mitk::New(), mitk::NavigationData::SetDataValid(), mitk::NavigationData::SetOrientation(), and mitk::NavigationData::SetPosition().
|
virtual |
|
virtual |
mitk::NavigationDataTransformFilter::mitkClassMacro | ( | NavigationDataTransformFilter | , |
NavigationDataToNavigationDataFilter | |||
) |
|
static |
|
virtual |
|
virtual |
|
virtual |
Set transform composition order.
Documentation If precompose is true, then transform is precomposed with the input NavigationData transform; that is, the resulting transformation consists of first applying transform, then applying the input NavigationData transformation.
If precompose is false or omitted, then transform is post-composed with the input NavigationData transform; that is the resulting transformation consists of first applying the NavigationData transformation, followed by transform.
|
virtual |
Set the rigid transform used to transform the input navigation data.
Documentation
|
protected |
Definition at line 85 of file mitkNavigationDataTransformFilter.h.
Referenced by NavigationDataTransformFilter().
|
protected |
transform which will be applied on navigation data(s)
Definition at line 84 of file mitkNavigationDataTransformFilter.h.
Referenced by NavigationDataTransformFilter().