Public Member Functions | Private Attributes | List of all members
lvr2::Grid Class Reference

#include <Grid.hpp>

Inheritance diagram for lvr2::Grid:
Inheritance graph
[legend]

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< VecgetTransformation ()
 
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 (Matrix4< Vec > m, string name)
 
 Renderable (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< Vecm_transformation
 
float m_translationSpeed
 
bool m_visible
 
Normal< typename Vec::CoordTypem_xAxis
 
Normal< typename Vec::CoordTypem_yAxis
 
Normal< typename Vec::CoordTypem_z_Axis
 

Detailed Description

Definition at line 44 of file Grid.hpp.

Constructor & Destructor Documentation

◆ Grid()

lvr2::Grid::Grid ( floatArr  vertices,
uintArr  boxes,
uint  numPoints,
uint  numBoxes 
)

Definition at line 40 of file Grid.cpp.

◆ ~Grid()

lvr2::Grid::~Grid ( )
virtual

Definition at line 145 of file Grid.cpp.

Member Function Documentation

◆ render()

void lvr2::Grid::render ( )
virtual

Implements lvr2::Renderable.

Definition at line 132 of file Grid.cpp.

Member Data Documentation

◆ m_boxes

uintArr lvr2::Grid::m_boxes
private

Definition at line 53 of file Grid.hpp.

◆ m_gridDisplayList

GLuint lvr2::Grid::m_gridDisplayList
private

Definition at line 58 of file Grid.hpp.

◆ m_numBoxes

uint lvr2::Grid::m_numBoxes
private

Definition at line 55 of file Grid.hpp.

◆ m_numPoints

uint lvr2::Grid::m_numPoints
private

Definition at line 54 of file Grid.hpp.

◆ m_pointDisplayList

GLuint lvr2::Grid::m_pointDisplayList
private

Definition at line 57 of file Grid.hpp.

◆ m_vertices

floatArr lvr2::Grid::m_vertices
private

Definition at line 52 of file Grid.hpp.


The documentation for this class was generated from the following files:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27