#include <InterestPointRenderer.h>
Public Member Functions | |
const std::vector< Color > & | getColors () const |
const std::vector< const OrientedPoint2D * > * | getInterestPoints () const |
float | getScaleFactor () const |
const std::vector< double > * | getScales () const |
void | getSubdivision (int &_around, int &_along) const |
InterestPointRenderer (const InterestPointRenderer &_renderer) | |
InterestPointRenderer (const std::vector< const OrientedPoint2D * > *_points, const std::vector< double > *_scales) | |
InterestPointRenderer & | operator= (const InterestPointRenderer &_renderer) |
virtual void | render () |
void | setColor (unsigned int _index, float _red, float _green, float _blue, float _alpha=1.0f) |
void | setColors (const std::vector< Color > &_colors) |
void | setDepth (float depth) |
void | setInterestPoints (const std::vector< const OrientedPoint2D * > *_points, const std::vector< double > *_scales) |
void | setScaleFactor (float _size) |
void | setSubdivision (int _around, int _along) |
virtual | ~InterestPointRenderer () |
Protected Attributes | |
std::vector< Color > | m_colors |
float | m_depth |
std::vector< GLUquadricObj * > | m_GLUPoints |
const std::vector< const OrientedPoint2D * > * | m_interestPoints |
float | m_scaleFactor |
const std::vector< double > * | m_scales |
int | m_subdivision [2] |
Definition at line 35 of file InterestPointRenderer.h.
InterestPointRenderer::InterestPointRenderer | ( | const std::vector< const OrientedPoint2D * > * | _points, | |
const std::vector< double > * | _scales | |||
) |
Definition at line 3 of file InterestPointRenderer.cpp.
InterestPointRenderer::InterestPointRenderer | ( | const InterestPointRenderer & | _renderer | ) |
Definition at line 30 of file InterestPointRenderer.cpp.
InterestPointRenderer::~InterestPointRenderer | ( | ) | [virtual] |
Definition at line 24 of file InterestPointRenderer.cpp.
const std::vector<Color>& InterestPointRenderer::getColors | ( | ) | const [inline] |
Definition at line 58 of file InterestPointRenderer.h.
const std::vector<const OrientedPoint2D *>* InterestPointRenderer::getInterestPoints | ( | ) | const [inline] |
Definition at line 68 of file InterestPointRenderer.h.
float InterestPointRenderer::getScaleFactor | ( | ) | const [inline] |
Definition at line 60 of file InterestPointRenderer.h.
const std::vector<double>* InterestPointRenderer::getScales | ( | ) | const [inline] |
Definition at line 70 of file InterestPointRenderer.h.
void InterestPointRenderer::getSubdivision | ( | int & | _around, | |
int & | _along | |||
) | const [inline] |
Definition at line 62 of file InterestPointRenderer.h.
InterestPointRenderer & InterestPointRenderer::operator= | ( | const InterestPointRenderer & | _renderer | ) |
Definition at line 47 of file InterestPointRenderer.cpp.
void InterestPointRenderer::render | ( | ) | [virtual] |
Implements AbstractRenderer.
Definition at line 83 of file InterestPointRenderer.cpp.
void InterestPointRenderer::setColor | ( | unsigned int | _index, | |
float | _red, | |||
float | _green, | |||
float | _blue, | |||
float | _alpha = 1.0f | |||
) | [inline] |
Definition at line 51 of file InterestPointRenderer.h.
void InterestPointRenderer::setColors | ( | const std::vector< Color > & | _colors | ) | [inline] |
Definition at line 49 of file InterestPointRenderer.h.
void InterestPointRenderer::setDepth | ( | float | depth | ) | [inline] |
Definition at line 46 of file InterestPointRenderer.h.
void InterestPointRenderer::setInterestPoints | ( | const std::vector< const OrientedPoint2D * > * | _points, | |
const std::vector< double > * | _scales | |||
) |
Definition at line 56 of file InterestPointRenderer.cpp.
void InterestPointRenderer::setScaleFactor | ( | float | _size | ) | [inline] |
Definition at line 53 of file InterestPointRenderer.h.
void InterestPointRenderer::setSubdivision | ( | int | _around, | |
int | _along | |||
) | [inline] |
Definition at line 55 of file InterestPointRenderer.h.
std::vector<Color> InterestPointRenderer::m_colors [protected] |
Definition at line 79 of file InterestPointRenderer.h.
float InterestPointRenderer::m_depth [protected] |
Definition at line 80 of file InterestPointRenderer.h.
std::vector<GLUquadricObj*> InterestPointRenderer::m_GLUPoints [protected] |
Definition at line 78 of file InterestPointRenderer.h.
const std::vector<const OrientedPoint2D *>* InterestPointRenderer::m_interestPoints [protected] |
Definition at line 76 of file InterestPointRenderer.h.
float InterestPointRenderer::m_scaleFactor [protected] |
Definition at line 81 of file InterestPointRenderer.h.
const std::vector<double>* InterestPointRenderer::m_scales [protected] |
Definition at line 77 of file InterestPointRenderer.h.
int InterestPointRenderer::m_subdivision[2] [protected] |
Definition at line 82 of file InterestPointRenderer.h.