cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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 initializeGL (void)
 
void paintGL (void)
 
void resizeGL (int width, int height)
 
void draw3DAxis (const double scale)
 

Protected Attributes

vct3 orientation
 

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 ( void  )
vctQtWidgetRotationOpenGL::~vctQtWidgetRotationOpenGL ( void  )
inline

Member Function Documentation

void vctQtWidgetRotationOpenGL::draw3DAxis ( const double  scale)
protected
void vctQtWidgetRotationOpenGL::initializeGL ( void  )
protected
void vctQtWidgetRotationOpenGL::paintGL ( void  )
protected
void vctQtWidgetRotationOpenGL::resizeGL ( int  width,
int  height 
)
protected
void vctQtWidgetRotationOpenGL::SetValue ( const vctMatRot3 rotation)

Member Data Documentation

vct3 vctQtWidgetRotationOpenGL::orientation
protected

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