A lookup table in 2D for implementing nearest neighbor. More...
#include <Gridder.h>
Classes | |
struct | Cell |
class | Iterator |
Iterator for Segment class. More... | |
Public Types | |
typedef Iterator | iterator |
Public Member Functions | |
void | add (float x, float y, T *object) |
iterator | find (float x, float y, float range) |
Gridder (float x0Arg, float y0Arg, float x1Arg, float y1Arg, float ppCell) | |
~Gridder () | |
Private Member Functions | |
Gridder (const Gridder &) | |
don't call | |
void | gridderInit (float x0Arg, float y0Arg, float x1Arg, float y1Arg, float ppCell) |
Initializes Gridder constructor. | |
Gridder & | operator= (const Gridder &) |
don't call | |
Private Attributes | |
std::vector< std::vector< Cell * > > | cells |
int | height |
float | pixelsPerCell |
int | width |
float | x0 |
float | x1 |
float | y0 |
float | y1 |
A lookup table in 2D for implementing nearest neighbor.
typedef Iterator AprilTags::Gridder< T >::iterator |
AprilTags::Gridder< T >::Gridder | ( | const Gridder< T > & | ) | [private] |
don't call
AprilTags::Gridder< T >::Gridder | ( | float | x0Arg, |
float | y0Arg, | ||
float | x1Arg, | ||
float | y1Arg, | ||
float | ppCell | ||
) | [inline] |
AprilTags::Gridder< T >::~Gridder | ( | ) | [inline] |
void AprilTags::Gridder< T >::add | ( | float | x, |
float | y, | ||
T * | object | ||
) | [inline] |
iterator AprilTags::Gridder< T >::find | ( | float | x, |
float | y, | ||
float | range | ||
) | [inline] |
void AprilTags::Gridder< T >::gridderInit | ( | float | x0Arg, |
float | y0Arg, | ||
float | x1Arg, | ||
float | y1Arg, | ||
float | ppCell | ||
) | [inline, private] |
Gridder& AprilTags::Gridder< T >::operator= | ( | const Gridder< T > & | ) | [private] |
don't call
std::vector< std::vector<Cell*> > AprilTags::Gridder< T >::cells [private] |
int AprilTags::Gridder< T >::height [private] |
float AprilTags::Gridder< T >::pixelsPerCell [private] |
int AprilTags::Gridder< T >::width [private] |
float AprilTags::Gridder< T >::x0 [private] |
float AprilTags::Gridder< T >::x1 [private] |
float AprilTags::Gridder< T >::y0 [private] |
float AprilTags::Gridder< T >::y1 [private] |