casa
$Rev:20696$
|
#include <3DController.qo.h>
Public Slots | |
void | setXRotation (int angle) |
void | setYRotation (int angle) |
void | setZRotation (int angle) |
void | setZNear (int angle) |
void | setZDepth (int angle) |
void | setTrans (int angle) |
void | setColormap (const QString &) |
void | updatePosition () |
void | setFrame (bool) |
void | setFog (int) |
void | setLight (int) |
void | setNumColors (int) |
void | setPol (const QString &, int) |
void | setBG (const QString &) |
void | setZoom (int) |
void | showHelp () |
Signals | |
void | xRotationChanged (int angle) |
void | yRotationChanged (int angle) |
void | zRotationChanged (int angle) |
void | zNearChanged (int angle) |
void | zDepthChanged (int angle) |
void | transChanged (int angle) |
void | resetZNear (double, double, double) |
void | resetZDepth (double, double, double) |
void | colorChanged (int, float, float, const QString &) |
Public Member Functions | |
GLWidget (QWidget *parent=0) | |
~GLWidget () | |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
void | setDD (char *, int &pol) |
void | getCubeSize (Int &, Int &, Int &) |
void | getMinMax (Float &, Float &) |
Float | getBound () |
Protected Member Functions | |
void | initializeGL () |
void | paintGL () |
void | resizeGL (int width, int height) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mouseDoubleClickEvent (QMouseEvent *event) |
Private Member Functions | |
void | normalizeAngle (int *angle) |
void | setColorTable (const QString &cmap="") |
GLuint | makeObject (bool transChanged=true) |
GLuint | makeObject2 () |
void | calcLinearMaps (uInt numColors, Vector< Float > &r, Vector< Float > &g, Vector< Float > &b) |
void | getLinearColor (Float &r, Float &g, Float &b, Float v, Float min=0., Float max=1.) |
void | getTableColor (Float &r, Float &g, Float &b, Float v, Float min=0., Float max=1.) |
Private Attributes | |
DisplayData3 * | dd3 |
Cube< Float > | data |
QVector< DisplayPoint3 > | pList |
Vector< Float > | rMap |
Colormap* cmap;. | |
Vector< Float > | gMap |
Vector< Float > | bMap |
int | numColors |
QString | cmapname |
GLuint | object |
GLuint | box |
GLfloat | cx |
GLfloat | cy |
GLfloat | cz |
GLfloat | cd |
int | pol |
GLfloat | thresh |
int | near |
int | depth |
int | trans |
int | xRot |
int | yRot |
int | zRot |
QPoint | lastPos |
bool | frameOn |
int | zoom |
QColor | bg |
GLuint | filter |
GLuint | light |
QString | tips |
QMenu * | menu |
QAction * | helpAct |
QAction * | profileAct |
QAction * | momentAct |
Static Private Attributes | |
static const GLuint | fogMode [3] |
static const GLfloat | fogColor [4] |
Definition at line 18 of file 3DController.qo.h.
casa::GLWidget::GLWidget | ( | QWidget * | parent = 0 | ) |
void casa::GLWidget::calcLinearMaps | ( | uInt | numColors, |
Vector< Float > & | r, | ||
Vector< Float > & | g, | ||
Vector< Float > & | b | ||
) | [private] |
void casa::GLWidget::colorChanged | ( | int | , |
float | , | ||
float | , | ||
const QString & | |||
) | [signal] |
void casa::GLWidget::getCubeSize | ( | Int & | , |
Int & | , | ||
Int & | |||
) |
void casa::GLWidget::getLinearColor | ( | Float & | r, |
Float & | g, | ||
Float & | b, | ||
Float | v, | ||
Float | min = 0. , |
||
Float | max = 1. |
||
) | [private] |
void casa::GLWidget::getMinMax | ( | Float & | , |
Float & | |||
) |
void casa::GLWidget::getTableColor | ( | Float & | r, |
Float & | g, | ||
Float & | b, | ||
Float | v, | ||
Float | min = 0. , |
||
Float | max = 1. |
||
) | [private] |
void casa::GLWidget::initializeGL | ( | ) | [protected] |
GLuint casa::GLWidget::makeObject | ( | bool | transChanged = true | ) | [private] |
GLuint casa::GLWidget::makeObject2 | ( | ) | [private] |
QSize casa::GLWidget::minimumSizeHint | ( | ) | const |
void casa::GLWidget::mouseDoubleClickEvent | ( | QMouseEvent * | event | ) | [protected] |
void casa::GLWidget::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected] |
void casa::GLWidget::mousePressEvent | ( | QMouseEvent * | event | ) | [protected] |
void casa::GLWidget::normalizeAngle | ( | int * | angle | ) | [private] |
void casa::GLWidget::paintGL | ( | ) | [protected] |
void casa::GLWidget::resetZDepth | ( | double | , |
double | , | ||
double | |||
) | [signal] |
void casa::GLWidget::resetZNear | ( | double | , |
double | , | ||
double | |||
) | [signal] |
void casa::GLWidget::resizeGL | ( | int | width, |
int | height | ||
) | [protected] |
void casa::GLWidget::setBG | ( | const QString & | ) | [slot] |
void casa::GLWidget::setColormap | ( | const QString & | ) | [slot] |
void casa::GLWidget::setColorTable | ( | const QString & | cmap = "" | ) | [private] |
void casa::GLWidget::setDD | ( | char * | , |
int & | pol | ||
) |
void casa::GLWidget::setFog | ( | int | ) | [slot] |
void casa::GLWidget::setFrame | ( | bool | ) | [slot] |
void casa::GLWidget::setLight | ( | int | ) | [slot] |
void casa::GLWidget::setNumColors | ( | int | ) | [slot] |
void casa::GLWidget::setPol | ( | const QString & | , |
int | |||
) | [slot] |
void casa::GLWidget::setTrans | ( | int | angle | ) | [slot] |
void casa::GLWidget::setXRotation | ( | int | angle | ) | [slot] |
void casa::GLWidget::setYRotation | ( | int | angle | ) | [slot] |
void casa::GLWidget::setZDepth | ( | int | angle | ) | [slot] |
void casa::GLWidget::setZNear | ( | int | angle | ) | [slot] |
void casa::GLWidget::setZoom | ( | int | ) | [slot] |
void casa::GLWidget::setZRotation | ( | int | angle | ) | [slot] |
void casa::GLWidget::showHelp | ( | ) | [slot] |
QSize casa::GLWidget::sizeHint | ( | ) | const |
void casa::GLWidget::transChanged | ( | int | angle | ) | [signal] |
void casa::GLWidget::updatePosition | ( | ) | [slot] |
void casa::GLWidget::xRotationChanged | ( | int | angle | ) | [signal] |
void casa::GLWidget::yRotationChanged | ( | int | angle | ) | [signal] |
void casa::GLWidget::zDepthChanged | ( | int | angle | ) | [signal] |
void casa::GLWidget::zNearChanged | ( | int | angle | ) | [signal] |
void casa::GLWidget::zRotationChanged | ( | int | angle | ) | [signal] |
QColor casa::GLWidget::bg [private] |
Definition at line 128 of file 3DController.qo.h.
Vector<Float> casa::GLWidget::bMap [private] |
Definition at line 90 of file 3DController.qo.h.
GLuint casa::GLWidget::box [private] |
Definition at line 100 of file 3DController.qo.h.
GLfloat casa::GLWidget::cd [private] |
Definition at line 112 of file 3DController.qo.h.
QString casa::GLWidget::cmapname [private] |
Definition at line 92 of file 3DController.qo.h.
GLfloat casa::GLWidget::cx [private] |
Definition at line 109 of file 3DController.qo.h.
GLfloat casa::GLWidget::cy [private] |
Definition at line 110 of file 3DController.qo.h.
GLfloat casa::GLWidget::cz [private] |
Definition at line 111 of file 3DController.qo.h.
Cube<Float> casa::GLWidget::data [private] |
Definition at line 84 of file 3DController.qo.h.
DisplayData3* casa::GLWidget::dd3 [private] |
Definition at line 83 of file 3DController.qo.h.
int casa::GLWidget::depth [private] |
Definition at line 118 of file 3DController.qo.h.
GLuint casa::GLWidget::filter [private] |
Definition at line 130 of file 3DController.qo.h.
const GLfloat casa::GLWidget::fogColor[4] [static, private] |
Definition at line 133 of file 3DController.qo.h.
const GLuint casa::GLWidget::fogMode[3] [static, private] |
Definition at line 132 of file 3DController.qo.h.
bool casa::GLWidget::frameOn [private] |
Definition at line 126 of file 3DController.qo.h.
Vector<Float> casa::GLWidget::gMap [private] |
Definition at line 89 of file 3DController.qo.h.
QAction* casa::GLWidget::helpAct [private] |
Definition at line 140 of file 3DController.qo.h.
QPoint casa::GLWidget::lastPos [private] |
Definition at line 124 of file 3DController.qo.h.
GLuint casa::GLWidget::light [private] |
Definition at line 135 of file 3DController.qo.h.
QMenu* casa::GLWidget::menu [private] |
Definition at line 139 of file 3DController.qo.h.
QAction* casa::GLWidget::momentAct [private] |
Definition at line 142 of file 3DController.qo.h.
int casa::GLWidget::near [private] |
Definition at line 117 of file 3DController.qo.h.
int casa::GLWidget::numColors [private] |
Definition at line 91 of file 3DController.qo.h.
GLuint casa::GLWidget::object [private] |
Definition at line 99 of file 3DController.qo.h.
QVector<DisplayPoint3> casa::GLWidget::pList [private] |
Definition at line 85 of file 3DController.qo.h.
int casa::GLWidget::pol [private] |
Definition at line 113 of file 3DController.qo.h.
QAction* casa::GLWidget::profileAct [private] |
Definition at line 141 of file 3DController.qo.h.
Vector<Float> casa::GLWidget::rMap [private] |
Colormap* cmap;.
Definition at line 88 of file 3DController.qo.h.
GLfloat casa::GLWidget::thresh [private] |
Definition at line 115 of file 3DController.qo.h.
QString casa::GLWidget::tips [private] |
Definition at line 137 of file 3DController.qo.h.
int casa::GLWidget::trans [private] |
Definition at line 119 of file 3DController.qo.h.
int casa::GLWidget::xRot [private] |
Definition at line 121 of file 3DController.qo.h.
int casa::GLWidget::yRot [private] |
Definition at line 122 of file 3DController.qo.h.
int casa::GLWidget::zoom [private] |
Definition at line 127 of file 3DController.qo.h.
int casa::GLWidget::zRot [private] |
Definition at line 123 of file 3DController.qo.h.