#include <Grid.hpp>
Public Member Functions | |
Grid (floatArr vertices, uintArr boxes, uint numPoints, uint numBoxes) | |
virtual void | render () |
virtual | ~Grid () |
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 () |
Private Attributes | |
uintArr | m_boxes |
GLuint | m_gridDisplayList |
uint | m_numBoxes |
uint | m_numPoints |
GLuint | m_pointDisplayList |
floatArr | m_vertices |
Additional Inherited Members | |
Public Types inherited from lvr2::Renderable | |
using | Vec = BaseVector< float > |
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 |
|
virtual |
Implements lvr2::Renderable.