7 #ifndef _FIDUCIAL_LABELLING_H 8 #define _FIDUCIAL_LABELLING_H 11 #include "PlusConfigure.h" 12 class vtkXMLDataElement;
43 void UpdateParameters();
49 PlusStatus ReadConfiguration(vtkXMLDataElement* rootConfigElement,
double minThetaRad,
double maxThetaRad);
52 void SetFrameSize(
const FrameSizeType& frameSize);
73 void UpdateNWiresResults(std::vector<PlusFidLine*>& resultLines);
79 static bool SortCompare(
const std::vector<double>& temporaryLine1,
const std::vector<double>& temporaryLine2);
98 std::vector<PlusFidPattern*>& GetPatterns();
116 std::vector<std::vector<PlusFidLine>>
GetLinesVector() {
return m_LinesVector; };
128 void SetMinThetaDeg(
double value);
131 void SetMaxThetaDeg(
double value);
134 void SetAngleToleranceDeg(
double value);
137 void SetMaxLineShiftMm(
double aValue);
140 double GetMaxLineShiftMm();
142 void SetAngleToleranceDegrees(
double angleToleranceDegrees);
144 void SetInclinedLineAngleDegrees(
double inclinedLineAngleDegrees);
174 #endif // _FIDUCIAL_LABELLING_H std::vector< PlusFidLine > m_FoundLines
void SetLinesVector(std::vector< std::vector< PlusFidLine > > &value)
std::vector< std::vector< PlusFidLine > > GetLinesVector()
double GetPatternIntensity()
void SetMaxLinePairDistanceErrorPercent(double value)
double m_MaxLinePairDistMm
double m_ApproximateSpacingMmPerPixel
std::vector< std::vector< PlusFidLine > > m_LinesVector
double m_MinLinePairAngleRad
std::vector< PlusFidDot > m_DotsVector
void SetDotsVector(std::vector< PlusFidDot > &value)
std::vector< PlusLabelingResults > m_Results
std::vector< PlusFidPattern * > m_Patterns
double m_InclinedLineAngleRad
std::vector< PlusFidDot > & GetDotsVector()
void SetMaxAngleDifferenceDegrees(double value)
std::vector< std::vector< double > > GetFoundDotsCoordinateValue()
void SetDotsFound(bool value)
double m_PatternIntensity
const char const char * value
std::array< unsigned int, 3 > m_FrameSize
double m_MaxLinePairAngleRad
double m_MaxLinePairDistanceErrorPercent
std::vector< PlusFidLine > & GetFoundLinesVector()
std::vector< std::vector< double > > m_FoundDotsCoordinateValue
double m_MinLinePairDistMm
void SetPatterns(const std::vector< PlusFidPattern * > &value)
void SetApproximateSpacingMmPerPixel(double value)
double m_AngleToleranceRad