#include <points_renderer.h>
Classes | |
struct | PointsInfo |
Used for translating picking into object/index. More... | |
Public Member Functions | |
void | add (const rve_common::UUID &id, const rve_msgs::Points &points, uint32_t start, uint32_t &out_start, uint32_t &out_count) |
uint32_t | getElementsPerVBO () |
PointsRenderable (const PointsRendererDesc &desc, bool alpha) | |
void | remove (uint32_t start, uint32_t count) |
virtual Picked | translatePick (PickRenderValues id) |
~PointsRenderable () | |
Private Types | |
typedef BatchRenderable < PointsRenderable, PointsRendererDesc > | Parent |
typedef std::vector< PointsInfo > | V_PointsInfo |
Private Member Functions | |
float * | getNormals () |
uint32_t | getPointStride () |
float * | getVertices () |
uint32_t | getVerticesPerPoint () |
Private Attributes | |
bool | needs_normals_ |
bool | needs_offsets_ |
V_PointsInfo | points_info_ |
bool | supports_geometry_programs_ |
Definition at line 57 of file points_renderer.h.
typedef BatchRenderable<PointsRenderable, PointsRendererDesc> rve_render_server::PointsRenderable::Parent [private] |
Definition at line 59 of file points_renderer.h.
typedef std::vector<PointsInfo> rve_render_server::PointsRenderable::V_PointsInfo [private] |
Definition at line 90 of file points_renderer.h.
rve_render_server::PointsRenderable::PointsRenderable | ( | const PointsRendererDesc & | desc, |
bool | alpha | ||
) |
Definition at line 176 of file points_renderer.cpp.
Definition at line 264 of file points_renderer.cpp.
void rve_render_server::PointsRenderable::add | ( | const rve_common::UUID & | id, |
const rve_msgs::Points & | points, | ||
uint32_t | start, | ||
uint32_t & | out_start, | ||
uint32_t & | out_count | ||
) |
Definition at line 270 of file points_renderer.cpp.
Definition at line 457 of file points_renderer.cpp.
float * rve_render_server::PointsRenderable::getNormals | ( | ) | [private] |
Definition at line 467 of file points_renderer.cpp.
uint32_t rve_render_server::PointsRenderable::getPointStride | ( | ) | [private] |
Definition at line 462 of file points_renderer.cpp.
float * rve_render_server::PointsRenderable::getVertices | ( | ) | [private] |
Definition at line 504 of file points_renderer.cpp.
uint32_t rve_render_server::PointsRenderable::getVerticesPerPoint | ( | ) | [private] |
Definition at line 541 of file points_renderer.cpp.
void rve_render_server::PointsRenderable::remove | ( | uint32_t | start, |
uint32_t | count | ||
) |
Definition at line 423 of file points_renderer.cpp.
Picked rve_render_server::PointsRenderable::translatePick | ( | PickRenderValues | id | ) | [virtual] |
Implements rve_render_server::Pickable.
Definition at line 580 of file points_renderer.cpp.
bool rve_render_server::PointsRenderable::needs_normals_ [private] |
Definition at line 80 of file points_renderer.h.
bool rve_render_server::PointsRenderable::needs_offsets_ [private] |
Definition at line 79 of file points_renderer.h.
Definition at line 91 of file points_renderer.h.
Definition at line 78 of file points_renderer.h.