Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TxqRotateDlog Class Reference

The TxqRotateDlog is a class used to obtain the rotation parameters for the Txq3dCanvas. More...

#include <TxqRotateDlog.h>

Inheritance diagram for TxqRotateDlog::

QTabDialog List of all members.

Public Slots

void setXRotation (int degrees)
 public slot to set the X-Axis rotation. More...

void setYRotation (int degrees)
 public slot to set the Y-Axis rotation. More...

void setZRotation (int degrees)
 public slot to set the Z-Axis rotation. More...

void setTranslation (int units)
 public slot to set the eye translation. More...


Public Methods

 TxqRotateDlog (QWidget *parent, const char *name, Txq3dCanvas *canvas)
 Construct a TxqRotaeDialog with a parent, name and a Txq3dCanvas pointer. More...

virtual ~TxqRotateDlog ()
 The TxqRotateDlog destructor. More...

void setXaxisName (QString &name)
 Set the X axis name. More...

void setYaxisName (QString &name)
 Set the Y axis name. More...

void setZaxisName (QString &name)
 Set the Z axis name. More...

void setAngles (int x, int y, int z)
 Set the initial angles for the sliders and the spin boxes. More...


Protected Methods

void axesTab ()
 axesTab creates the Axes tab editor. More...

QString getXaxisName ()
 Get the X axis name. More...

QString getYaxisName ()
 Get the Y axis name. More...

QString getZaxisName ()
 Get the Z axis name. More...


Protected Attributes

QString xAxisName
 The X axis name. More...

QString yAxisName
 The Y axis name. More...

QString zAxisName
 The Z axis name. More...


Private Attributes

QSlider* x
 The X slider. More...

QSlider* y
 The Y slider. More...

QSlider* z
 The Z slider. More...

QSlider* eye
 The eye or zoom slider. More...

Txq3dCanvas* canvas
 The class Txq3dCanvas pointer. More...

QSpinBox* xspin
 The X axis angle spin box. More...

QSpinBox* yspin
 The Y axis angle spin box. More...

QSpinBox* zspin
 The Z axis angle spin box. More...

QSpinBox* espin
 The eye spin box. More...

QVBox* xAxisBox
 The X axis vertical layout box. More...

QVBox* yAxisBox
 The Y axis vertical layout box. More...

QVBox* zAxisBox
 The Z axis vertical layout box. More...

QVBox* eAxisBox
 The eye vertical layout box. More...

QLabelxl
 The X axis label. More...

QLabelyl
 The Y axis label. More...

QLabelzl
 The Z axis label. More...

QLabelel
 The eye label. More...

QLabelea
 The Zoom value label. More...

QLabelal
 The "Angle of rotation" label. More...

QLabelaly
 The "Angle of rotation" label. More...

QLabelalz
 The "Angle of rotation" label. More...

QLabelxspace
 A label used for space, ie " ". More...

QLabelyspace
 A label used for space, ie " ". More...

QLabelzspace
 A label used for space, ie " ". More...

QLabelespace
 A label used for space, ie " ". More...


Detailed Description

The TxqRotateDlog is a class used to obtain the rotation parameters for the Txq3dCanvas.

Copyright 1998 - 2001 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
TxqRotateDlog.h,v 1.4 2001/10/11 20:34:58 kgl Exp

Definition at line 50 of file TxqRotateDlog.h.


Constructor & Destructor Documentation

TxqRotateDlog::TxqRotateDlog ( QWidget * parent,
const char * name,
Txq3dCanvas * canvas )
 

Construct a TxqRotaeDialog with a parent, name and a Txq3dCanvas pointer.

The canvas pointer is used to get values from and to set new values which will update the view.

Parameters:
parent   the parent must be set
name   the name of this widget must be set
canvas   the canvas pointer

TxqRotateDlog::~TxqRotateDlog ( ) [virtual]
 

The TxqRotateDlog destructor.


Member Function Documentation

void TxqRotateDlog::axesTab ( ) [protected]
 

axesTab creates the Axes tab editor.

QString TxqRotateDlog::getXaxisName ( ) [protected]
 

Get the X axis name.

Parameters:
return   the axis name as a QString

QString TxqRotateDlog::getYaxisName ( ) [protected]
 

Get the Y axis name.

Parameters:
return   the axis name as a QString

QString TxqRotateDlog::getZaxisName ( ) [protected]
 

Get the Z axis name.

Parameters:
return   the axis name as a QString

void TxqRotateDlog::setAngles ( int x,
int y,
int z )
 

Set the initial angles for the sliders and the spin boxes.

