#include <glwidget.h>
Public Slots | |
void | flipE () |
void | flipF () |
void | flipV () |
void | LoadTriMesh (QString &namefile) |
void | nextB () |
void | nextE () |
void | nextVfite () |
void | OpenFile () |
Public Member Functions | |
GLWidget (QWidget *parent=0) | |
GLWidget (QWidget *parent=0) | |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
QSize | sizeHint () const |
int | xRotation () const |
~GLWidget () | |
~GLWidget () | |
Public Attributes | |
bool | doPickPos |
bool | doPickVfIte |
vcg::GlTrimesh< MyStraightMesh > | glWrap |
bool | hasToPick |
int | keypress |
MyStraightMesh | mesh |
int | pic_x |
int | pic_y |
Point2i | pointToPick |
vcg::face::Pos < MyStraightMesh::FaceType > | pos |
int | ScreenH |
int | ScreenW |
vcg::Trackball | track |
vcg::face::VFIterator < MyStraightMesh::FaceType > | vfite |
Protected Member Functions | |
void | initializeGL () |
void | initializeGL () |
void | keyPressEvent (QKeyEvent *e) |
void | keyPressEvent (QKeyEvent *event) |
void | keyReleaseEvent (QKeyEvent *event) |
void | mouseDoubleClickEvent (QMouseEvent *event) |
void | mouseDoubleClickEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | paintGL () |
void | paintGL () |
void | resizeGL (int width, int height) |
void | resizeGL (int width, int height) |
void | wheelEvent (QWheelEvent *e) |
void | wheelEvent (QWheelEvent *event) |
Private Member Functions | |
void | extrude (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) |
GLuint | makeObject () |
void | normalizeAngle (int *angle) |
void | quad (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2, GLdouble x3, GLdouble y3, GLdouble x4, GLdouble y4) |
Private Attributes | |
QPoint | lastPos |
GLuint | object |
QColor | trolltechGreen |
QColor | trolltechPurple |
int | xRot |
Definition at line 74 of file trimesh_ant_qt/glwidget.h.
GLWidget::GLWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 76 of file trimesh_ant_qt/glwidget.cpp.
GLWidget::~GLWidget | ( | ) | [inline] |
Definition at line 82 of file trimesh_ant_qt/glwidget.h.
GLWidget::GLWidget | ( | QWidget * | parent = 0 | ) |
void GLWidget::extrude | ( | GLdouble | x1, |
GLdouble | y1, | ||
GLdouble | x2, | ||
GLdouble | y2 | ||
) | [private] |
void GLWidget::flipE | ( | ) | [slot] |
Definition at line 113 of file trimesh_pos_demo/glwidget.cpp.
void GLWidget::flipF | ( | ) | [slot] |
Definition at line 117 of file trimesh_pos_demo/glwidget.cpp.
void GLWidget::flipV | ( | ) | [slot] |
Definition at line 109 of file trimesh_pos_demo/glwidget.cpp.
void GLWidget::initializeGL | ( | ) | [protected] |
void GLWidget::initializeGL | ( | ) | [protected] |
Definition at line 97 of file trimesh_ant_qt/glwidget.cpp.
void GLWidget::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
void GLWidget::keyPressEvent | ( | QKeyEvent * | event | ) | [protected] |
Definition at line 164 of file trimesh_ant_qt/glwidget.cpp.
void GLWidget::keyReleaseEvent | ( | QKeyEvent * | event | ) | [protected] |
Definition at line 154 of file trimesh_ant_qt/glwidget.cpp.
void GLWidget::LoadTriMesh | ( | QString & | namefile | ) | [slot] |
Definition at line 85 of file trimesh_pos_demo/glwidget.cpp.
GLuint GLWidget::makeObject | ( | ) | [private] |
QSize GLWidget::minimumSizeHint | ( | ) | const |
Definition at line 75 of file trimesh_pos_demo/glwidget.cpp.
void GLWidget::mouseDoubleClickEvent | ( | QMouseEvent * | event | ) | [protected] |
void GLWidget::mouseDoubleClickEvent | ( | QMouseEvent * | event | ) | [protected] |
Definition at line 195 of file trimesh_ant_qt/glwidget.cpp.
void GLWidget::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected] |
void GLWidget::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected] |
Definition at line 186 of file trimesh_ant_qt/glwidget.cpp.
void GLWidget::mousePressEvent | ( | QMouseEvent * | event | ) | [protected] |
void GLWidget::mousePressEvent | ( | QMouseEvent * | event | ) | [protected] |
Definition at line 175 of file trimesh_ant_qt/glwidget.cpp.
void GLWidget::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected] |
void GLWidget::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected] |
Definition at line 203 of file trimesh_ant_qt/glwidget.cpp.
void GLWidget::nextB | ( | ) | [slot] |
Definition at line 125 of file trimesh_pos_demo/glwidget.cpp.
void GLWidget::nextE | ( | ) | [slot] |
Definition at line 121 of file trimesh_pos_demo/glwidget.cpp.
void GLWidget::nextVfite | ( | ) | [slot] |
Definition at line 130 of file trimesh_pos_demo/glwidget.cpp.
void GLWidget::normalizeAngle | ( | int * | angle | ) | [private] |
void GLWidget::OpenFile | ( | ) | [slot] |
Definition at line 97 of file trimesh_pos_demo/glwidget.cpp.
void GLWidget::paintGL | ( | ) | [protected] |
void GLWidget::paintGL | ( | ) | [protected] |
Definition at line 116 of file trimesh_ant_qt/glwidget.cpp.
void GLWidget::quad | ( | GLdouble | x1, |
GLdouble | y1, | ||
GLdouble | x2, | ||
GLdouble | y2, | ||
GLdouble | x3, | ||
GLdouble | y3, | ||
GLdouble | x4, | ||
GLdouble | y4 | ||
) | [private] |
void GLWidget::resizeGL | ( | int | width, |
int | height | ||
) | [protected] |
void GLWidget::resizeGL | ( | int | width, |
int | height | ||
) | [protected] |
Definition at line 109 of file trimesh_ant_qt/glwidget.cpp.
QSize GLWidget::sizeHint | ( | ) | const |
QSize GLWidget::sizeHint | ( | ) | const [inline] |
Definition at line 84 of file trimesh_ant_qt/glwidget.h.
void GLWidget::wheelEvent | ( | QWheelEvent * | e | ) | [protected] |
void GLWidget::wheelEvent | ( | QWheelEvent * | event | ) | [protected] |
Definition at line 210 of file trimesh_ant_qt/glwidget.cpp.
int GLWidget::xRotation | ( | ) | const [inline] |
Definition at line 58 of file trimesh_pos_demo/glwidget.h.
bool GLWidget::doPickPos |
Definition at line 63 of file trimesh_pos_demo/glwidget.h.
Definition at line 63 of file trimesh_pos_demo/glwidget.h.
Definition at line 60 of file trimesh_pos_demo/glwidget.h.
bool GLWidget::hasToPick |
Definition at line 80 of file trimesh_ant_qt/glwidget.h.
Definition at line 62 of file trimesh_pos_demo/glwidget.h.
QPoint GLWidget::lastPos [private] |
Definition at line 98 of file trimesh_pos_demo/glwidget.h.
Definition at line 59 of file trimesh_pos_demo/glwidget.h.
GLuint GLWidget::object [private] |
Definition at line 96 of file trimesh_pos_demo/glwidget.h.
int GLWidget::pic_x |
Definition at line 62 of file trimesh_pos_demo/glwidget.h.
int GLWidget::pic_y |
Definition at line 62 of file trimesh_pos_demo/glwidget.h.
Definition at line 81 of file trimesh_ant_qt/glwidget.h.
Definition at line 64 of file trimesh_pos_demo/glwidget.h.
Definition at line 62 of file trimesh_pos_demo/glwidget.h.
Definition at line 62 of file trimesh_pos_demo/glwidget.h.
Definition at line 61 of file trimesh_pos_demo/glwidget.h.
QColor GLWidget::trolltechGreen [private] |
Definition at line 99 of file trimesh_pos_demo/glwidget.h.
QColor GLWidget::trolltechPurple [private] |
Definition at line 100 of file trimesh_pos_demo/glwidget.h.
Definition at line 65 of file trimesh_pos_demo/glwidget.h.
int GLWidget::xRot [private] |
Definition at line 97 of file trimesh_pos_demo/glwidget.h.