#include <PointCloud.hpp>
Public Types | |
using | uColorVertex = ColorVertex< float, unsigned char > |
Public Types inherited from lvr2::Renderable | |
using | Vec = BaseVector< float > |
Public Member Functions | |
void | addPoint (float x, float y, float z, unsigned char r, unsigned char g, unsigned char b) |
void | addPoint (const uColorVertex &v) |
void | clear () |
vector< uColorVertex > | getPoints () |
PointCloud () | |
PointCloud (ModelPtr loader, string name="<unamed cloud>") | |
PointCloud (PointBufferPtr buffer, string name="<unamed cloud>") | |
virtual void | render () |
void | setPoints () |
void | setRenderMode (int mode) |
void | updateBuffer (PointBufferPtr buffer) |
void | updateDisplayLists () |
virtual | ~PointCloud () |
Public Member Functions inherited from lvr2::Renderable | |
void | accel (bool invert=0) |
BoundingBox< Vec > * | boundingBox () |
void | compileAxesList () |
Matrix4< Vec > | getTransformation () |
bool | isActive () |
bool | isSelected () |
void | lift (bool invert=0) |
float | lineWidth () |
virtual ModelPtr | model () |
void | moveX (bool invert=0) |
void | moveY (bool invert=0) |
void | moveZ (bool invert=0) |
string | Name () |
void | pitch (bool invert=0) |
float | pointSize () |
Renderable () | |
Renderable (const Renderable &other) | |
Renderable (string name) | |
Renderable (Matrix4< Vec > m, string name) | |
void | roll (bool invert=0) |
void | rotX (bool invert=0) |
void | rotY (bool invert=0) |
void | rotZ (bool invert=0) |
void | scale (float s) |
void | setActive (bool a) |
void | setLineWidth (float width) |
virtual void | setName (string s) |
void | setPointSize (float size) |
void | setRotationSpeed (float s) |
void | setSelected (bool s) |
void | setTransformationMatrix (Matrix4< Vec > m) |
void | setTranslationSpeed (float s) |
void | setVisible (bool s) |
void | showAxes (bool on) |
void | strafe (bool invert=0) |
void | toggle () |
void | yaw (bool invert=0) |
virtual | ~Renderable () |
Public Attributes | |
vector< uColorVertex > | m_points |
Private Member Functions | |
int | getFieldsPerLine (string filename) |
void | init (PointBufferPtr buffer) |
Private Attributes | |
GLuint | m_normalListIndex |
floatArr | m_normals |
size_t | m_numNormals |
int | m_renderMode |
Additional Inherited Members | |
Protected Member Functions inherited from lvr2::Renderable | |
void | computeMatrix () |
virtual void | transform () |
Protected Attributes inherited from lvr2::Renderable | |
bool | m_active |
int | m_activeListIndex |
int | m_axesListIndex |
BoundingBox< Vec > * | m_boundingBox |
float | m_lineWidth |
int | m_listIndex |
ModelPtr | m_model |
string | m_name |
float | m_pointSize |
Vec | m_position |
float | m_rotationSpeed |
float | m_scaleFactor |
bool | m_selected |
bool | m_showAxes |
Matrix4< Vec > | m_transformation |
float | m_translationSpeed |
bool | m_visible |
Normal< typename Vec::CoordType > | m_xAxis |
Normal< typename Vec::CoordType > | m_yAxis |
Normal< typename Vec::CoordType > | m_z_Axis |
Definition at line 59 of file PointCloud.hpp.
using lvr2::PointCloud::uColorVertex = ColorVertex<float, unsigned char> |
Definition at line 61 of file PointCloud.hpp.
lvr2::PointCloud::PointCloud | ( | ) |
Definition at line 43 of file PointCloud.cpp.
lvr2::PointCloud::PointCloud | ( | ModelPtr | loader, |
string | name = "<unamed cloud>" |
||
) |
Definition at line 56 of file PointCloud.cpp.
lvr2::PointCloud::PointCloud | ( | PointBufferPtr | buffer, |
string | name = "<unamed cloud>" |
||
) |
Definition at line 50 of file PointCloud.cpp.
|
virtual |
Definition at line 206 of file PointCloud.cpp.
|
inline |
Definition at line 72 of file PointCloud.hpp.
|
inline |
Definition at line 78 of file PointCloud.hpp.
|
inline |
Definition at line 84 of file PointCloud.hpp.
|
private |
|
inline |
Definition at line 69 of file PointCloud.hpp.
|
private |
Definition at line 69 of file PointCloud.cpp.
|
inlinevirtual |
Implements lvr2::Renderable.
Definition at line 110 of file PointCloud.hpp.
|
inline |
Definition at line 70 of file PointCloud.hpp.
|
inline |
Definition at line 96 of file PointCloud.hpp.
void lvr2::PointCloud::updateBuffer | ( | PointBufferPtr | buffer | ) |
Definition at line 63 of file PointCloud.cpp.
void lvr2::PointCloud::updateDisplayLists | ( | ) |
Definition at line 134 of file PointCloud.cpp.
|
private |
Definition at line 104 of file PointCloud.hpp.
|
private |
Definition at line 105 of file PointCloud.hpp.
|
private |
Definition at line 106 of file PointCloud.hpp.
vector<uColorVertex> lvr2::PointCloud::m_points |
Definition at line 94 of file PointCloud.hpp.
|
private |
Definition at line 103 of file PointCloud.hpp.