MITK-IGT
IGT Extension of MITK
|
This filter creates mitk::PointSet objects from mitk::NavigaitionData objects. More...
#include <mitkNavigationDataToPointSetFilter.h>
Public Types | |
enum | OperationMode { Mode3D , Mode3DMean , Mode4D } |
There are two different operation modes. More... | |
Public Member Functions | |
mitkClassMacro (NavigationDataToPointSetFilter, PointSetSource) | |
itkFactorylessNewMacro (Self) | |
itkCloneMacro (Self) | |
itkSetMacro (RingBufferSize, unsigned int) | |
Sets the size for the ring buffer. | |
itkSetMacro (NumberForMean, unsigned int) | |
Sets the number of Navigation Data, which should be averaged. | |
itkGetMacro (NumberForMean, unsigned int) | |
Gets the number of Navigation Data, which should be averaged. | |
void | GenerateData () override |
filter execute method | |
virtual void | SetInput (const mitk::NavigationData *NavigationData) |
Sets one input NavigationData. | |
virtual void | SetInput (unsigned int idx, const NavigationData *nd) |
Sets the input NavigationData at a specific index. | |
const mitk::NavigationData * | GetInput () |
Returns the input of this filter. | |
const mitk::NavigationData * | GetInput (unsigned int idx) |
Returns the input number idx of this filter. | |
virtual void | SetOperationMode (OperationMode mode) |
Sets the mode of this filter. | |
itkGetConstMacro (OperationMode, OperationMode) | |
returns the mode of this filter. | |
void | GenerateOutputInformation () override |
Protected Member Functions | |
NavigationDataToPointSetFilter () | |
empty implementation to prevent calling of the superclass method that would try to copy information from the input NavigationData to the output PointSet, which makes no sense! | |
~NavigationDataToPointSetFilter () override | |
virtual void | GenerateDataMode3D () |
Generates the output for Mode3D. | |
virtual void | GenerateDataMode3DMean () |
Generates the output for Mode3DMean. | |
virtual void | GenerateDataMode4D () |
Generates the output for Mode4D. | |
virtual void | CreateOutputsForAllInputs () |
create output objects according to OperationMode for all inputs | |
Protected Attributes | |
OperationMode | m_OperationMode |
Stores the mode. See enum OperationMode. | |
unsigned int | m_RingBufferSize |
Stores the ringbuffer size. | |
unsigned int | m_CurrentTimeStep |
Indicates the current timestamp. | |
unsigned int | m_NumberForMean |
Number of Navigation Data, which should be averaged. | |
This filter creates mitk::PointSet objects from mitk::NavigaitionData objects.
Documentation
This filter has two modes that can be set with SetOperationMode().
Definition at line 35 of file mitkNavigationDataToPointSetFilter.h.
There are two different operation modes.
Documentation
Enumerator | |
---|---|
Mode3D | |
Mode3DMean | |
Mode4D |
Definition at line 50 of file mitkNavigationDataToPointSetFilter.h.
|
protected |
empty implementation to prevent calling of the superclass method that would try to copy information from the input NavigationData to the output PointSet, which makes no sense!
Definition at line 19 of file mitkNavigationDataToPointSetFilter.cpp.
|
overrideprotected |
Definition at line 33 of file mitkNavigationDataToPointSetFilter.cpp.
|
protectedvirtual |
create output objects according to OperationMode for all inputs
Definition at line 88 of file mitkNavigationDataToPointSetFilter.cpp.
|
override |
filter execute method
Definition at line 37 of file mitkNavigationDataToPointSetFilter.cpp.
|
protectedvirtual |
Generates the output for Mode3D.
Definition at line 118 of file mitkNavigationDataToPointSetFilter.cpp.
|
protectedvirtual |
Generates the output for Mode3DMean.
read n times all connected inputs and sum them into outputs. Finish with dividing each output by n.
Definition at line 137 of file mitkNavigationDataToPointSetFilter.cpp.
|
protectedvirtual |
Generates the output for Mode4D.
Definition at line 221 of file mitkNavigationDataToPointSetFilter.cpp.
|
inlineoverride |
Definition at line 120 of file mitkNavigationDataToPointSetFilter.h.
const mitk::NavigationData * mitk::NavigationDataToPointSetFilter::GetInput | ( | void | ) |
Returns the input of this filter.
Definition at line 72 of file mitkNavigationDataToPointSetFilter.cpp.
const mitk::NavigationData * mitk::NavigationDataToPointSetFilter::GetInput | ( | unsigned int | idx | ) |
Returns the input number idx of this filter.
Definition at line 80 of file mitkNavigationDataToPointSetFilter.cpp.
mitk::NavigationDataToPointSetFilter::itkCloneMacro | ( | Self | ) |
mitk::NavigationDataToPointSetFilter::itkFactorylessNewMacro | ( | Self | ) |
mitk::NavigationDataToPointSetFilter::itkGetConstMacro | ( | OperationMode | , |
OperationMode | ) |
returns the mode of this filter.
See OperationMode for the behavior in the different modes
mitk::NavigationDataToPointSetFilter::itkGetMacro | ( | NumberForMean | , |
unsigned int | ) |
Gets the number of Navigation Data, which should be averaged.
mitk::NavigationDataToPointSetFilter::itkSetMacro | ( | NumberForMean | , |
unsigned int | ) |
Sets the number of Navigation Data, which should be averaged.
mitk::NavigationDataToPointSetFilter::itkSetMacro | ( | RingBufferSize | , |
unsigned int | ) |
mitk::NavigationDataToPointSetFilter::mitkClassMacro | ( | NavigationDataToPointSetFilter | , |
PointSetSource | ) |
|
virtual |
Sets one input NavigationData.
Definition at line 56 of file mitkNavigationDataToPointSetFilter.cpp.
|
virtual |
Sets the input NavigationData at a specific index.
Definition at line 64 of file mitkNavigationDataToPointSetFilter.cpp.
|
virtual |
Sets the mode of this filter.
See OperationMode for the behavior in the different modes
Definition at line 239 of file mitkNavigationDataToPointSetFilter.cpp.
|
protected |
Indicates the current timestamp.
Definition at line 151 of file mitkNavigationDataToPointSetFilter.h.
|
protected |
Number of Navigation Data, which should be averaged.
Definition at line 152 of file mitkNavigationDataToPointSetFilter.h.
|
protected |
Stores the mode. See enum OperationMode.
Definition at line 149 of file mitkNavigationDataToPointSetFilter.h.
|
protected |
Stores the ringbuffer size.
Definition at line 150 of file mitkNavigationDataToPointSetFilter.h.