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

#include <vctVector3DQtWidget.h>

Inheritance diagram for vctVector3DQtWidget:

Public Member Functions

 vctVector3DQtWidget (QWidget *parent=0)
 ~vctVector3DQtWidget (void)
void SetValue (const vct3 &value)
void SetAutoResize (const bool autoResize)
const double & MaxNorm (void) const
float & AxisLength (void)

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 mVector
vctQuatRot3 mCurrentOrientation
vctQuatRot3 mDeltaOrientation
vctInt2 mStartMousePosition
bool mAutoResize
double mVectorNorm
double mMaxNorm
float mScale
float mAxisLength

Detailed Description

Widget to visualize a vector using 3 axes in OpenGL

Constructor & Destructor Documentation

◆ vctVector3DQtWidget()

vctVector3DQtWidget::vctVector3DQtWidget ( QWidget * parent = 0)

◆ ~vctVector3DQtWidget()

vctVector3DQtWidget::~vctVector3DQtWidget ( void )
inline

Member Function Documentation

◆ AxisLength()

float & vctVector3DQtWidget::AxisLength ( void )
inline

◆ initializeGL()

void vctVector3DQtWidget::initializeGL ( void )
protected

◆ keyPressEvent()

void vctVector3DQtWidget::keyPressEvent ( QKeyEvent * event)
protected

◆ MaxNorm()

const double & vctVector3DQtWidget::MaxNorm ( void ) const
inline

◆ mouseMoveEvent()

void vctVector3DQtWidget::mouseMoveEvent ( QMouseEvent * event)
protected

◆ mouseReleaseEvent()

void vctVector3DQtWidget::mouseReleaseEvent ( QMouseEvent * event)
protected

◆ paintGL()

void vctVector3DQtWidget::paintGL ( void )
protected

◆ ResetOrientation()

void vctVector3DQtWidget::ResetOrientation ( void )
protected

◆ resizeGL()

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

◆ SetAutoResize()

void vctVector3DQtWidget::SetAutoResize ( const bool autoResize)

◆ SetValue()

void vctVector3DQtWidget::SetValue ( const vct3 & value)

Member Data Documentation

◆ mAutoResize

bool vctVector3DQtWidget::mAutoResize
protected

◆ mAxisLength

float vctVector3DQtWidget::mAxisLength
protected

◆ mCurrentOrientation

vctQuatRot3 vctVector3DQtWidget::mCurrentOrientation
protected

◆ mDeltaOrientation

vctQuatRot3 vctVector3DQtWidget::mDeltaOrientation
protected

◆ mMaxNorm

double vctVector3DQtWidget::mMaxNorm
protected

◆ mScale

float vctVector3DQtWidget::mScale
protected

◆ mStartMousePosition

vctInt2 vctVector3DQtWidget::mStartMousePosition
protected

◆ mVector

vct3 vctVector3DQtWidget::mVector
protected

◆ mVectorNorm

double vctVector3DQtWidget::mVectorNorm
protected

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