Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lvr2::Renderable Class Referenceabstract

#include <Renderable.hpp>

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

Public Types

using Vec = BaseVector< float >
 

Public Member Functions

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 ()
 
virtual void render ()=0
 
 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 ()
 

Protected Member Functions

void computeMatrix ()
 
virtual void transform ()
 

Protected Attributes

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 65 of file Renderable.hpp.

Member Typedef Documentation

◆ Vec

Definition at line 69 of file Renderable.hpp.

Constructor & Destructor Documentation

◆ Renderable() [1/4]

lvr2::Renderable::Renderable ( )

Definition at line 40 of file Renderable.cpp.

◆ Renderable() [2/4]

lvr2::Renderable::Renderable ( const Renderable other)

Definition at line 99 of file Renderable.cpp.

◆ Renderable() [3/4]

lvr2::Renderable::Renderable ( string  name)

Definition at line 129 of file Renderable.cpp.

◆ Renderable() [4/4]

lvr2::Renderable::Renderable ( Matrix4< Vec m,
string  name 
)

Definition at line 72 of file Renderable.cpp.

◆ ~Renderable()

lvr2::Renderable::~Renderable ( )
virtual

Definition at line 291 of file Renderable.cpp.

Member Function Documentation

◆ accel()

void lvr2::Renderable::accel ( bool  invert = 0)

Definition at line 262 of file Renderable.cpp.

◆ boundingBox()

BoundingBox<Vec>* lvr2::Renderable::boundingBox ( )
inline

Definition at line 124 of file Renderable.hpp.

◆ compileAxesList()

void lvr2::Renderable::compileAxesList ( )

Definition at line 329 of file Renderable.cpp.

◆ computeMatrix()

void lvr2::Renderable::computeMatrix ( )
protected

Definition at line 296 of file Renderable.cpp.

◆ getTransformation()

Matrix4<Vec> lvr2::Renderable::getTransformation ( )
inline

Definition at line 122 of file Renderable.hpp.

◆ isActive()

bool lvr2::Renderable::isActive ( )
inline

Definition at line 89 of file Renderable.hpp.

◆ isSelected()

bool lvr2::Renderable::isSelected ( )
inline

Definition at line 90 of file Renderable.hpp.

◆ lift()

void lvr2::Renderable::lift ( bool  invert = 0)

Definition at line 272 of file Renderable.cpp.

◆ lineWidth()

float lvr2::Renderable::lineWidth ( )
inline

Definition at line 134 of file Renderable.hpp.

◆ model()

virtual ModelPtr lvr2::Renderable::model ( )
inlinevirtual

Reimplemented in lvr2::MultiPointCloud.

Definition at line 126 of file Renderable.hpp.

◆ moveX()

void lvr2::Renderable::moveX ( bool  invert = 0)
inline

Definition at line 94 of file Renderable.hpp.

◆ moveY()

void lvr2::Renderable::moveY ( bool  invert = 0)
inline

Definition at line 97 of file Renderable.hpp.

◆ moveZ()

void lvr2::Renderable::moveZ ( bool  invert = 0)
inline

Definition at line 100 of file Renderable.hpp.

◆ Name()

string lvr2::Renderable::Name ( )
inline

Definition at line 121 of file Renderable.hpp.

◆ pitch()

void lvr2::Renderable::pitch ( bool  invert = 0)

Definition at line 187 of file Renderable.cpp.

◆ pointSize()

float lvr2::Renderable::pointSize ( )
inline

Definition at line 135 of file Renderable.hpp.

◆ render()

virtual void lvr2::Renderable::render ( )
pure virtual

◆ roll()

void lvr2::Renderable::roll ( bool  invert = 0)

Definition at line 200 of file Renderable.cpp.

◆ rotX()

void lvr2::Renderable::rotX ( bool  invert = 0)

Definition at line 213 of file Renderable.cpp.

◆ rotY()

void lvr2::Renderable::rotY ( bool  invert = 0)

Definition at line 230 of file Renderable.cpp.

◆ rotZ()

void lvr2::Renderable::rotZ ( bool  invert = 0)

Definition at line 246 of file Renderable.cpp.

◆ scale()

void lvr2::Renderable::scale ( float  s)

Definition at line 161 of file Renderable.cpp.

◆ setActive()

void lvr2::Renderable::setActive ( bool  a)
inline

Definition at line 86 of file Renderable.hpp.

◆ setLineWidth()

void lvr2::Renderable::setLineWidth ( float  width)
inline

Definition at line 132 of file Renderable.hpp.

◆ setName()

