Mondschein Engine  0.3.0
Public Member Functions | List of all members
mondschein::scene::Pose Class Reference

This class represents a 3D pose. More...

#include <pose.h>

Inheritance diagram for mondschein::scene::Pose:
mondschein::scene::Scenenode

Public Member Functions

virtual void set_matrix (const Eigen::Matrix4d &_matrix)
 Set the transformation matrix. More...
 
virtual Eigen::Matrix4d get_matrix () const
 Get the transformation matrix. More...
 
- Public Member Functions inherited from mondschein::scene::Scenenode
virtual void set_renderables (const std::map< std::string, renderer::Renderable_c > &_r)
 Set the renderable objects. More...
 
virtual std::map< std::string,
renderer::Renderable_c > 
get_renderables () const
 Get the renderable objects. More...
 
virtual void set_id (const std::string &_id)
 Set the scenenode id. More...
 
virtual std::string get_id () const
 Get the scenenode id. More...
 

Detailed Description

This class represents a 3D pose.

The Pose class represents a 3D pose consisting of four vector components: the right, up, forward, and position vector. These vectors are organized in a 4x4 transformation matrix.

Definition at line 37 of file pose.h.

Member Function Documentation

Eigen::Matrix4d Pose::get_matrix ( ) const
virtual

Get the transformation matrix.

Returns
the transformation matrix of *this

This function returns the transformation matrix.

Definition at line 59 of file pose.cpp.

void Pose::set_matrix ( const Eigen::Matrix4d &  _matrix)
virtual

Set the transformation matrix.

Parameters
_matrixthe transformation matrix

Definition at line 53 of file pose.cpp.


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