45 struct FiducialDetectorPlugin;
98 imagePos(imagePos),markerPos(markerPos),ID(ID){}
112 std::string getName()
const;
115 bool supports(Feature f)
const;
121 const float &getRotation2D()
const;
124 const std::vector<utils::Point32f> &getCorners2D()
const;
127 const std::vector<KeyPoint> &getKeyPoints2D()
const;
142 inline operator bool()
const {
return impl; }
148 inline bool isNull()
const {
return !impl; }
undocument this line if you encounter any issues!
Definition: Any.h:37
3D orientation information
Definition: Fiducial.h:73
Main class for detected image markers/fiducials.
Definition: Fiducial.h:56
associated image region
Definition: Fiducial.h:70
std::bitset<(int) FeatureCount > FeatureSet
FeatureSet class.
Definition: Fiducial.h:80
rotation in the image plain
Definition: Fiducial.h:67
const FiducialImpl * getImpl() const
returns the marker's internal implementation structure (const)
Definition: Fiducial.h:160
FiducialImpl * getImpl()
returns the marker's internal implementation structure
Definition: Fiducial.h:157
KeyPoint()
Default constructor (does nothing)
Definition: Fiducial.h:94
FiducialImpl * impl
hidden implementation (always managed by the parent MarkerDetector)
Definition: Fiducial.h:58
static const FeatureSet AllFeatures
a full feature set
Definition: Fiducial.h:83
3D orientation information
Definition: Fiducial.h:72
bool isNull() const
returns whether is marker has not been initialized
Definition: Fiducial.h:148
list of 2D points with corresponding marker coordinates
Definition: Fiducial.h:69
utils::Point32f imagePos
key point in image space
Definition: Fiducial.h:100
bool operator!() const
returns whether is marker has not been initialized
Definition: Fiducial.h:145
center in image coordinates
Definition: Fiducial.h:66
bool operator!=(const Fiducial &a) const
returns whether the fiducials have not the same impl
Definition: Fiducial.h:154
ImageRegion Structure providing region feature information.
Definition: ImageRegion.h:99
Feature
Currently supported feature types.
Definition: Fiducial.h:65
Fiducial::FeatureSet operator|(Fiducial::FeatureSet s, Fiducial::Feature f)
or operator for convenient creation of Fiducial::FeatureSet instances
Definition: Fiducial.h:171
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
3D center information
Definition: Fiducial.h:71
key point structure
Definition: Fiducial.h:92
KeyPoint(const utils::Point32f &imagePos, const utils::Point32f &markerPos, int ID)
Special constructor with given params.
Definition: Fiducial.h:97
Hidden implemetation for fiduical classes.
Definition: FiducialImpl.h:76
utils::Point32f markerPos
key point in marker space
Definition: Fiducial.h:101
list of corners
Definition: Fiducial.h:68
#define ICLMarkers_API
Definition: CompatMacros.h:180
int ID
key point ID
Definition: Fiducial.h:102
bool operator==(const Fiducial &a) const
returns whether the fiducials have the same impl
Definition: Fiducial.h:151
Fiducial(FiducialImpl *impl=0)
private Constructor
Definition: Fiducial.h:106
Generic Interface class for FiducialDetector plugins.
Definition: FiducialDetectorPlugin.h:49