virtual void lvr2::Renderable::setName ( string  s)
inlinevirtual

Reimplemented in lvr2::StaticMesh.

Definition at line 82 of file Renderable.hpp.

◆ setPointSize()

void lvr2::Renderable::setPointSize ( float  size)
inline

Definition at line 131 of file Renderable.hpp.

◆ setRotationSpeed()

void lvr2::Renderable::setRotationSpeed ( float  s)
inline

Definition at line 84 of file Renderable.hpp.

◆ setSelected()

void lvr2::Renderable::setSelected ( bool  s)
inline

Definition at line 87 of file Renderable.hpp.

◆ setTransformationMatrix()

void lvr2::Renderable::setTransformationMatrix ( Matrix4< Vec m)

Definition at line 359 of file Renderable.cpp.

◆ setTranslationSpeed()

void lvr2::Renderable::setTranslationSpeed ( float  s)
inline

Definition at line 85 of file Renderable.hpp.

◆ setVisible()

void lvr2::Renderable::setVisible ( bool  s)
inline

Definition at line 83 of file Renderable.hpp.

◆ showAxes()

void lvr2::Renderable::showAxes ( bool  on)
inline

Definition at line 117 of file Renderable.hpp.

◆ strafe()

void lvr2::Renderable::strafe ( bool  invert = 0)

Definition at line 281 of file Renderable.cpp.

◆ toggle()

void lvr2::Renderable::toggle ( )
inline

Definition at line 92 of file Renderable.hpp.

◆ transform()

void lvr2::Renderable::transform ( )
protectedvirtual

Definition at line 373 of file Renderable.cpp.

◆ yaw()

void lvr2::Renderable::yaw ( bool  invert = 0)

Definition at line 175 of file Renderable.cpp.

Member Data Documentation

◆ m_active

bool lvr2::Renderable::m_active
protected

Definition at line 144 of file Renderable.hpp.

◆ m_activeListIndex

int lvr2::Renderable::m_activeListIndex
protected

Definition at line 149 of file Renderable.hpp.

◆ m_axesListIndex

int lvr2::Renderable::m_axesListIndex
protected

Definition at line 150 of file Renderable.hpp.

◆ m_boundingBox

BoundingBox<Vec>* lvr2::Renderable::m_boundingBox
protected

Definition at line 165 of file Renderable.hpp.

◆ m_lineWidth

float lvr2::Renderable::m_lineWidth
protected

Definition at line 169 of file Renderable.hpp.

◆ m_listIndex

int lvr2::Renderable::m_listIndex
protected

Definition at line 148 of file Renderable.hpp.

◆ m_model

ModelPtr lvr2::Renderable::m_model
protected

Definition at line 167 of file Renderable.hpp.

◆ m_name

string lvr2::Renderable::m_name
protected

Definition at line 156 of file Renderable.hpp.

◆ m_pointSize

float lvr2::Renderable::m_pointSize
protected

Definition at line 170 of file Renderable.hpp.

◆ m_position

Vec lvr2::Renderable::m_position
protected

Definition at line 162 of file Renderable.hpp.

◆ m_rotationSpeed

float lvr2::Renderable::m_rotationSpeed
protected

Definition at line 152 of file Renderable.hpp.

◆ m_scaleFactor

float lvr2::Renderable::m_scaleFactor
protected

Definition at line 154 of file Renderable.hpp.

◆ m_selected

bool lvr2::Renderable::m_selected
protected

Definition at line 145 of file Renderable.hpp.

◆ m_showAxes

bool lvr2::Renderable::m_showAxes
protected

Definition at line 143 of file Renderable.hpp.

◆ m_transformation

Matrix4<Vec> lvr2::Renderable::m_transformation
protected

Definition at line 164 of file Renderable.hpp.

◆ m_translationSpeed

float lvr2::Renderable::m_translationSpeed
protected

Definition at line 153 of file Renderable.hpp.

◆ m_visible

bool lvr2::Renderable::m_visible
protected

Definition at line 142 of file Renderable.hpp.

◆ m_xAxis

Normal<typename Vec::CoordType> lvr2::Renderable::m_xAxis
protected

Definition at line 158 of file Renderable.hpp.

◆ m_yAxis

Normal<typename Vec::CoordType> lvr2::Renderable::m_yAxis
protected

Definition at line 159 of file Renderable.hpp.

◆ m_z_Axis

Normal<typename Vec::CoordType> lvr2::Renderable::m_z_Axis
protected

Definition at line 160 of file Renderable.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 Mon Feb 28 2022 22:46:12