|
| MarkerGrid () |
| creates an empty 0x0 grid More...
|
|
| MarkerGrid (const AdvancedGridDefinition &def) |
| creates a grid with given grid-definition (note: 1x1 grids can cause errors) More...
|
|
void | init (const AdvancedGridDefinition &def) |
| deferred initialization of a grid More...
|
|
void | update (const MarkerGridDetector::Result &r) |
| updates the image-points of all contained markers according to the given 2D-array of fiducials More...
|
|
const AdvancedGridDefinition & | getGridDef () const |
| returns the internal grid definitiion More...
|
|
const Marker & | getMarker (int id) const |
| returns the marker for the given ID More...
|
|
utils::VisualizationDescription | vis () const |
| visualizes the whole grid (i.e. each marker) More...
|
|
template<class Transform > |
void | transformImagePointsTo (MarkerGrid &dst, Transform t) const |
| transforms all markers using a transformation function More...
|
|
| Array2D () |
| Creates null instance. More...
|
|
| Array2D (int w, int h) |
| Creates an uninitialized matrix of given size. More...
|
|
| Array2D (const Size &s) |
| Creates an uninitialized matrix of given size. More...
|
|
| Array2D (int w, int h, Init init) |
| Creates an initialized matrix with given initializer. More...
|
|
| Array2D (const Size &s, Init init) |
| Creates an initialized matrix with given initializer. More...
|
|
| Array2D (int w, int h, Marker *data, bool deepCopy=false) |
| Creates a matrix of size w x h, using given (optionally shared) data. More...
|
|
| Array2D (const Size &s, Marker *data, bool deepCopy=false) |
| Creates a matrix of given Size, using given (optionally shared) data. More...
|
|
| Array2D (int w, int h, const Marker *data) |
| Creates a matrix of size w x h, using given const data (always deep copy) More...
|
|
| Array2D (const Size &s, const Marker *data) |
| Creates a matrix of given Size using given const data (always deep copy) More...
|
|
| Array2D (int w, int h, Iterator begin, Iterator end) |
| Creates a matrix of size w x h, initialized with content from given range. More...
|
|
| Array2D (const Size &s, Iterator begin, Iterator end) |
| Creates a matrix of size w x h, initialized with content from given range. More...
|
|
void | fill (Value val) |
| fills the matrix with given value More...
|
|
void | assign (Iterator begin, Iterator end) |
| Assigns the matrix from given range. More...
|
|
int | getWidth () const |
| returns the matrix width More...
|
|
int | getHeight () const |
| returns the matrix height More...
|
|
int | getDim () const |
| returns the matrix dimension (width*height) More...
|
|
const Size & | getSize () const |
| returns the matrix size More...
|
|
Marker & | operator[] (int idx) |
| returns element at given linear index More...
|
|
const Marker & | operator[] (int idx) const |
| returns element at given linear index (const) More...
|
|
Marker & | operator() (int x, int y) |
| returns element at given x,y position More...
|
|
const Marker & | operator() (int x, int y) const |
| returns element at given x,y position (const) More...
|
|
iterator | begin () |
| upper left matrix element iterator More...
|
|
const_iterator | begin () const |
| upper left matrix element iterator (const) More...
|
|
iterator | end () |
| upper left matrix element iterator More...
|
|
const_iterator | end () const |
| upper left matrix element iterator More...
|
|
Array2D< Marker > | deepCopy () const |
| returns a deep copy of this matrix More...
|
|
void | detach () |
| ensures that the contained data is not shared by other instances More...
|
|
Marker * | data () |
| returns the data pointer More...
|
|
const Marker * | data () const |
| returns the data pointer (const version) More...
|
|
const Marker & | minElem (Point *pos=0) const |
| returns the minumum element of the matrix (operator < must be defined on T) More...
|
|
const Marker & | maxElem (Point *pos=0) const |
| returns the maximum element of the matrix (operator < must be defined on T) More...
|
|
void | setSize (const Size &size) |
| sets a new size More...
|
|
void | setSize (const Size &size, const Init &init) |
| sets size and fills with new entries More...
|
|
Represents whole grid of markers.