cisst-saw
Loading...
Searching...
No Matches
vctQtWidgetRotationOpenGL Class Reference

#include <vctQtWidgetRotation.h>

Inheritance diagram for vctQtWidgetRotationOpenGL:

Public Member Functions

 vctQtWidgetRotationOpenGL (void)
 ~vctQtWidgetRotationOpenGL (void)
void SetValue (const vctMatRot3 &rotation)

Protected Member Functions

void ResetOrientation (void)
void mouseMoveEvent (QMouseEvent *event)
void mouseReleaseEvent (QMouseEvent *event)
void keyPressEvent (QKeyEvent *event)
void initializeGL (void)
void paintGL (void)
void resizeGL (int width, int height)

Protected Attributes

vct3 mRotation
vctQuatRot3 mCurrentOrientation
vctQuatRot3 mDeltaOrientation
vctInt2 mStartMousePosition

Detailed Description

Widget to visualize rotation using 3 axes in OpenGL

Todo

use rotation matrix to rotate axis instead of euler angles

use a GL list to create the axes once and re-use later

remove reference frame?

Constructor & Destructor Documentation

◆ vctQtWidgetRotationOpenGL()

vctQtWidgetRotationOpenGL::vctQtWidgetRotationOpenGL ( void )

◆ ~vctQtWidgetRotationOpenGL()

vctQtWidgetRotationOpenGL::~vctQtWidgetRotationOpenGL ( void )
inline

Member Function Documentation

◆ initializeGL()

void vctQtWidgetRotationOpenGL::initializeGL ( void )
protected

◆ keyPressEvent()

void vctQtWidgetRotationOpenGL::keyPressEvent ( QKeyEvent * event)
protected

◆ mouseMoveEvent()

void vctQtWidgetRotationOpenGL::mouseMoveEvent ( QMouseEvent * event)
protected

◆ mouseReleaseEvent()

void vctQtWidgetRotationOpenGL::mouseReleaseEvent ( QMouseEvent * event)
protected

◆ paintGL()

void vctQtWidgetRotationOpenGL::paintGL ( void )
protected

◆ ResetOrientation()

void vctQtWidgetRotationOpenGL::ResetOrientation ( void )
protected

◆ resizeGL()

void vctQtWidgetRotationOpenGL::resizeGL ( int width,
int height )
protected

◆ SetValue()

void vctQtWidgetRotationOpenGL::SetValue ( const vctMatRot3 & rotation)

Member Data Documentation

◆ mCurrentOrientation

vctQuatRot3 vctQtWidgetRotationOpenGL::mCurrentOrientation
protected

◆ mDeltaOrientation

vctQuatRot3 vctQtWidgetRotationOpenGL::mDeltaOrientation
protected

◆ mRotation

vct3 vctQtWidgetRotationOpenGL::mRotation
protected

◆ mStartMousePosition

vctInt2 vctQtWidgetRotationOpenGL::mStartMousePosition
protected

The documentation for this class was generated from the following file: