|
MITK-IGT
IGT Extension of MITK
|
An object of this class represents the interface to the MicronTracker. The methods of this class are calling the c-functions which are provided by the MTC-library. If the MicronTracker is not in use, which means the CMake-variable "MITK_USE_MICRON_TRACKER" is set to OFF, this class is replaced by a stub class called "ClaronInterfaceStub". More...
#include <mitkClaronInterface.h>
Public Member Functions | |
| mitkClassMacroItkParent (ClaronInterface, itk::Object) | |
| itkFactorylessNewMacro (Self) | |
| itkCloneMacro(Self) void Initialize(std bool | StartTracking () |
| Initialization of claroninterface. | |
| bool | StopTracking () |
| Clears all resources. After this method have been called the system isn't ready to track any longer. | |
| std::vector< claronToolHandle > | GetAllActiveTools () |
| std::vector< double > | GetTipPosition (claronToolHandle c) |
| std::vector< double > | GetTipQuaternions (claronToolHandle c) |
| std::vector< double > | GetPosition (claronToolHandle c) |
| std::vector< double > | GetQuaternions (claronToolHandle c) |
| const char * | GetName (claronToolHandle c) |
| void | GrabFrame () |
| Grabs a frame from the camera. | |
| bool | IsTracking () |
| bool | IsMicronTrackerInstalled () |
| mitkClassMacroItkParent (ClaronInterface, itk::Object) | |
| itkFactorylessNewMacro (Self) | |
| itkCloneMacro(Self) void Initialize(std bool | StartTracking () |
| Initialization of claroninterface. | |
| bool | StopTracking () |
| This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker. | |
| std::vector< claronToolHandle > | GetAllActiveTools () |
| This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker. | |
| std::vector< double > | GetTipPosition (claronToolHandle c) |
| This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker. | |
| std::vector< double > | GetTipQuaternions (claronToolHandle c) |
| This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker. | |
| std::vector< double > | GetPosition (claronToolHandle c) |
| This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker. | |
| std::vector< double > | GetQuaternions (claronToolHandle c) |
| This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker. | |
| const char * | GetName (claronToolHandle c) |
| This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker. | |
| void | GrabFrame () |
| This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker. | |
| bool | IsMicronTrackerInstalled () |
Protected Member Functions | |
| ClaronInterface () | |
| standard constructor | |
| ~ClaronInterface () override | |
| standard destructor | |
| ClaronInterface () | |
| standard constructor | |
| ~ClaronInterface () override | |
| standard destructor | |
Protected Attributes | |
| bool | isTracking |
| Variable is true if the device is tracking at the moment, false if not. | |
| char | calibrationDir [512] |
| Variable which holds the directory which should contain the file BumbleBee_6400420.calib. This directory is needed by the MTC library. | |
| char | markerDir [512] |
| Variable which holds a directory with some tool files in it. All this tools are trackable when the path is given to the MTC library. | |
| mtHandle | IdentifiedMarkers |
| mtHandle | PoseXf |
| mtHandle | CurrCamera |
| mtHandle | IdentifyingCamera |
An object of this class represents the interface to the MicronTracker. The methods of this class are calling the c-functions which are provided by the MTC-library. If the MicronTracker is not in use, which means the CMake-variable "MITK_USE_MICRON_TRACKER" is set to OFF, this class is replaced by a stub class called "ClaronInterfaceStub".
An object of this class represents the interface to the MicronTracker. Normally the methods of this class are calling the c-functions which are provided by the MTC-library. But in this case the MicronTracker is not installed and so we only have stubs here. These stubs send error messages when you try to call the methods.
Documentation:
Definition at line 38 of file mitkClaronInterfaceStub.h.
|
protected |
standard constructor
Definition at line 19 of file mitkClaronInterface.cpp.
|
overrideprotected |
standard destructor
Definition at line 26 of file mitkClaronInterface.cpp.
|
protected |
standard constructor
|
overrideprotected |
standard destructor
| std::vector< mitk::claronToolHandle > mitk::ClaronInterface::GetAllActiveTools | ( | ) |
Definition at line 116 of file mitkClaronInterface.cpp.
| std::vector< claronToolHandle > mitk::ClaronInterface::GetAllActiveTools | ( | ) |
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker.
| const char * mitk::ClaronInterface::GetName | ( | claronToolHandle | c | ) |
| c | The handle of the tool, which name should be given back. |
Definition at line 271 of file mitkClaronInterface.cpp.
| const char * mitk::ClaronInterface::GetName | ( | claronToolHandle | c | ) |
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker.
| std::vector< double > mitk::ClaronInterface::GetPosition | ( | claronToolHandle | c | ) |
Definition at line 171 of file mitkClaronInterface.cpp.
| std::vector< double > mitk::ClaronInterface::GetPosition | ( | claronToolHandle | c | ) |
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker.
| std::vector< double > mitk::ClaronInterface::GetQuaternions | ( | claronToolHandle | c | ) |
Definition at line 233 of file mitkClaronInterface.cpp.
| std::vector< double > mitk::ClaronInterface::GetQuaternions | ( | claronToolHandle | c | ) |
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker.
| std::vector< double > mitk::ClaronInterface::GetTipPosition | ( | mitk::claronToolHandle | c | ) |
Definition at line 144 of file mitkClaronInterface.cpp.
| std::vector< double > mitk::ClaronInterface::GetTipPosition | ( | claronToolHandle | c | ) |
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker.
| std::vector< double > mitk::ClaronInterface::GetTipQuaternions | ( | claronToolHandle | c | ) |
Definition at line 188 of file mitkClaronInterface.cpp.
| std::vector< double > mitk::ClaronInterface::GetTipQuaternions | ( | claronToolHandle | c | ) |
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker.
| void mitk::ClaronInterface::GrabFrame | ( | ) |
Grabs a frame from the camera.
Definition at line 138 of file mitkClaronInterface.cpp.
| void mitk::ClaronInterface::GrabFrame | ( | ) |
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker.
| bool mitk::ClaronInterface::IsMicronTrackerInstalled | ( | ) |
Definition at line 284 of file mitkClaronInterface.cpp.
| bool mitk::ClaronInterface::IsMicronTrackerInstalled | ( | ) |
| bool mitk::ClaronInterface::IsTracking | ( | ) |
Definition at line 279 of file mitkClaronInterface.cpp.
| mitk::ClaronInterface::itkFactorylessNewMacro | ( | Self | ) |
| mitk::ClaronInterface::itkFactorylessNewMacro | ( | Self | ) |
| mitk::ClaronInterface::mitkClassMacroItkParent | ( | ClaronInterface | , |
| itk::Object | ) |
| mitk::ClaronInterface::mitkClassMacroItkParent | ( | ClaronInterface | , |
| itk::Object | ) |
| bool mitk::ClaronInterface::StartTracking | ( | ) |
Initialization of claroninterface.
| calibrationDir | The directory where the device can find the camera calibration file. |
| toolFilesDir | The directory for the tool files. |
Opens the connection to the device and makes it ready to track tools.
Definition at line 42 of file mitkClaronInterface.cpp.
| itkCloneMacro(Self) void Initialize(std bool mitk::ClaronInterface::StartTracking | ( | ) |
Initialization of claroninterface.
| calibrationDir | The directory where the device can find the camera calibration file. |
| toolFilesDir | The directory for the tool files. |
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker.
| bool mitk::ClaronInterface::StopTracking | ( | ) |
Clears all resources. After this method have been called the system isn't ready to track any longer.
Definition at line 95 of file mitkClaronInterface.cpp.
| bool mitk::ClaronInterface::StopTracking | ( | ) |
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the Microntracker.
|
protected |
Variable which holds the directory which should contain the file BumbleBee_6400420.calib. This directory is needed by the MTC library.
Definition at line 132 of file mitkClaronInterface.h.
|
protected |
Definition at line 139 of file mitkClaronInterface.h.
|
protected |
Definition at line 137 of file mitkClaronInterface.h.
|
protected |
Definition at line 140 of file mitkClaronInterface.h.
|
protected |
Variable is true if the device is tracking at the moment, false if not.
Definition at line 129 of file mitkClaronInterface.h.
|
protected |
Variable which holds a directory with some tool files in it. All this tools are trackable when the path is given to the MTC library.
Definition at line 134 of file mitkClaronInterface.h.
|
protected |
Definition at line 138 of file mitkClaronInterface.h.