Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
AprilTags::Gridder< T > Class Template Reference

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

#include <Gridder.h>

List of all members.

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.
Gridderoperator= (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

Detailed Description

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

A lookup table in 2D for implementing nearest neighbor.

Definition at line 14 of file Gridder.h.


Member Typedef Documentation

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

Definition at line 174 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 
) [inline]

Definition at line 58 of file Gridder.h.

template<class T>
AprilTags::Gridder< T >::~Gridder ( ) [inline]

Definition at line 63 of file Gridder.h.


Member Function Documentation

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

Definition at line 70 of file Gridder.h.

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

Definition at line 175 of file Gridder.h.

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

Initializes Gridder constructor.

Definition at line 43 of file Gridder.h.

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 55 of file Gridder.h.

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

Definition at line 53 of file Gridder.h.

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

Definition at line 54 of file Gridder.h.

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

Definition at line 53 of file Gridder.h.

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

Definition at line 52 of file Gridder.h.

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

Definition at line 52 of file Gridder.h.

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

Definition at line 52 of file Gridder.h.

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

Definition at line 52 of file Gridder.h.


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


apriltags
Author(s): Michael Kaess, Hordur Johannson
autogenerated on Thu Jun 6 2019 20:53:23