GLWidget Class Reference

#include <glwidget.h>

List of all members.

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)
QSize minimumSizeHint () const
QSize sizeHint () const
int xRotation () const
 ~GLWidget ()

Public Attributes

bool doPickPos
bool doPickVfIte
vcg::GlTrimesh< MyStraightMeshglWrap
int keypress
MyStraightMesh mesh
int pic_x
int pic_y
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 keyPressEvent (QKeyEvent *e)
void mouseDoubleClickEvent (QMouseEvent *event)
void mouseMoveEvent (QMouseEvent *event)
void mousePressEvent (QMouseEvent *event)
void mouseReleaseEvent (QMouseEvent *event)
void paintGL ()
void resizeGL (int width, int height)
void wheelEvent (QWheelEvent *e)

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

Detailed Description

Definition at line 48 of file glwidget.h.


Constructor & Destructor Documentation

GLWidget::GLWidget ( QWidget *  parent = 0  ) 

Definition at line 53 of file glwidget.cpp.

GLWidget::~GLWidget (  ) 

Definition at line 69 of file glwidget.cpp.


Member Function Documentation

void GLWidget::extrude ( GLdouble  x1,
GLdouble  y1,
GLdouble  x2,
GLdouble  y2 
) [private]
void GLWidget::flipE (  )  [slot]

Definition at line 113 of file glwidget.cpp.

void GLWidget::flipF (  )  [slot]

Definition at line 117 of file glwidget.cpp.

void GLWidget::flipV (  )  [slot]

Definition at line 109 of file glwidget.cpp.

void GLWidget::initializeGL (  )  [protected]

Definition at line 135 of file glwidget.cpp.

void GLWidget::keyPressEvent ( QKeyEvent *  e  )  [protected]

Definition at line 230 of file glwidget.cpp.

void GLWidget::LoadTriMesh ( QString &  namefile  )  [slot]

Definition at line 85 of file glwidget.cpp.

GLuint GLWidget::makeObject (  )  [private]
QSize GLWidget::minimumSizeHint (  )  const

Definition at line 75 of file glwidget.cpp.

void GLWidget::mouseDoubleClickEvent ( QMouseEvent *  event  )  [protected]

Definition at line 236 of file glwidget.cpp.

void GLWidget::mouseMoveEvent ( QMouseEvent *  event  )  [protected]

Definition at line 218 of file glwidget.cpp.

void GLWidget::mousePressEvent ( QMouseEvent *  event  )  [protected]

Definition at line 241 of file glwidget.cpp.

void GLWidget::mouseReleaseEvent ( QMouseEvent *  event  )  [protected]

Definition at line 258 of file glwidget.cpp.

void GLWidget::nextB (  )  [slot]

Definition at line 125 of file glwidget.cpp.

void GLWidget::nextE (  )  [slot]

Definition at line 121 of file glwidget.cpp.

void GLWidget::nextVfite (  )  [slot]

Definition at line 130 of file glwidget.cpp.

void GLWidget::normalizeAngle ( int *  angle  )  [private]
void GLWidget::OpenFile (  )  [slot]

Definition at line 97 of file glwidget.cpp.

void GLWidget::paintGL (  )  [protected]

Definition at line 153 of file 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]

Definition at line 269 of file glwidget.cpp.

QSize GLWidget::sizeHint (  )  const

Definition at line 80 of file glwidget.cpp.

void GLWidget::wheelEvent ( QWheelEvent *  e  )  [protected]

Definition at line 276 of file glwidget.cpp.

int GLWidget::xRotation (  )  const [inline]

Definition at line 58 of file glwidget.h.


Member Data Documentation

Definition at line 63 of file glwidget.h.

Definition at line 63 of file glwidget.h.

Definition at line 60 of file glwidget.h.

Definition at line 62 of file glwidget.h.

QPoint GLWidget::lastPos [private]

Definition at line 98 of file glwidget.h.

Definition at line 59 of file glwidget.h.

GLuint GLWidget::object [private]

Definition at line 96 of file glwidget.h.

Definition at line 62 of file glwidget.h.

Definition at line 62 of file glwidget.h.

Definition at line 64 of file glwidget.h.

Definition at line 62 of file glwidget.h.

Definition at line 62 of file glwidget.h.

Definition at line 61 of file glwidget.h.

QColor GLWidget::trolltechGreen [private]

Definition at line 99 of file glwidget.h.

QColor GLWidget::trolltechPurple [private]

Definition at line 100 of file glwidget.h.

Definition at line 65 of file glwidget.h.

int GLWidget::xRot [private]

Definition at line 97 of file glwidget.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:04 2013