mCRL2
Loading...
Searching...
No Matches
mcrl2::gui Namespace Reference

Namespaces

namespace  qt
 

Functions

QQuaternion arcballRotation (const QPoint &p1, const QPoint &p2)
 
void applyRotation (const QQuaternion &rotation, bool reverse=false)
 
static QVector3D arcballVector (const QPoint &p)
 Compute the projection of the point p on a sphere that covers the viewport.
 

Function Documentation

◆ applyRotation()

void mcrl2::gui::applyRotation ( const QQuaternion &  rotation,
bool  reverse = false 
)

Definition at line 72 of file arcball.cpp.

◆ arcballRotation()

QQuaternion mcrl2::gui::arcballRotation ( const QPoint &  p1,
const QPoint &  p2 
)

Definition at line 62 of file arcball.cpp.

◆ arcballVector()

static QVector3D mcrl2::gui::arcballVector ( const QPoint &  p)
static

Compute the projection of the point p on a sphere that covers the viewport.

Definition at line 27 of file arcball.cpp.