#include <PolarGridRenderer.h>
Public Member Functions | |
const Color | getColor () const |
const std::vector< std::vector < double > > * | getGrid () const |
const HSLColor & | getHSLColor () const |
const std::vector< double > * | getPhiEdges () const |
const OrientedPoint2D * | getPosition () const |
const std::vector< double > * | getRhoEdges () const |
void | getSubdivision (int &_around, int &_along) const |
PolarGridRenderer & | operator= (const PolarGridRenderer &_renderer) |
PolarGridRenderer (const PolarGridRenderer &_renderer) | |
PolarGridRenderer (const std::vector< std::vector< double > > *grid, const std::vector< double > *phiEdges, const std::vector< double > *rhoEdges) | |
virtual void | render () |
void | setColor (const Color &color) |
void | setColor (float _red, float _green, float _blue, float _alpha=1.0f) |
void | setDepth (float depth) |
void | setGrid (const std::vector< std::vector< double > > *grid, const std::vector< double > *phiEdges, const std::vector< double > *rhoEdges) |
void | setPosition (const OrientedPoint2D *position) |
void | setSubdivision (int _around, int _along) |
virtual | ~PolarGridRenderer () |
Protected Attributes | |
HSLColor | m_color |
float | m_depth |
std::vector< GLUquadricObj * > | m_GLUGrids |
std::vector< GLUquadricObj * > | m_GLUSectors |
const std::vector< std::vector < double > > * | m_grid |
double | m_maxValue |
const std::vector< double > * | m_phiEdges |
const OrientedPoint2D * | m_position |
const std::vector< double > * | m_rhoEdges |
int | m_subdivision [2] |
Definition at line 34 of file PolarGridRenderer.h.
PolarGridRenderer::PolarGridRenderer | ( | const std::vector< std::vector< double > > * | grid, | |
const std::vector< double > * | phiEdges, | |||
const std::vector< double > * | rhoEdges | |||
) |
Definition at line 3 of file PolarGridRenderer.cpp.
PolarGridRenderer::PolarGridRenderer | ( | const PolarGridRenderer & | _renderer | ) |
Definition at line 44 of file PolarGridRenderer.cpp.
PolarGridRenderer::~PolarGridRenderer | ( | ) | [virtual] |
Definition at line 37 of file PolarGridRenderer.cpp.
const Color PolarGridRenderer::getColor | ( | ) | const [inline] |
Definition at line 58 of file PolarGridRenderer.h.
const std::vector< std::vector<double> >* PolarGridRenderer::getGrid | ( | ) | const [inline] |
Definition at line 65 of file PolarGridRenderer.h.
const HSLColor& PolarGridRenderer::getHSLColor | ( | ) | const [inline] |
Definition at line 56 of file PolarGridRenderer.h.
const std::vector<double>* PolarGridRenderer::getPhiEdges | ( | ) | const [inline] |
Definition at line 68 of file PolarGridRenderer.h.
const OrientedPoint2D* PolarGridRenderer::getPosition | ( | ) | const [inline] |
Definition at line 74 of file PolarGridRenderer.h.
const std::vector<double>* PolarGridRenderer::getRhoEdges | ( | ) | const [inline] |
Definition at line 71 of file PolarGridRenderer.h.
void PolarGridRenderer::getSubdivision | ( | int & | _around, | |
int & | _along | |||
) | const [inline] |
Definition at line 60 of file PolarGridRenderer.h.
PolarGridRenderer & PolarGridRenderer::operator= | ( | const PolarGridRenderer & | _renderer | ) |
Definition at line 65 of file PolarGridRenderer.cpp.
void PolarGridRenderer::render | ( | ) | [virtual] |
Implements AbstractRenderer.
Definition at line 110 of file PolarGridRenderer.cpp.
void PolarGridRenderer::setColor | ( | const Color & | color | ) | [inline] |
Definition at line 49 of file PolarGridRenderer.h.
void PolarGridRenderer::setColor | ( | float | _red, | |
float | _green, | |||
float | _blue, | |||
float | _alpha = 1.0f | |||
) | [inline] |
Definition at line 47 of file PolarGridRenderer.h.
void PolarGridRenderer::setDepth | ( | float | depth | ) | [inline] |
Definition at line 44 of file PolarGridRenderer.h.
void PolarGridRenderer::setGrid | ( | const std::vector< std::vector< double > > * | grid, | |
const std::vector< double > * | phiEdges, | |||
const std::vector< double > * | rhoEdges | |||
) |
Definition at line 73 of file PolarGridRenderer.cpp.
void PolarGridRenderer::setPosition | ( | const OrientedPoint2D * | position | ) | [inline] |
Definition at line 77 of file PolarGridRenderer.h.
void PolarGridRenderer::setSubdivision | ( | int | _around, | |
int | _along | |||
) | [inline] |
Definition at line 51 of file PolarGridRenderer.h.
HSLColor PolarGridRenderer::m_color [protected] |
Definition at line 91 of file PolarGridRenderer.h.
float PolarGridRenderer::m_depth [protected] |
Definition at line 92 of file PolarGridRenderer.h.
std::vector<GLUquadricObj*> PolarGridRenderer::m_GLUGrids [protected] |
Definition at line 87 of file PolarGridRenderer.h.
std::vector<GLUquadricObj*> PolarGridRenderer::m_GLUSectors [protected] |
Definition at line 88 of file PolarGridRenderer.h.
const std::vector< std::vector<double> >* PolarGridRenderer::m_grid [protected] |
Definition at line 84 of file PolarGridRenderer.h.
double PolarGridRenderer::m_maxValue [protected] |
Definition at line 90 of file PolarGridRenderer.h.
const std::vector<double>* PolarGridRenderer::m_phiEdges [protected] |
Definition at line 85 of file PolarGridRenderer.h.
const OrientedPoint2D* PolarGridRenderer::m_position [protected] |
Definition at line 89 of file PolarGridRenderer.h.
const std::vector<double>* PolarGridRenderer::m_rhoEdges [protected] |
Definition at line 86 of file PolarGridRenderer.h.
int PolarGridRenderer::m_subdivision[2] [protected] |
Definition at line 93 of file PolarGridRenderer.h.