Class Renderable

Inheritance Relationships

Derived Types

Class Documentation

class Renderable

Subclassed by lvr2::Arrow, lvr2::CoordinateAxes, lvr2::Grid, lvr2::GroundPlane, lvr2::InteractivePointCloud, lvr2::MeshCluster, lvr2::MultiPointCloud, lvr2::PointCloud, lvr2::PointCorrespondences, lvr2::StaticMesh

Public Types

using Vec = BaseVector<float>

Public Functions

Renderable()
Renderable(const Renderable &other)
Renderable(string name)
Renderable(Matrix4<Vec> m, string name)
virtual ~Renderable()
virtual void render() = 0
void setTransformationMatrix(Matrix4<Vec> m)
inline virtual void setName(string s)
inline void setVisible(bool s)
inline void setRotationSpeed(float s)
inline void setTranslationSpeed(float s)
inline void setActive(bool a)
inline void setSelected(bool s)
inline bool isActive()
inline bool isSelected()
inline void toggle()
inline void moveX(bool invert = 0)
inline void moveY(bool invert = 0)
inline void moveZ(bool invert = 0)
void rotX(bool invert = 0)
void rotY(bool invert = 0)
void rotZ(bool invert = 0)
void yaw(bool invert = 0)
void pitch(bool invert = 0)
void roll(bool invert = 0)
void accel(bool invert = 0)
void lift(bool invert = 0)
void strafe(bool invert = 0)
void scale(float s)
inline void showAxes(bool on)
void compileAxesList()
inline std::string Name()
inline Matrix4<Vec> getTransformation()
inline BoundingBox<Vec> *boundingBox()
inline virtual ModelPtr model()
inline void setPointSize(float size)
inline void setLineWidth(float width)
inline float lineWidth()
inline float pointSize()

Protected Functions

virtual void transform()
void computeMatrix()

Protected Attributes

bool m_visible
bool m_showAxes
bool m_active
bool m_selected
int m_listIndex
int m_activeListIndex
int m_axesListIndex
float m_rotationSpeed
float m_translationSpeed
float m_scaleFactor
string m_name
Normal<typename Vec::CoordType> m_xAxis
Normal<typename Vec::CoordType> m_yAxis
Normal<typename Vec::CoordType> m_z_Axis
Vec m_position
Matrix4<Vec> m_transformation
BoundingBox<Vec> *m_boundingBox
ModelPtr m_model
float m_lineWidth
float m_pointSize