7 #ifndef __vtkPlusCenterOfRotationCalibAlgo_h 8 #define __vtkPlusCenterOfRotationCalibAlgo_h 10 #include "PlusConfigure.h" 11 #include "vtkPlusCalibrationExport.h" 13 #include "vtkObject.h" 15 #include "vtkIGSIOTrackedFrameList.h" 57 virtual void PrintSelf(ostream& os, vtkIndent indent)
VTK_OVERRIDE;
65 virtual void SetInputs(vtkIGSIOTrackedFrameList* trackedFrameList, std::vector<int>& indices,
double spacing[2]);
68 virtual PlusStatus GetCenterOfRotationPx(
double centerOfRotationPx[2]);
71 virtual PlusStatus GetError(
double& mean,
double& stdev);
74 vtkGetObjectMacro(ReportTable, vtkTable);
87 static PlusStatus GenerateCenterOfRotationReport(
int numberOfNWirePatterns,
89 vtkTable* reportTable,
90 double centerOfRotationPx[2]);
97 virtual void SetTrackedFrameListIndices(std::vector<int>& indices);
100 int GetNumberOfNWirePatterns();
103 vtkSetObjectMacro(TrackedFrameList, vtkIGSIOTrackedFrameList);
106 vtkSetVector2Macro(Spacing,
double);
112 virtual PlusStatus ConstructLinearEquationForCalibration(std::vector<vnl_vector<double> >& aMatrix, std::vector<double>& bVector);
115 PlusStatus AddNewColumnToReportTable(
const char* columnName);
121 vtkSetObjectMacro(ReportTable, vtkTable);
124 vtkSetVector2Macro(CenterOfRotationPx,
int);
127 double CenterOfRotationPx[2];
std::vector< int > TrackedFrameListIndices
Algorithm for computing the center of in-plane rotation of ultrasound images of a calibration phantom...
vtkIGSIOTrackedFrameList * TrackedFrameList
class for generating basic html tags