7 #ifndef __vtkPlusPhantomLinearObjectRegistrationAlgo_h 8 #define __vtkPlusPhantomLinearObjectRegistrationAlgo_h 10 #include "vtkPlusCalibrationExport.h" 16 #include "PlusConfigure.h" 17 #include "vtkDoubleArray.h" 18 #include "vtkMatrix4x4.h" 19 #include "vtkObject.h" 20 #include "vtkPoints.h" 23 class vtkXMLDataElement;
43 PlusStatus LinearObjectRegister(vtkIGSIOTransformRepository* aTransformRepository = NULL);
49 PlusStatus ReadConfiguration(vtkXMLDataElement* aConfig);
58 Planes* GetDefinedPlanesFromXML();
60 Planes* GetUserRecordedPlanes();
62 PlusStatus InsertNextCalibrationPoint(vtkMatrix4x4* aMarkerToReferenceTransformMatrix);
71 vtkGetMacro(RegistrationError,
double);
73 vtkGetObjectMacro(PhantomToReferenceTransformMatrix, vtkMatrix4x4);
74 vtkSetObjectMacro(PhantomToReferenceTransformMatrix, vtkMatrix4x4);
76 vtkGetObjectMacro(RecordedPoints, vtkPoints);
78 vtkGetStringMacro(PhantomCoordinateFrame);
79 vtkGetStringMacro(ReferenceCoordinateFrame);
80 vtkGetStringMacro(StylusTipCoordinateFrame);
87 void SetDefinedPlanesFromXML(
Planes* planes);
90 void SetRecordedPlanes(
Planes* planes);
94 vtkSetObjectMacro(RecordedPoints, vtkPoints);
96 vtkSetObjectMacro(MarkerToReferenceTransformMatrixArray, vtkDoubleArray);
98 vtkSetStringMacro(PhantomCoordinateFrame);
99 vtkSetStringMacro(ReferenceCoordinateFrame);
100 vtkSetStringMacro(StylusTipCoordinateFrame);
std::string GetDefinedPlaneName(int aIndex)
References RecordedReferences
char * PhantomCoordinateFrame
std::vector< std::string > DefinedPlaneNames
References DefinedReferences
vtkMatrix4x4 * PhantomToReferenceTransformMatrix
Landmark registration to determine the Phantom pose relative to the attached marker (PhantomReference...
std::vector< std::string > DefinedReferenceNames
char * StylusTipCoordinateFrame
vtkDoubleArray * MarkerToReferenceTransformMatrixArray
char * ReferenceCoordinateFrame
static std::string GetConfigurationElementName()
vtkPoints * RecordedPoints
static std::string ConfigurationElementName