Parameters:
x   the x angle value in degrees
y   the y angle value in degrees
z   the z angle value in degrees

void TxqRotateDlog::setTranslation ( int units ) [slot]
 

public slot to set the eye translation.

Parameters:
units   the number of units to zoom in or out

void TxqRotateDlog::setXRotation ( int degrees ) [slot]
 

public slot to set the X-Axis rotation.

Parameters:
degress   the integer rotation angle

void TxqRotateDlog::setXaxisName ( QString & name )
 

Set the X axis name.

Parameters:
name   the name for the axis

void TxqRotateDlog::setYRotation ( int degrees ) [slot]
 

public slot to set the Y-Axis rotation.

Parameters:
degress   the integer rotation angle

void TxqRotateDlog::setYaxisName ( QString & name )
 

Set the Y axis name.

Parameters:
name   the name for the axis

void TxqRotateDlog::setZRotation ( int degrees ) [slot]
 

public slot to set the Z-Axis rotation.

Parameters:
degress   the integer rotation angle

void TxqRotateDlog::setZaxisName ( QString & name )
 

Set the Z axis name.

Parameters:
name   the name for the axis


Member Data Documentation

QLabel * TxqRotateDlog::al [private]
 

The "Angle of rotation" label.

Definition at line 260 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::aly [private]
 

The "Angle of rotation" label.

Definition at line 265 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::alz [private]
 

The "Angle of rotation" label.

Definition at line 270 of file TxqRotateDlog.h.

Txq3dCanvas * TxqRotateDlog::canvas [private]
 

The class Txq3dCanvas pointer.

Definition at line 190 of file TxqRotateDlog.h.

QVBox * TxqRotateDlog::eAxisBox [private]
 

The eye vertical layout box.

Definition at line 230 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::ea [private]
 

The Zoom value label.

Definition at line 255 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::el [private]
 

The eye label.

Definition at line 250 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::espace [private]
 

A label used for space, ie " ".

Definition at line 290 of file TxqRotateDlog.h.

QSpinBox * TxqRotateDlog::espin [private]
 

The eye spin box.

Definition at line 210 of file TxqRotateDlog.h.

QSlider * TxqRotateDlog::eye [private]
 

The eye or zoom slider.

Definition at line 185 of file TxqRotateDlog.h.

QSlider * TxqRotateDlog::x [private]
 

The X slider.

Definition at line 170 of file TxqRotateDlog.h.

QVBox * TxqRotateDlog::xAxisBox [private]
 

The X axis vertical layout box.

Definition at line 215 of file TxqRotateDlog.h.

QString TxqRotateDlog::xAxisName [protected]
 

The X axis name.

Definition at line 153 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::xl [private]
 

The X axis label.

Definition at line 235 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::xspace [private]
 

A label used for space, ie " ".

Definition at line 275 of file TxqRotateDlog.h.

QSpinBox * TxqRotateDlog::xspin [private]
 

The X axis angle spin box.

Definition at line 195 of file TxqRotateDlog.h.

QSlider * TxqRotateDlog::y [private]
 

The Y slider.

Definition at line 175 of file TxqRotateDlog.h.

QVBox * TxqRotateDlog::yAxisBox [private]
 

The Y axis vertical layout box.

Definition at line 220 of file TxqRotateDlog.h.

QString TxqRotateDlog::yAxisName [protected]
 

The Y axis name.

Definition at line 158 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::yl [private]
 

The Y axis label.

Definition at line 240 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::yspace [private]
 

A label used for space, ie " ".

Definition at line 280 of file TxqRotateDlog.h.

QSpinBox * TxqRotateDlog::yspin [private]
 

The Y axis angle spin box.

Definition at line 200 of file TxqRotateDlog.h.

QSlider * TxqRotateDlog::z [private]
 

The Z slider.

Definition at line 180 of file TxqRotateDlog.h.

QVBox * TxqRotateDlog::zAxisBox [private]
 

The Z axis vertical layout box.

Definition at line 225 of file TxqRotateDlog.h.

QString TxqRotateDlog::zAxisName [protected]
 

The Z axis name.

Definition at line 163 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::zl [private]
 

The Z axis label.

Definition at line 245 of file TxqRotateDlog.h.

QLabel * TxqRotateDlog::zspace [private]
 

A label used for space, ie " ".

Definition at line 285 of file TxqRotateDlog.h.

QSpinBox * TxqRotateDlog::zspin [private]
 

The Z axis angle spin box.

Definition at line 205 of file TxqRotateDlog.h.


The documentation for this class was generated from the following file: Copyright Tech-X Corporation, all rights reserved.