VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtVec3Widget Class Reference

DtVec3Widget.

The widget used to represent an 3D vector horizontally or vertically.

Inheritance diagram for makVrv::DtVec3Widget:
Inheritance graph
[legend]

Public Member Functions

 DtVec3Widget (QWidget *parent, bool horitontal=true)
 
virtual void setValue (float x, float y, float z)
 
virtual void getValue (float &x, float &y, float &z)
 

Protected Attributes

QDoubleSpinBoxmyXSpinBox
 
QDoubleSpinBoxmyYSpinBox
 
QDoubleSpinBoxmyZSpinBox
 

Constructor & Destructor Documentation

makVrv::DtVec3Widget::DtVec3Widget ( QWidget *  parent,
bool  horitontal = true 
)

Default CTOR.

Parameters
parentThe parent widget.
horizontallyWhetehr layout the x,y,z double spin box horizontally.

Member Function Documentation

virtual void makVrv::DtVec3Widget::setValue ( float  x,
float  y,
float  z 
)
virtual

Sets the current value.

Parameters
xThe x of the vector.
yThe y of the vector.
zThe z of the vector.
virtual void makVrv::DtVec3Widget::getValue ( float &  x,
float &  y,
float &  z 
)
virtual

Gets the current value.

Parameters
xThe x of the vector.
yThe x of the vector.
zThe z of the vector.

Member Data Documentation

QDoubleSpinBox* makVrv::DtVec3Widget::myXSpinBox
protected
QDoubleSpinBox* makVrv::DtVec3Widget::myYSpinBox
protected
QDoubleSpinBox* makVrv::DtVec3Widget::myZSpinBox
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)