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

#include <vctQtWidgetFrame.h>

Inheritance diagram for vctQtWidgetFrameDoubleRead:

Public Types

typedef vctQtWidgetRotationDoubleRead RotationWidgetType
typedef RotationWidgetType::DisplayModeType DisplayModeType

Public Member Functions

 vctQtWidgetFrameDoubleRead (const DisplayModeType displayMode=RotationWidgetType::MATRIX_WIDGET)
 ~vctQtWidgetFrameDoubleRead (void)
template<class _rotationType>
void SetValue (const vctFrameBase< _rotationType > &frame)
void SetDisplayMode (const DisplayModeType displayMode)
void SetPrismaticRevoluteFactors (const double &prismatic, const double &revolute)

Protected Attributes

vctQtWidgetRotationDoubleReadRotationWidget
vctQtWidgetDynamicVectorDoubleReadTranslationWidget
QVBoxLayout * Layout
double mPrismaticFactor

Detailed Description

Qt Widget to display a 3D frame using cisstVector.

Member Typedef Documentation

◆ DisplayModeType

◆ RotationWidgetType

Define the display mode type based on the rotation display mode.

Constructor & Destructor Documentation

◆ vctQtWidgetFrameDoubleRead()

vctQtWidgetFrameDoubleRead::vctQtWidgetFrameDoubleRead ( const DisplayModeType displayMode = RotationWidgetType::MATRIX_WIDGET)

Constructor. Default display mode is rotation matrix. See also SetDisplayMode.

◆ ~vctQtWidgetFrameDoubleRead()

vctQtWidgetFrameDoubleRead::~vctQtWidgetFrameDoubleRead ( void )
inline

Member Function Documentation

◆ SetDisplayMode()

void vctQtWidgetFrameDoubleRead::SetDisplayMode ( const DisplayModeType displayMode)
inline

Set the display mode. This method applies the display mode to the rotation widget.

◆ SetPrismaticRevoluteFactors()

void vctQtWidgetFrameDoubleRead::SetPrismaticRevoluteFactors ( const double & prismatic,
const double & revolute )
inline

◆ SetValue()

template<class _rotationType>
void vctQtWidgetFrameDoubleRead::SetValue ( const vctFrameBase< _rotationType > & frame)
inline

Set the rotation value to be displayed. This method assumes the rotation matrix is valid, i.e. normalized and will nor perform any check nor normalization.

Member Data Documentation

◆ Layout

QVBoxLayout* vctQtWidgetFrameDoubleRead::Layout
protected

◆ mPrismaticFactor

double vctQtWidgetFrameDoubleRead::mPrismaticFactor
protected

◆ RotationWidget

vctQtWidgetRotationDoubleRead* vctQtWidgetFrameDoubleRead::RotationWidget
protected

◆ TranslationWidget

vctQtWidgetDynamicVectorDoubleRead* vctQtWidgetFrameDoubleRead::TranslationWidget
protected

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