KGLLib
KGLLib::TrackBall Class Reference
#include <trackball.h>
Detailed Description
Definition at line 30 of file trackball.h.
Public Member Functions | |
| void | rotate (float degrees, Eigen::Vector3f axis) |
| virtual void | rotate (float dx, float dy) |
| void | rotateX (float degrees) |
| void | rotateY (float degrees) |
| void | rotateZ (float degrees) |
| TrackBall () | |
| Camera | transform (const Camera &c) |
| Eigen::Vector3f | transform (const Eigen::Vector3f &v) const |
| Eigen::Vector3f | xAxis () const |
| Eigen::Vector3f | yAxis () const |
| Eigen::Vector3f | zAxis () const |
| virtual | ~TrackBall () |
Protected Attributes | |
| Eigen::Transform3f | mMatrix |
Constructor & Destructor Documentation
| KGLLib::TrackBall::TrackBall | ( | ) |
Definition at line 34 of file trackball.cpp.
| KGLLib::TrackBall::~TrackBall | ( | ) | [virtual] |
Definition at line 39 of file trackball.cpp.
Member Function Documentation
| void KGLLib::TrackBall::rotate | ( | float | degrees, | |
| Eigen::Vector3f | axis | |||
| ) |
Definition at line 64 of file trackball.cpp.
| void KGLLib::TrackBall::rotate | ( | float | dx, | |
| float | dy | |||
| ) | [virtual] |
Definition at line 43 of file trackball.cpp.
| void KGLLib::TrackBall::rotateX | ( | float | degrees | ) |
Definition at line 49 of file trackball.cpp.
| void KGLLib::TrackBall::rotateY | ( | float | degrees | ) |
Definition at line 54 of file trackball.cpp.
| void KGLLib::TrackBall::rotateZ | ( | float | degrees | ) |
Definition at line 59 of file trackball.cpp.
Definition at line 74 of file trackball.cpp.
| Eigen::Vector3f KGLLib::TrackBall::transform | ( | const Eigen::Vector3f & | v | ) | const |
Definition at line 69 of file trackball.cpp.
| Vector3f KGLLib::TrackBall::xAxis | ( | ) | const |
Definition at line 83 of file trackball.cpp.
| Vector3f KGLLib::TrackBall::yAxis | ( | ) | const |
Definition at line 88 of file trackball.cpp.
| Vector3f KGLLib::TrackBall::zAxis | ( | ) | const |
Definition at line 93 of file trackball.cpp.
Member Data Documentation
Eigen::Transform3f KGLLib::TrackBall::mMatrix [protected] |
Definition at line 52 of file trackball.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference