#include <CorrespondenceRenderer.h>
Public Member Functions | |
CorrespondenceRenderer (const std::vector< std::pair< Point2D, Point2D > > *correspondences, const std::vector< double > *m_distances=0) | |
const std::vector< std::pair < Point2D, Point2D > > * | getCorrespondences () const |
const std::vector< double > * | getDistances () const |
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 | setCorrespondences (const std::vector< std::pair< Point2D, Point2D > > *correspondences, const std::vector< double > *m_distances=0) |
void | setDataDepth (float depth) |
void | setReferenceDepth (float depth) |
Protected Attributes | |
std::vector< Color > | m_colors |
const std::vector< std::pair < Point2D, Point2D > > * | m_correspondences |
float | m_dataDepth |
const std::vector< double > * | m_distances |
double | m_maxDistance |
float | m_referenceDepth |
Definition at line 35 of file CorrespondenceRenderer.h.
CorrespondenceRenderer::CorrespondenceRenderer | ( | const std::vector< std::pair< Point2D, Point2D > > * | correspondences, | |
const std::vector< double > * | m_distances = 0 | |||
) |
Definition at line 3 of file CorrespondenceRenderer.cpp.
const std::vector< std::pair<Point2D, Point2D> >* CorrespondenceRenderer::getCorrespondences | ( | ) | const [inline] |
Definition at line 58 of file CorrespondenceRenderer.h.
const std::vector< double >* CorrespondenceRenderer::getDistances | ( | ) | const [inline] |
Definition at line 61 of file CorrespondenceRenderer.h.
void CorrespondenceRenderer::render | ( | ) | [virtual] |
Implements AbstractRenderer.
Definition at line 36 of file CorrespondenceRenderer.cpp.
void CorrespondenceRenderer::setColor | ( | unsigned int | _index, | |
float | _red, | |||
float | _green, | |||
float | _blue, | |||
float | _alpha = 1.0f | |||
) | [inline] |
Definition at line 53 of file CorrespondenceRenderer.h.
void CorrespondenceRenderer::setColors | ( | const std::vector< Color > & | _colors | ) | [inline] |
Definition at line 51 of file CorrespondenceRenderer.h.
void CorrespondenceRenderer::setCorrespondences | ( | const std::vector< std::pair< Point2D, Point2D > > * | correspondences, | |
const std::vector< double > * | m_distances = 0 | |||
) |
Definition at line 21 of file CorrespondenceRenderer.cpp.
void CorrespondenceRenderer::setDataDepth | ( | float | depth | ) | [inline] |
Definition at line 48 of file CorrespondenceRenderer.h.
void CorrespondenceRenderer::setReferenceDepth | ( | float | depth | ) | [inline] |
Definition at line 45 of file CorrespondenceRenderer.h.
std::vector<Color> CorrespondenceRenderer::m_colors [protected] |
Definition at line 69 of file CorrespondenceRenderer.h.
const std::vector< std::pair<Point2D, Point2D> >* CorrespondenceRenderer::m_correspondences [protected] |
Definition at line 67 of file CorrespondenceRenderer.h.
float CorrespondenceRenderer::m_dataDepth [protected] |
Definition at line 71 of file CorrespondenceRenderer.h.
const std::vector< double >* CorrespondenceRenderer::m_distances [protected] |
Definition at line 68 of file CorrespondenceRenderer.h.
double CorrespondenceRenderer::m_maxDistance [protected] |
Definition at line 72 of file CorrespondenceRenderer.h.
float CorrespondenceRenderer::m_referenceDepth [protected] |
Definition at line 70 of file CorrespondenceRenderer.h.