#include <myglwidget.h>
Public Slots | |
void | SectionMouseModality () |
void | setBox () |
bounding box visualization modality | |
void | setFlat () |
alternate wire visualization | |
void | setFlatWire () |
alternate wire visualization | |
void | setHidden () |
hiddenlines modality | |
void | setSmallTetra () |
alternate wire visualization | |
void | setSmooth () |
alternate wire visualization | |
void | setWire () |
wireframe modality | |
void | SwitchTextPhysics () |
switching to modality of viewing txt info on physics | |
void | SwitchTextQuality () |
switching to modality of viewing txt info on quality | |
void | SwitchTextSimplex () |
switching to modality of viewing txt info on simplex | |
void | TrackMouseModality () |
Public Member Functions | |
void | DrawBox () |
void | DrawTetraMesh () |
void | DrawTextInfo () |
virtual void | glDraw () |
virtual void | initializeGL () |
virtual void | keyPressEvent (QKeyEvent *k) |
void | LoadMatrix () |
virtual void | mouseMoveEvent (QMouseEvent *e) |
virtual void | mousePressEvent (QMouseEvent *e) |
virtual void | mouseReleaseEvent (QMouseEvent *e) |
MyGLWidget (QWidget *parent=0, const char *name=0, const QGLWidget *shareWidget=0, WFlags f=0) | |
void | resizeGL (int w, int h) |
virtual void | SaveMatrix () |
bool | ShowTextPhysics () |
bool | ShowTextQuality () |
bool | ShowTextSimplex () |
virtual void | wheelEvent (QWheelEvent *e) |
Private Types | |
enum | { SIMPLEX = 0x00000001, PHYSICS = 0x00000002, QUALITY = 0x00000004 } |
enum | mousemod { MMTrackball, MMSection, MMNavigateSection } |
Private Attributes | |
int | _H |
int | _ShowBar |
This are the flags pf info of the mesh that we want to show. | |
int | _W |
int | modality |
GLdouble | modelMatrix [16] |
mousemod | mouse_modality |
GLdouble | projection [16] |
vcg::Trackball | Track |
vcg::Trackball | TrackClip |
GLint | viewport [4] |
vcg::GLWrapTetra < MyTetraMesh::TetraContainer > * | WT |
Definition at line 11 of file myglwidget.h.
anonymous enum [private] |
Definition at line 36 of file myglwidget.h.
enum MyGLWidget::mousemod [private] |
Definition at line 27 of file myglwidget.h.
MyGLWidget::MyGLWidget | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 , |
|||
const QGLWidget * | shareWidget = 0 , |
|||
WFlags | f = 0 | |||
) |
Definition at line 26 of file myglwidget.cpp.
void MyGLWidget::DrawBox | ( | ) |
Definition at line 130 of file myglwidget.cpp.
void MyGLWidget::DrawTetraMesh | ( | ) |
Definition at line 170 of file myglwidget.cpp.
void MyGLWidget::DrawTextInfo | ( | ) |
Definition at line 39 of file myglwidget.cpp.
void MyGLWidget::glDraw | ( | ) | [virtual] |
Definition at line 199 of file myglwidget.cpp.
void MyGLWidget::initializeGL | ( | ) | [virtual] |
Definition at line 376 of file myglwidget.cpp.
void MyGLWidget::keyPressEvent | ( | QKeyEvent * | k | ) | [virtual] |
Definition at line 367 of file myglwidget.cpp.
void MyGLWidget::LoadMatrix | ( | ) |
Definition at line 191 of file myglwidget.cpp.
void MyGLWidget::mouseMoveEvent | ( | QMouseEvent * | e | ) | [virtual] |
Definition at line 324 of file myglwidget.cpp.
void MyGLWidget::mousePressEvent | ( | QMouseEvent * | e | ) | [virtual] |
find external face
Definition at line 256 of file myglwidget.cpp.
void MyGLWidget::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [virtual] |
Definition at line 318 of file myglwidget.cpp.
void MyGLWidget::resizeGL | ( | int | w, | |
int | h | |||
) |
Definition at line 241 of file myglwidget.cpp.
void MyGLWidget::SaveMatrix | ( | ) | [virtual] |
Definition at line 185 of file myglwidget.cpp.
void MyGLWidget::SectionMouseModality | ( | ) | [inline, slot] |
Definition at line 116 of file myglwidget.h.
void MyGLWidget::setBox | ( | ) | [inline, slot] |
bounding box visualization modality
Definition at line 67 of file myglwidget.h.
void MyGLWidget::setFlat | ( | ) | [inline, slot] |
alternate wire visualization
Definition at line 85 of file myglwidget.h.
void MyGLWidget::setFlatWire | ( | ) | [inline, slot] |
alternate wire visualization
Definition at line 91 of file myglwidget.h.
void MyGLWidget::setHidden | ( | ) | [inline, slot] |
hiddenlines modality
Definition at line 79 of file myglwidget.h.
void MyGLWidget::setSmallTetra | ( | ) | [inline, slot] |
alternate wire visualization
Definition at line 103 of file myglwidget.h.
void MyGLWidget::setSmooth | ( | ) | [inline, slot] |
alternate wire visualization
Definition at line 97 of file myglwidget.h.
void MyGLWidget::setWire | ( | ) | [inline, slot] |
wireframe modality
Definition at line 73 of file myglwidget.h.
bool MyGLWidget::ShowTextPhysics | ( | ) |
Definition at line 15 of file myglwidget.cpp.
bool MyGLWidget::ShowTextQuality | ( | ) |
Definition at line 20 of file myglwidget.cpp.
bool MyGLWidget::ShowTextSimplex | ( | ) |
Definition at line 10 of file myglwidget.cpp.
void MyGLWidget::SwitchTextPhysics | ( | ) | [inline, slot] |
switching to modality of viewing txt info on physics
Definition at line 132 of file myglwidget.h.
void MyGLWidget::SwitchTextQuality | ( | ) | [inline, slot] |
switching to modality of viewing txt info on quality
Definition at line 142 of file myglwidget.h.
void MyGLWidget::SwitchTextSimplex | ( | ) | [inline, slot] |
switching to modality of viewing txt info on simplex
Definition at line 122 of file myglwidget.h.
void MyGLWidget::TrackMouseModality | ( | ) | [inline, slot] |
Definition at line 110 of file myglwidget.h.
void MyGLWidget::wheelEvent | ( | QWheelEvent * | e | ) | [virtual] |
for casting from double to float
Definition at line 343 of file myglwidget.cpp.
int MyGLWidget::_H [private] |
Definition at line 16 of file myglwidget.h.
int MyGLWidget::_ShowBar [private] |
This are the flags pf info of the mesh that we want to show.
Definition at line 34 of file myglwidget.h.
int MyGLWidget::_W [private] |
Definition at line 17 of file myglwidget.h.
int MyGLWidget::modality [private] |
Definition at line 26 of file myglwidget.h.
GLdouble MyGLWidget::modelMatrix[16] [private] |
Definition at line 22 of file myglwidget.h.
mousemod MyGLWidget::mouse_modality [private] |
Definition at line 28 of file myglwidget.h.
GLdouble MyGLWidget::projection[16] [private] |
Definition at line 21 of file myglwidget.h.
vcg::Trackball MyGLWidget::Track [private] |
Definition at line 18 of file myglwidget.h.
vcg::Trackball MyGLWidget::TrackClip [private] |
Definition at line 31 of file myglwidget.h.
GLint MyGLWidget::viewport[4] [private] |
Definition at line 23 of file myglwidget.h.
vcg::GLWrapTetra<MyTetraMesh::TetraContainer >* MyGLWidget::WT [private] |
Definition at line 19 of file myglwidget.h.