#include <Trackball.h>
Public Member Functions | |
Trackball () | |
~Trackball () | |
void | SetQuaternion (sofa::type::Quat< SReal > Q) |
sofa::type::Quat< SReal > | GetQuaternion (void) |
void | ComputeQuaternion (double p1x, double p1y, double p2x, double p2y) |
void | AxisToQuat (double a[3], double phi, double q[4]) |
sofa::helper::visual::Trackball::Trackball | ( | ) |
sofa::helper::visual::Trackball::~Trackball | ( | ) |
void sofa::helper::visual::Trackball::AxisToQuat | ( | double | a[3], |
double | phi, | ||
double | q[4] | ||
) |
void sofa::helper::visual::Trackball::ComputeQuaternion | ( | double | p1x, |
double | p1y, | ||
double | p2x, | ||
double | p2y | ||
) |
type::Quat< SReal > sofa::helper::visual::Trackball::GetQuaternion | ( | void | ) |
void sofa::helper::visual::Trackball::SetQuaternion | ( | sofa::type::Quat< SReal > | Q | ) |