Class PointCloud

Inheritance Relationships

Base Type

Class Documentation

class PointCloud : public lvr2::Renderable

Public Types

using uColorVertex = ColorVertex<float, unsigned char>

Public Functions

PointCloud()
PointCloud(ModelPtr loader, string name = "<unamed cloud>")
PointCloud(PointBufferPtr buffer, string name = "<unamed cloud>")
virtual ~PointCloud()
inline virtual void render()
inline std::vector<uColorVertex> getPoints()
inline void setPoints()
inline void addPoint(float x, float y, float z, unsigned char r, unsigned char g, unsigned char b)
inline void addPoint(const uColorVertex &v)
inline void clear()
void updateBuffer(PointBufferPtr buffer)
void updateDisplayLists()
inline void setRenderMode(int mode)

Public Members

vector<uColorVertex> m_points