This filter creates mitk::PointSet objects from mitk::NavigaitionData objects.
More...
#include <mitkNavigationDataToPointSetFilter.h>
This filter creates mitk::PointSet objects from mitk::NavigaitionData objects.
Documentation
This filter has two modes that can be set with SetOperationMode().
- Mode3D: every input NavigationData is processed into one output pointset. For each call to Update() a point with the ND position will be added to the PointSet
- Mode4D: one output pointset is generated that contains one point for each input NavigationData. Each call to Update() adds a new timestep to the PointSet that contains new positions for the points.
Definition at line 35 of file mitkNavigationDataToPointSetFilter.h.
◆ OperationMode
There are two different operation modes.
Documentation
- Mode3D: every input NavigationData is processed into one output pointset that contains a point with the ND position for each Update()
- Mode3DMean: a defined number of input NavigationData is used to generate a mean position and processed into one output pointset that contains a point with the ND position for each Update()
- Mode4D: one output pointset is generated that contains one point for each input NavigationData. Each call to Update() adds a new timestep to the PointSet that contains new positions for the points. The RingBufferSize limits the number of timesteps in the 4D mode. It currently does not limit the number of points in the 3D mode.
Enumerator |
---|
Mode3D | |
Mode3DMean | |
Mode4D | |
Definition at line 50 of file mitkNavigationDataToPointSetFilter.h.
◆ NavigationDataToPointSetFilter()
mitk::NavigationDataToPointSetFilter::NavigationDataToPointSetFilter |
( |
| ) |
|
|
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!
◆ ~NavigationDataToPointSetFilter()
mitk::NavigationDataToPointSetFilter::~NavigationDataToPointSetFilter |
( |
| ) |
|
|
overrideprotected |
◆ Clone()
Pointer mitk::NavigationDataToPointSetFilter::Clone |
( |
| ) |
const |
◆ CreateOutputsForAllInputs()
virtual void mitk::NavigationDataToPointSetFilter::CreateOutputsForAllInputs |
( |
| ) |
|
|
protectedvirtual |
create output objects according to OperationMode for all inputs
◆ GenerateData()
void mitk::NavigationDataToPointSetFilter::GenerateData |
( |
| ) |
|
|
override |
◆ GenerateDataMode3D()
virtual void mitk::NavigationDataToPointSetFilter::GenerateDataMode3D |
( |
| ) |
|
|
protectedvirtual |
Generates the output for Mode3D.
◆ GenerateDataMode3DMean()
virtual void mitk::NavigationDataToPointSetFilter::GenerateDataMode3DMean |
( |
| ) |
|
|
protectedvirtual |
Generates the output for Mode3DMean.
◆ GenerateDataMode4D()
virtual void mitk::NavigationDataToPointSetFilter::GenerateDataMode4D |
( |
| ) |
|
|
protectedvirtual |
Generates the output for Mode4D.
◆ GenerateOutputInformation()
void mitk::NavigationDataToPointSetFilter::GenerateOutputInformation |
( |
| ) |
|
|
inlineoverride |
◆ GetInput() [1/2]
Returns the input of this filter.
◆ GetInput() [2/2]
Returns the input number idx of this filter.
◆ GetNumberForMean()
virtual unsigned int mitk::NavigationDataToPointSetFilter::GetNumberForMean |
( |
| ) |
|
|
virtual |
Gets the number of Navigation Data, which should be averaged.
◆ GetOperationMode()
virtual OperationMode mitk::NavigationDataToPointSetFilter::GetOperationMode |
( |
| ) |
const |
|
virtual |
returns the mode of this filter.
See OperationMode for the behavior in the different modes
◆ mitkClassMacro()
◆ New()
static Pointer mitk::NavigationDataToPointSetFilter::New |
( |
| ) |
|
|
static |
◆ SetInput() [1/2]
virtual void mitk::NavigationDataToPointSetFilter::SetInput |
( |
const mitk::NavigationData * |
NavigationData | ) |
|
|
virtual |
◆ SetInput() [2/2]
virtual void mitk::NavigationDataToPointSetFilter::SetInput |
( |
unsigned int |
idx, |
|
|
const NavigationData * |
nd |
|
) |
| |
|
virtual |
◆ SetNumberForMean()
virtual void mitk::NavigationDataToPointSetFilter::SetNumberForMean |
( |
unsigned int |
_arg | ) |
|
|
virtual |
Sets the number of Navigation Data, which should be averaged.
◆ SetOperationMode()
virtual void mitk::NavigationDataToPointSetFilter::SetOperationMode |
( |
OperationMode |
mode | ) |
|
|
virtual |
Sets the mode of this filter.
See OperationMode for the behavior in the different modes
- Warning
- A call to this method will change the number of outputs of the filter. After calling this method, all previously acquired pointers to outputs are invalid Always set the operation mode first, then get the outputs with GetOutput()
◆ SetRingBufferSize()
virtual void mitk::NavigationDataToPointSetFilter::SetRingBufferSize |
( |
unsigned int |
_arg | ) |
|
|
virtual |
Sets the size for the ring buffer.
Documentation The size determines the maximum number of timesteps in 4D mode and the number of points in 3D mode of the output PointSet
◆ m_CurrentTimeStep
unsigned int mitk::NavigationDataToPointSetFilter::m_CurrentTimeStep |
|
protected |
◆ m_NumberForMean
unsigned int mitk::NavigationDataToPointSetFilter::m_NumberForMean |
|
protected |
◆ m_OperationMode
OperationMode mitk::NavigationDataToPointSetFilter::m_OperationMode |
|
protected |
◆ m_RingBufferSize
unsigned int mitk::NavigationDataToPointSetFilter::m_RingBufferSize |
|
protected |
The documentation for this class was generated from the following file: