Signals | Public Member Functions | Private Member Functions | Private Attributes
qglv::FatMan Class Reference

#include <fat_man.hpp>

List of all members.

Signals

void moved (const float &, const float &)

Public Member Functions

void checkIfGrabsMouse (int x, int y, const qglviewer::Camera *const camera)
void draw ()
 FatMan (const Sophus::SE3f &pose=Sophus::SE3f())
virtual void mouseMoveEvent (QMouseEvent *const event, qglviewer::Camera *const camera)
virtual void mousePressEvent (QMouseEvent *const event, qglviewer::Camera *const camera)
virtual void mouseReleaseEvent (QMouseEvent *const event, qglviewer::Camera *const camera)
Eigen::Vector3f position () const
virtual void wheelEvent (QWheelEvent *const event, qglviewer::Camera *const camera)
virtual ~FatMan ()

Private Member Functions

void _glGenLists ()
Eigen::Vector3f _pointOnZPlane (const QPoint &point, const qglviewer::Camera *camera) const

Private Attributes

int gl_id_start
 Opengl id starting point for the lists.
bool moving
 In the middle of being moved by the mouse.
Sophus::SE3f pose
 6D information, pose, not transform!
bool updated
 Flag denoting if it was new/updated recently.

Detailed Description

Fat men are great tests for obstacles. This renders a dummy 3d volume for the fat man which can be moved around on a qgl canvas.

Optionally takes a pose (not transform) for the fatman. e.g. for a 2d configuration

 Sophus::SE3f(Eigen::Matrix3f::Identity(), Eigen::Vector3f(-3.0f, 1.0f, 0.0f));

Definition at line 45 of file fat_man.hpp.


Constructor & Destructor Documentation

qglv::FatMan::FatMan ( const Sophus::SE3f &  pose = Sophus::SE3f())

Definition at line 21 of file fat_man.cpp.

qglv::FatMan::~FatMan ( ) [virtual]

Definition at line 29 of file fat_man.cpp.


Member Function Documentation

void qglv::FatMan::_glGenLists ( ) [private]

Definition at line 107 of file fat_man.cpp.

Eigen::Vector3f qglv::FatMan::_pointOnZPlane ( const QPoint &  point,
const qglviewer::Camera *  camera 
) const [private]

Definition at line 74 of file fat_man.cpp.

void qglv::FatMan::checkIfGrabsMouse ( int  x,
int  y,
const qglviewer::Camera *const  camera 
)

Definition at line 39 of file fat_man.cpp.

Definition at line 91 of file fat_man.cpp.

void qglv::FatMan::mouseMoveEvent ( QMouseEvent *const  event,
qglviewer::Camera *const  camera 
) [virtual]

Definition at line 51 of file fat_man.cpp.

void qglv::FatMan::mousePressEvent ( QMouseEvent *const  event,
qglviewer::Camera *const  camera 
) [virtual]

Definition at line 47 of file fat_man.cpp.

void qglv::FatMan::mouseReleaseEvent ( QMouseEvent *const  event,
qglviewer::Camera *const  camera 
) [virtual]

Definition at line 60 of file fat_man.cpp.

void qglv::FatMan::moved ( const float &  ,
const float &   
) [signal]
Eigen::Vector3f qglv::FatMan::position ( ) const [inline]

Definition at line 57 of file fat_man.hpp.

void qglv::FatMan::wheelEvent ( QWheelEvent *const  event,
qglviewer::Camera *const  camera 
) [virtual]

Definition at line 68 of file fat_man.cpp.


Member Data Documentation

Opengl id starting point for the lists.

Definition at line 67 of file fat_man.hpp.

bool qglv::FatMan::moving [private]

In the middle of being moved by the mouse.

Definition at line 66 of file fat_man.hpp.

Sophus::SE3f qglv::FatMan::pose [private]

6D information, pose, not transform!

Definition at line 68 of file fat_man.hpp.

bool qglv::FatMan::updated [private]

Flag denoting if it was new/updated recently.

Definition at line 65 of file fat_man.hpp.


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


qglv_extras
Author(s): Daniel Stonier
autogenerated on Sat Jun 18 2016 08:19:30