Public Member Functions | Private Attributes | List of all members
tango_gl::Transform Class Reference

#include <transform.h>

Inheritance diagram for tango_gl::Transform:
Inheritance graph
[legend]

Public Member Functions

const TransformGetParent () const
 
TransformGetParent ()
 
glm::vec3 GetPosition () const
 
glm::quat GetRotation () const
 
glm::vec3 GetScale () const
 
glm::mat4 GetTransformationMatrix () const
 
const Transformoperator= (const Transform &rhs)=delete
 
void SetParent (Transform *transform)
 
void SetPosition (const glm::vec3 &position)
 
void SetRotation (const glm::quat &rotation)
 
void SetScale (const glm::vec3 &scale)
 
void SetTransformationMatrix (const glm::mat4 &transform_mat)
 
 Transform ()
 
 Transform (const Transform &other)=delete
 
void Translate (const glm::vec3 &translation)
 
virtual ~Transform ()
 

Private Attributes

Transformparent_
 
glm::vec3 position_
 
glm::quat rotation_
 
glm::vec3 scale_
 

Detailed Description

Definition at line 24 of file transform.h.

Constructor & Destructor Documentation

tango_gl::Transform::Transform ( )

Definition at line 24 of file transform.cpp.

tango_gl::Transform::~Transform ( )
virtual

Definition at line 31 of file transform.cpp.

tango_gl::Transform::Transform ( const Transform other)
delete

Member Function Documentation

const Transform * tango_gl::Transform::GetParent ( ) const

Definition at line 84 of file transform.cpp.

Transform * tango_gl::Transform::GetParent ( )

Definition at line 88 of file transform.cpp.

glm::vec3 tango_gl::Transform::GetPosition ( ) const

Definition at line 39 of file transform.cpp.

glm::quat tango_gl::Transform::GetRotation ( ) const

Definition at line 47 of file transform.cpp.

glm::vec3 tango_gl::Transform::GetScale ( ) const

Definition at line 55 of file transform.cpp.

glm::mat4 tango_gl::Transform::GetTransformationMatrix ( ) const

Definition at line 67 of file transform.cpp.

const Transform& tango_gl::Transform::operator= ( const Transform rhs)
delete
void tango_gl::Transform::SetParent ( Transform transform)

Definition at line 80 of file transform.cpp.

void tango_gl::Transform::SetPosition ( const glm::vec3 position)

Definition at line 35 of file transform.cpp.

void tango_gl::Transform::SetRotation ( const glm::quat rotation)

Definition at line 43 of file transform.cpp.

void tango_gl::Transform::SetScale ( const glm::vec3 scale)

Definition at line 51 of file transform.cpp.

void tango_gl::Transform::SetTransformationMatrix ( const glm::mat4 transform_mat)

Definition at line 63 of file transform.cpp.

void tango_gl::Transform::Translate ( const glm::vec3 translation)

Definition at line 59 of file transform.cpp.

Member Data Documentation

Transform* tango_gl::Transform::parent_
private

Definition at line 52 of file transform.h.

glm::vec3 tango_gl::Transform::position_
private

Definition at line 54 of file transform.h.

glm::quat tango_gl::Transform::rotation_
private

Definition at line 55 of file transform.h.

glm::vec3 tango_gl::Transform::scale_
private

Definition at line 56 of file transform.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:43