Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

AprilTags::Gridder< T > Class Template Reference

A lookup table in 2D for implementing nearest neighbor. More...

#include <Gridder.h>


Detailed Description

template<class T>
class AprilTags::Gridder< T >

A lookup table in 2D for implementing nearest neighbor.

Definition at line 13 of file Gridder.h.

List of all members.

Classes

struct  Cell
class  Iterator
 Iterator for Segment class. More...

Public Types

typedef Iterator iterator

Public Member Functions

 Gridder (float x0Arg, float y0Arg, float x1Arg, float y1Arg, float ppCell)
 ~Gridder ()
void add (float x, float y, T *object)
iterator find (float x, float y, float range)

Private Member Functions

 Gridder (const Gridder &)
 don't call
Gridderoperator= (const Gridder &)
 don't call
void gridderInit (float x0Arg, float y0Arg, float x1Arg, float y1Arg, float ppCell)
 Initializes Gridder constructor.

Private Attributes

float x0
float y0
float x1
float y1
int width
int height
float pixelsPerCell
std::vector< std::vector< Cell * > > cells

Member Typedef Documentation

template<class T>
typedef Iterator AprilTags::Gridder< T >::iterator

Definition at line 169 of file Gridder.h.


Constructor & Destructor Documentation

template<class T>
AprilTags::Gridder< T >::Gridder ( const Gridder< T > &   )  [private]

don't call

template<class T>
AprilTags::Gridder< T >::Gridder ( float  x0Arg,
float  y0Arg,
float  x1Arg,
float  y1Arg,
float  ppCell 
)

Definition at line 53 of file Gridder.h.

template<class T>
AprilTags::Gridder< T >::~Gridder (  ) 

Definition at line 58 of file Gridder.h.


Member Function Documentation

template<class T>
void AprilTags::Gridder< T >::add ( float  x,
float  y,
T *  object 
)

Definition at line 65 of file Gridder.h.

Referenced by AprilTags::TagDetector::extractTags().

template<class T>
iterator AprilTags::Gridder< T >::find ( float  x,
float  y,
float  range 
)

Definition at line 170 of file Gridder.h.

Referenced by AprilTags::TagDetector::extractTags().

template<class T>
void AprilTags::Gridder< T >::gridderInit ( float  x0Arg,
float  y0Arg,
float  x1Arg,
float  y1Arg,
float  ppCell 
) [private]

Initializes Gridder constructor.

Definition at line 38 of file Gridder.h.

Referenced by AprilTags::Gridder< T >::~Gridder().

template<class T>
Gridder& AprilTags::Gridder< T >::operator= ( const Gridder< T > &   )  [private]

don't call


Member Data Documentation

template<class T>
std::vector< std::vector<Cell*> > AprilTags::Gridder< T >::cells [private]

Definition at line 50 of file Gridder.h.

template<class T>
int AprilTags::Gridder< T >::height [private]

Definition at line 48 of file Gridder.h.

template<class T>
float AprilTags::Gridder< T >::pixelsPerCell [private]

Definition at line 49 of file Gridder.h.

template<class T>
int AprilTags::Gridder< T >::width [private]

Definition at line 48 of file Gridder.h.

template<class T>
float AprilTags::Gridder< T >::x0 [private]

Definition at line 47 of file Gridder.h.

template<class T>
float AprilTags::Gridder< T >::x1 [private]

Definition at line 47 of file Gridder.h.

template<class T>
float AprilTags::Gridder< T >::y0 [private]

Definition at line 47 of file Gridder.h.

template<class T>
float AprilTags::Gridder< T >::y1 [private]

Definition at line 47 of file Gridder.h.


The documentation for this class was generated from the following file:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:19 2016 by Doxygen 1.6.3