#include <TrackBall.h>
|
| Trackball () |
|
| Trackball (float scale[3]) |
|
void | TrackballSetMatrix () |
|
void | TrackballFlip (int axis) |
|
void | TrackballSpin () |
|
void | TrackballStopSpinning () |
|
int | TrackballSpinning () |
|
void | TrackballSetPosition (double newx, double newy) |
|
void | TrackballRotate (double newx, double newy) |
|
void | TrackballPan (double newx, double newy) |
|
void | TrackballZoom (double newx, double newy) |
|
void | TrackballCopyTo (Trackball *dst) |
|
void | TrackballReset () |
|
void | GetCenter (double center[3]) const |
|
bool | ReconstructCamera (double position[3], double upVec[3], double viewDir[3]) const |
|
void | MouseOnTrackball (int eventType, int thisButton, int xcrd, int ycrd, int width, int height) |
|
bool | setFromFrame (const std::vector< double > &posvec, const std::vector< double > &dirvec, const std::vector< double > &upvec, const std::vector< double > ¢erRot, bool perspective) |
|
bool | setFromFrame (const double posvec[3], const double dirvec[3], const double upvec[3], const double centerRot[3], bool perspective) |
|
void | SetScale (const double scale[3]) |
|
double | GetOrthoSize () const |
|
const double * | GetModelViewMatrix () const |
|
Definition at line 59 of file TrackBall.h.
◆ Trackball() [1/2]
◆ Trackball() [2/2]
Trackball::Trackball |
( |
float |
scale[3] | ) |
|
◆ GetCenter()
void Trackball::GetCenter |
( |
double |
center[3] | ) |
const |
|
inline |
◆ GetModelViewMatrix()
const double * Trackball::GetModelViewMatrix |
( |
| ) |
const |
|
inline |
◆ GetOrthoSize()
double Trackball::GetOrthoSize |
( |
| ) |
const |
◆ MouseOnTrackball()
void Trackball::MouseOnTrackball |
( |
int |
eventType, |
|
|
int |
thisButton, |
|
|
int |
xcrd, |
|
|
int |
ycrd, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
◆ ReconstructCamera()
bool Trackball::ReconstructCamera |
( |
double |
position[3], |
|
|
double |
upVec[3], |
|
|
double |
viewDir[3] |
|
) |
| const |
◆ setFromFrame() [1/2]
bool Trackball::setFromFrame |
( |
const double |
posvec[3], |
|
|
const double |
dirvec[3], |
|
|
const double |
upvec[3], |
|
|
const double |
centerRot[3], |
|
|
bool |
perspective |
|
) |
| |
|
inline |
◆ setFromFrame() [2/2]
bool Trackball::setFromFrame |
( |
const std::vector< double > & |
posvec, |
|
|
const std::vector< double > & |
dirvec, |
|
|
const std::vector< double > & |
upvec, |
|
|
const std::vector< double > & |
centerRot, |
|
|
bool |
perspective |
|
) |
| |
◆ SetScale()
void Trackball::SetScale |
( |
const double |
scale[3] | ) |
|
|
inline |
◆ TrackballCopyTo()
void Trackball::TrackballCopyTo |
( |
Trackball * |
dst | ) |
|
◆ TrackballFlip()
void Trackball::TrackballFlip |
( |
int |
axis | ) |
|
◆ TrackballPan()
void Trackball::TrackballPan |
( |
double |
newx, |
|
|
double |
newy |
|
) |
| |
◆ TrackballReset()
void Trackball::TrackballReset |
( |
| ) |
|
◆ TrackballRotate()
void Trackball::TrackballRotate |
( |
double |
newx, |
|
|
double |
newy |
|
) |
| |
◆ TrackballSetMatrix()
void Trackball::TrackballSetMatrix |
( |
| ) |
|
◆ TrackballSetPosition()
void Trackball::TrackballSetPosition |
( |
double |
newx, |
|
|
double |
newy |
|
) |
| |
◆ TrackballSpin()
void Trackball::TrackballSpin |
( |
| ) |
|
◆ TrackballSpinning()
int Trackball::TrackballSpinning |
( |
| ) |
|
◆ TrackballStopSpinning()
void Trackball::TrackballStopSpinning |
( |
| ) |
|
◆ TrackballZoom()
void Trackball::TrackballZoom |
( |
double |
newx, |
|
|
double |
newy |
|
) |
| |
The documentation for this class was generated from the following file: