7 #ifndef _FIDUCIAL_LINE_FINDER_H 8 #define _FIDUCIAL_LINE_FINDER_H 11 #include "PlusConfigure.h" 13 class vtkXMLDataElement;
30 void SetFrameSize(
const FrameSizeType& frameSize);
45 void SetMinThetaDegrees(
double angleDeg);
48 void SetMaxThetaDegrees(
double angleDeg);
54 PlusStatus ReadConfiguration(vtkXMLDataElement* rootConfigElement);
60 std::vector<std::vector<PlusFidLine>>& GetLinesVector();
69 std::vector<PlusFidPattern*>&
GetPatterns() {
return m_Patterns; };
72 std::vector<PlusNWire> GetNWires();
74 void SetImageToPhantomTransform(
double* matrixElements);
82 void ComputeParameters();
85 void FindLinesNPoints();
88 void FindLines2Points();
107 bool AcceptAngleRad(
double angleRad);
114 void SetImageNormalVectorInPhantomFrameMaximumRotationAngleDeg(
double* anglesDeg);
117 double* GetImageToPhantomTransform() {
return m_ImageToPhantomTransform; };
120 FrameSizeType m_FrameSize;
122 double m_ImageNormalVectorInPhantomFrameMaximumRotationAngleDeg[6];
123 double m_ImageToPhantomTransform[16];
139 #endif // _FIDUCIAL_LINE_FINDER_H double m_MaxLinePairDistanceErrorPercent
double m_CollinearPointsMaxDistanceFromLineMm
std::vector< PlusFidPattern * > & GetPatterns()
double m_ApproximateSpacingMmPerPixel
void SetPatterns(const std::vector< PlusFidPattern * > &value)
std::vector< PlusFidDot > m_CandidateFidValues
void SetCandidateFidValues(const std::vector< PlusFidDot > &value)
void SetDotsVector(const std::vector< PlusFidDot > &value)
const char const char * value
std::vector< PlusFidPattern * > m_Patterns
double * GetImageNormalVectorInPhantomFrameMaximumRotationAngleDeg()
void SetApproximateSpacingMmPerPixel(double value)
void SetCollinearPointsMaxDistanceFromLineMm(double value)
std::vector< PlusFidDot > m_DotsVector
std::vector< std::vector< PlusFidLine > > m_LinesVector