18 #ifndef __igstkPivotCalibrationAlgorithm_h
19 #define __igstkPivotCalibrationAlgorithm_h
69 class PivotCalibrationAlgorithm :
public Object
78 typedef itk::Point<
double, 3 >
PointType;
79 typedef igstk::Transform TransformType;
80 typedef std::vector<TransformType> TransformContainerType;
87 void RequestAddTransform( const TransformType & t );
94 void RequestAddTransforms( std::vector< TransformType > & t );
98 void RequestResetCalibration();
107 void RequestComputeCalibration();
114 void RequestCalibrationTransform();
120 void RequestPivotPoint();
128 void RequestCalibrationRMSE();
137 void RequestSetSingularValueThreshold(
double threshold );
147 static const
double DEFAULT_SINGULAR_VALUE_THRESHOLD;
151 PivotCalibrationAlgorithm (
void );
152 virtual ~PivotCalibrationAlgorithm (
void );
155 void PrintSelf( std::ostream& os, itk::Indent indent ) const;
161 bool CheckCalibrationDataValidity();
180 void ReportInvalidRequestProcessing();
181 void AddTransformProcessing();
182 void SetSingularValueThresholdProcessing();
183 void ComputeCalibrationProcessing();
184 void ResetCalibrationProcessing();
185 void ReportSuccessInCalibrationComputationProcessing();
186 void ReportFailureInCalibrationComputationProcessing();
187 void GetTransformProcessing();
188 void GetPivotPointProcessing();
189 void GetRMSEProcessing();
192 TransformContainerType m_Transforms;
198 TransformContainerType m_TmpTransforms;
202 TransformType m_Transform;
205 itk::Point<
double,3 > m_PivotPoint;
211 double m_SingularValueThreshold;
212 double m_TmpSingularValueThreshold;
218 #endif //__igstkPivotCalibrationAlgorithm_h
igstkEventMacro(AuroraTrackerToolEvent, StringEvent)
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
#define igstkDeclareInputMacro(inputname)
Convenience macro for declaring Inputs to the State Machine.
defines standard system-wide macros, constants, and other common parameters in the IGSTK Library...
itk::Point< double, 3 > PointType
#define igstkDeclareStateMacro(inputname)
Convenience macro for declaring States of the State Machine.