#include <LaserReadingRenderer.h>
Public Member Functions | |
const Color & | getColor () const |
void | getColor (float &_red, float &_green, float &_blue, float &_alpha) const |
const std::vector< double > & | getLaserNormals () const |
const std::vector< Point2D > * | getLaserPoints () const |
const OrientedPoint2D * | getLaserPose () const |
float | getSize () const |
void | getSubdivision (int &_around, int &_along) const |
LaserReadingRenderer (const LaserReadingRenderer &_renderer) | |
LaserReadingRenderer (const std::vector< Point2D > *_points, const std::vector< double > &normals=std::vector< double >(0)) | |
LaserReadingRenderer & | operator= (const LaserReadingRenderer &_renderer) |
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 | setLaserPoints (const std::vector< Point2D > *_points, const std::vector< double > &normals=std::vector< double >(0)) |
void | setLaserPose (const OrientedPoint2D *pose) |
void | setSize (float _size) |
void | setSubdivision (int _around, int _along) |
virtual | ~LaserReadingRenderer () |
Protected Member Functions | |
void | makeList () |
Protected Attributes | |
Color | m_color |
float | m_depth |
std::vector< GLUquadricObj * > | m_GLUPoints |
std::vector< double > | m_laserNormals |
const std::vector< Point2D > * | m_laserPoints |
const OrientedPoint2D * | m_laserPose |
GLuint | m_list |
bool | m_listValid |
float | m_pointSize |
int | m_subdivision [2] |
Definition at line 34 of file LaserReadingRenderer.h.
LaserReadingRenderer::LaserReadingRenderer | ( | const std::vector< Point2D > * | _points, | |
const std::vector< double > & | normals = std::vector<double>(0) | |||
) |
Definition at line 3 of file LaserReadingRenderer.cpp.
LaserReadingRenderer::LaserReadingRenderer | ( | const LaserReadingRenderer & | _renderer | ) |
Definition at line 31 of file LaserReadingRenderer.cpp.
LaserReadingRenderer::~LaserReadingRenderer | ( | ) | [virtual] |
Definition at line 24 of file LaserReadingRenderer.cpp.
const Color& LaserReadingRenderer::getColor | ( | ) | const [inline] |
Definition at line 58 of file LaserReadingRenderer.h.
void LaserReadingRenderer::getColor | ( | float & | _red, | |
float & | _green, | |||
float & | _blue, | |||
float & | _alpha | |||
) | const [inline] |
Definition at line 56 of file LaserReadingRenderer.h.
const std::vector<double>& LaserReadingRenderer::getLaserNormals | ( | ) | const [inline] |
Definition at line 70 of file LaserReadingRenderer.h.
const std::vector<Point2D>* LaserReadingRenderer::getLaserPoints | ( | ) | const [inline] |
Definition at line 67 of file LaserReadingRenderer.h.
const OrientedPoint2D* LaserReadingRenderer::getLaserPose | ( | ) | const [inline] |
Definition at line 73 of file LaserReadingRenderer.h.
float LaserReadingRenderer::getSize | ( | ) | const [inline] |
Definition at line 60 of file LaserReadingRenderer.h.
void LaserReadingRenderer::getSubdivision | ( | int & | _around, | |
int & | _along | |||
) | const [inline] |
Definition at line 62 of file LaserReadingRenderer.h.
void LaserReadingRenderer::makeList | ( | ) | [protected] |
Definition at line 96 of file LaserReadingRenderer.cpp.
LaserReadingRenderer & LaserReadingRenderer::operator= | ( | const LaserReadingRenderer & | _renderer | ) |
Definition at line 51 of file LaserReadingRenderer.cpp.
void LaserReadingRenderer::render | ( | ) | [virtual] |
Implements AbstractRenderer.
Definition at line 90 of file LaserReadingRenderer.cpp.
void LaserReadingRenderer::setColor | ( | const Color & | _color | ) | [inline] |
Definition at line 49 of file LaserReadingRenderer.h.
void LaserReadingRenderer::setColor | ( | float | _red, | |
float | _green, | |||
float | _blue, | |||
float | _alpha = 1.0f | |||
) | [inline] |
Definition at line 47 of file LaserReadingRenderer.h.
void LaserReadingRenderer::setDepth | ( | float | depth | ) | [inline] |
Definition at line 42 of file LaserReadingRenderer.h.
void LaserReadingRenderer::setLaserPoints | ( | const std::vector< Point2D > * | _points, | |
const std::vector< double > & | normals = std::vector<double>(0) | |||
) |
Definition at line 62 of file LaserReadingRenderer.cpp.
void LaserReadingRenderer::setLaserPose | ( | const OrientedPoint2D * | pose | ) | [inline] |
Definition at line 76 of file LaserReadingRenderer.h.
void LaserReadingRenderer::setSize | ( | float | _size | ) | [inline] |
Definition at line 51 of file LaserReadingRenderer.h.
void LaserReadingRenderer::setSubdivision | ( | int | _around, | |
int | _along | |||
) | [inline] |
Definition at line 53 of file LaserReadingRenderer.h.
Color LaserReadingRenderer::m_color [protected] |
Definition at line 89 of file LaserReadingRenderer.h.
float LaserReadingRenderer::m_depth [protected] |
Definition at line 91 of file LaserReadingRenderer.h.
std::vector<GLUquadricObj*> LaserReadingRenderer::m_GLUPoints [protected] |
Definition at line 87 of file LaserReadingRenderer.h.
std::vector<double> LaserReadingRenderer::m_laserNormals [protected] |
Definition at line 86 of file LaserReadingRenderer.h.
const std::vector<Point2D>* LaserReadingRenderer::m_laserPoints [protected] |
Definition at line 85 of file LaserReadingRenderer.h.
const OrientedPoint2D* LaserReadingRenderer::m_laserPose [protected] |
Definition at line 88 of file LaserReadingRenderer.h.
GLuint LaserReadingRenderer::m_list [protected] |
Definition at line 83 of file LaserReadingRenderer.h.
bool LaserReadingRenderer::m_listValid [protected] |
Definition at line 84 of file LaserReadingRenderer.h.
float LaserReadingRenderer::m_pointSize [protected] |
Definition at line 90 of file LaserReadingRenderer.h.
int LaserReadingRenderer::m_subdivision[2] [protected] |
Definition at line 92 of file LaserReadingRenderer.h.