7 #ifndef __vtkPlusSpacingCalibAlgo_h 8 #define __vtkPlusSpacingCalibAlgo_h 10 #include "PlusConfigure.h" 11 #include "vtkPlusCalibrationExport.h" 13 #include "vtkObject.h" 14 #include "vtkIGSIOTrackedFrameList.h" 30 virtual void PrintSelf(ostream& os, vtkIndent indent)
VTK_OVERRIDE;
44 virtual void SetInputs(vtkIGSIOTrackedFrameList* trackedFrameList,
const std::vector<PlusNWire>& nWires);
47 vtkGetObjectMacro(ReportTable, vtkTable);
50 virtual PlusStatus GetSpacing(
double spacing[2]);
53 virtual PlusStatus GetError(
double& mean,
double& stdev);
63 virtual PlusStatus ConstructLinearEquationForCalibration(std::vector<vnl_vector<double> >& aMatrix, std::vector<double>& bVector);
66 PlusStatus AddNewColumnToReportTable(
const char* columnName);
70 const std::vector<vnl_vector<double> >& aMatrix,
71 const std::vector<double>& bVector,
72 const vnl_vector<double>& resultVector);
75 vtkSetObjectMacro(TrackedFrameList, vtkIGSIOTrackedFrameList);
77 vtkGetObjectMacro(TrackedFrameList, vtkIGSIOTrackedFrameList);
80 vtkSetObjectMacro(ReportTable, vtkTable);
83 vtkSetVector2Macro(Spacing,
double);
vtkIGSIOTrackedFrameList * TrackedFrameList
std::vector< PlusNWire > NWires
class for generating basic html tags
Calculates ultrasound image spacing from phantom definition file.