SOFA API  99934cbc
Open source framework for multi-physics simuation
sofa::helper::gl::Trackball Class Reference

#include <Trackball.h>

Public Member Functions

 Trackball ()
 
 ~Trackball ()
 
void SetQuaternion (sofa::defaulttype::Quaternion Q)
 
sofa::defaulttype::Quaternion GetQuaternion (void)
 
void ComputeQuaternion (double p1x, double p1y, double p2x, double p2y)
 
void AxisToQuat (double a[3], double phi, double q[4])
 

Constructor details

sofa::helper::gl::Trackball::Trackball ( )
sofa::helper::gl::Trackball::~Trackball ( )

Function details

void sofa::helper::gl::Trackball::AxisToQuat ( double  a[3],
double  phi,
double  q[4] 
)
void sofa::helper::gl::Trackball::ComputeQuaternion ( double  p1x,
double  p1y,
double  p2x,
double  p2y 
)
Quaternion sofa::helper::gl::Trackball::GetQuaternion ( void  )
void sofa::helper::gl::Trackball::SetQuaternion ( sofa::defaulttype::Quaternion  Q)