#include <trackmode.h>
Public Member Functions | |
void | Apply (Trackball *trackball, Point3f new_point) |
The default manipulator application for mouse drags. | |
void | Draw (Trackball *trackball) |
The default manipulator's render function. | |
const char * | Name () |
The default manipulator's name. | |
PolarMode () | |
void | Reset () |
The default manipulator's reset function. | |
void | SetAction () |
The default manipulator's begin action function. | |
Private Attributes | |
float | alpha |
float | beta |
float | enda |
float | endb |
Definition at line 1024 of file trackmode.h.
vcg::PolarMode::PolarMode | ( | ) | [inline] |
Definition at line 1026 of file trackmode.h.
The default manipulator application for mouse drags.
This default application does nothing.
trackball | the manipulator manager. | |
new_point | the new mouse pointer coordinate. |
Reimplemented from vcg::TrackMode.
Definition at line 784 of file trackmode.cpp.
void PolarMode::Draw | ( | Trackball * | trackball | ) | [virtual] |
The default manipulator's render function.
trackball | the manipulator manager. |
Reimplemented from vcg::TrackMode.
Definition at line 815 of file trackmode.cpp.
const char* vcg::PolarMode::Name | ( | ) | [inline, virtual] |
The default manipulator's name.
Reimplemented from vcg::TrackMode.
Definition at line 1029 of file trackmode.h.
void PolarMode::Reset | ( | ) | [virtual] |
The default manipulator's reset function.
If a manipulator has a state, it can be reset to the inital state calling this function.
Reimplemented from vcg::TrackMode.
Definition at line 810 of file trackmode.cpp.
void PolarMode::SetAction | ( | ) | [virtual] |
The default manipulator's begin action function.
This default implementation does nothing.
Reimplemented from vcg::TrackMode.
Definition at line 805 of file trackmode.cpp.
float vcg::PolarMode::alpha [private] |
Definition at line 1036 of file trackmode.h.
float vcg::PolarMode::beta [private] |
Definition at line 1036 of file trackmode.h.
float vcg::PolarMode::enda [private] |
Definition at line 1037 of file trackmode.h.
float vcg::PolarMode::endb [private] |
Definition at line 1037 of file trackmode.h.