20#ifndef _SO_PATTERN_MATCHING_DETAILS_2D_H_
21#define _SO_PATTERN_MATCHING_DETAILS_2D_H_
22#ifdef OIV_FEI_INTERNAL
40public:
class SoDEPRECATED MatchingResult
57 float getScore()
const
58 {
return m_similarity; }
64 SbVec2f getMatchingPosition()
const
65 {
return m_position; }
71 float getMatchingRotation()
const
72 {
return m_rotation; }
78 SbVec2f getMatchingScale()
const
82 MatchingResult(
SbVec2f position,
SbVec2f scale,
float rotation,
float score )
83 : m_position( position )
85 , m_rotation( rotation )
86 , m_similarity( score )
99 SoPatternMatchingDetails2d();
104 int getNumOfObjectDetected()
const;
110 MatchingResult getDetail(
int index )
const;
115 void insertDetail( MatchingResult detail );
119 virtual ~SoPatternMatchingDetails2d();
125 std::vector<MatchingResult> m_outMatches;
#define SO_FIELDCONTAINER_HEADER(className)
Abstract base class for objects that contain fields.