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

#include <CoordinateAxes.hpp>

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

Public Member Functions

 CoordinateAxes ()
 
 CoordinateAxes (float)
 
virtual void render ()
 
virtual void transform (Matrix4< Vec > m)
 
virtual ~CoordinateAxes ()
 
- 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 Member Functions

void drawArrow (float length, float radius, int nSubdivs=12)
 
void drawAxes (float length)
 

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 43 of file CoordinateAxes.hpp.

Constructor & Destructor Documentation

◆ CoordinateAxes() [1/2]

lvr2::CoordinateAxes::CoordinateAxes ( )

Definition at line 40 of file CoordinateAxes.cpp.

◆ CoordinateAxes() [2/2]

lvr2::CoordinateAxes::CoordinateAxes ( float  length)

Definition at line 44 of file CoordinateAxes.cpp.

◆ ~CoordinateAxes()

lvr2::CoordinateAxes::~CoordinateAxes ( )
virtual

Definition at line 48 of file CoordinateAxes.cpp.

Member Function Documentation

◆ drawArrow()

void lvr2::CoordinateAxes::drawArrow ( float  length,
float  radius,
int  nSubdivs = 12 
)
private

Definition at line 120 of file CoordinateAxes.cpp.

◆ drawAxes()

void lvr2::CoordinateAxes::drawAxes ( float  length)
private

Definition at line 52 of file CoordinateAxes.cpp.

◆ render()

void lvr2::CoordinateAxes::render ( )
virtual

Implements lvr2::Renderable.

Definition at line 137 of file CoordinateAxes.cpp.

◆ transform()

void lvr2::CoordinateAxes::transform ( Matrix4< Vec m)
virtual

Definition at line 146 of file CoordinateAxes.cpp.


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