Public Types | |
typedef TrackingToolTestClass | Self |
typedef mitk::TrackingTool | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual void | GetPosition (mitk::Point3D &) const |
returns the current position of the tool as an array of three floats (in the tracking device coordinate system) | |
virtual void | GetOrientation (mitk::Quaternion &) const |
returns the current orientation of the tool as a quaternion in a mitk::Point4D (in the tracking device coordinate system) | |
virtual bool | Enable () |
enables the tool, so that it will be tracked | |
virtual bool | Disable () |
disables the tool, so that it will not be tracked anymore | |
virtual bool | IsEnabled () const |
returns whether the tool is enabled or disabled | |
virtual bool | IsDataValid () const |
returns true if the current position data is valid (no error during tracking, tracking error below threshold, ...) | |
virtual float | GetTrackingError () const |
returns one value that corresponds to the overall tracking error. | |
Static Public Member Functions | |
static Pointer | New () |
Create new class and derive it from TrackingDevice
Definition at line 29 of file mitkTrackingToolTest.cpp.
typedef itk::SmartPointer<const Self> TrackingToolTestClass::ConstPointer |
Reimplemented from mitk::TrackingTool.
Definition at line 33 of file mitkTrackingToolTest.cpp.
typedef itk::SmartPointer<Self> TrackingToolTestClass::Pointer |
Reimplemented from mitk::TrackingTool.
Definition at line 33 of file mitkTrackingToolTest.cpp.
Reimplemented from mitk::TrackingTool.
Definition at line 33 of file mitkTrackingToolTest.cpp.
Reimplemented from mitk::TrackingTool.
Definition at line 33 of file mitkTrackingToolTest.cpp.
virtual bool TrackingToolTestClass::Disable | ( | ) | [inline, virtual] |
disables the tool, so that it will not be tracked anymore
Implements mitk::TrackingTool.
Definition at line 39 of file mitkTrackingToolTest.cpp.
{return true;}
virtual bool TrackingToolTestClass::Enable | ( | ) | [inline, virtual] |
enables the tool, so that it will be tracked
Implements mitk::TrackingTool.
Definition at line 38 of file mitkTrackingToolTest.cpp.
{return true;}
virtual const char* TrackingToolTestClass::GetClassName | ( | ) | const [virtual] |
Reimplemented from mitk::TrackingTool.
virtual void TrackingToolTestClass::GetOrientation | ( | mitk::Quaternion & | orientation ) | const [inline, virtual] |
returns the current orientation of the tool as a quaternion in a mitk::Point4D (in the tracking device coordinate system)
Implements mitk::TrackingTool.
Definition at line 37 of file mitkTrackingToolTest.cpp.
{};
virtual void TrackingToolTestClass::GetPosition | ( | mitk::Point3D & | position ) | const [inline, virtual] |
returns the current position of the tool as an array of three floats (in the tracking device coordinate system)
Implements mitk::TrackingTool.
Definition at line 36 of file mitkTrackingToolTest.cpp.
{};
virtual float TrackingToolTestClass::GetTrackingError | ( | ) | const [inline, virtual] |
returns one value that corresponds to the overall tracking error.
Implements mitk::TrackingTool.
Definition at line 42 of file mitkTrackingToolTest.cpp.
{return 0.0;}
virtual bool TrackingToolTestClass::IsDataValid | ( | ) | const [inline, virtual] |
returns true if the current position data is valid (no error during tracking, tracking error below threshold, ...)
Implements mitk::TrackingTool.
Definition at line 41 of file mitkTrackingToolTest.cpp.
{return true;}
virtual bool TrackingToolTestClass::IsEnabled | ( | ) | const [inline, virtual] |
returns whether the tool is enabled or disabled
Implements mitk::TrackingTool.
Definition at line 40 of file mitkTrackingToolTest.cpp.
{return true;}
static Pointer TrackingToolTestClass::New | ( | ) | [static] |
Referenced by mitkTrackingToolTest().