Image Component Library (ICL)
|
internal data-class the represents a more sophisticated More...
#include <AdvancedMarkerGridDetector.h>
Classes | |
struct | KeyPoints |
internal key-point structure More... | |
Public Member Functions | |
Marker () | |
creates an empty marker More... | |
Marker (int id, const utils::Point32f gridPoints[4], const utils::Point32f ¢er) | |
create a marker with given ID and layout (in grid-space) More... | |
void | setImagePoints (const utils::Point32f corners[4], const utils::Point32f ¢er=utils::Point32f::null) |
sets current image points More... | |
bool | operator< (const Marker &m) const |
for sorting (is that needed) More... | |
void | setFound (bool found) |
sets the 'found' flag More... | |
bool | wasFound () const |
const KeyPoints & | getImagePoints () const |
returns current image points More... | |
const KeyPoints & | getGridPoints () const |
returns static grid points More... | |
KeyPoints & | getImagePoints () |
returns current image points (unconst version) More... | |
void | visTo (utils::VisualizationDescription &vd) const |
visualizes the marker boundary and the center More... | |
void | getImagePointsTo (utils::Point32f *dst) const |
utilty function More... | |
template<class Transform > | |
void | transformImagePointsTo (Marker &dst, Transform t) const |
utility method that transforms the marker's image points ... More... | |
Private Attributes | |
int | id |
marker id More... | |
bool | found |
was it found More... | |
KeyPoints | imagePts |
internal key-points (in image space, updated at runtime) More... | |
KeyPoints | gridPts |
internal key-points (in grid space, initialized at construction time) More... | |
internal data-class the represents a more sophisticated
icl::markers::AdvancedMarkerGridDetector::Marker::Marker | ( | ) |
creates an empty marker
icl::markers::AdvancedMarkerGridDetector::Marker::Marker | ( | int | id, |
const utils::Point32f | gridPoints[4], | ||
const utils::Point32f & | center | ||
) |
create a marker with given ID and layout (in grid-space)
|
inline |
returns static grid points
|
inline |
returns current image points
|
inline |
returns current image points (unconst version)
void icl::markers::AdvancedMarkerGridDetector::Marker::getImagePointsTo | ( | utils::Point32f * | dst | ) | const |
utilty function
|
inline |
for sorting (is that needed)
|
inline |
sets the 'found' flag
void icl::markers::AdvancedMarkerGridDetector::Marker::setImagePoints | ( | const utils::Point32f | corners[4], |
const utils::Point32f & | center = utils::Point32f::null |
||
) |
sets current image points
|
inline |
utility method that transforms the marker's image points ...
void icl::markers::AdvancedMarkerGridDetector::Marker::visTo | ( | utils::VisualizationDescription & | vd | ) | const |
visualizes the marker boundary and the center
|
inline |
|
private |
was it found
|
private |
internal key-points (in grid space, initialized at construction time)
|
private |
marker id
|
private |
internal key-points (in image space, updated at runtime)