MipResources::DraWinGL Class Reference
[Draw window]

window. More...

#include <DraWinGL.h>

Inheritance diagram for MipResources::DraWinGL:

MipResources::DraWin MipResources::DraWin MipResources::Resource MipResources::Resource MIPObject MIPObject

List of all members.

Public Slots

void setXRotation (int angle)
void setYRotation (int angle)
void setZRotation (int angle)
void increaseZ ()
void decreaseZ ()
void stopZ ()
void increaseY ()
void decreaseY ()
void stopY ()
void increaseX ()
void decreaseX ()
void stopX ()
void manual ()
void grid ()

Signals

void xRotationChanged (int angle)
void yRotationChanged (int angle)
void zRotationChanged (int angle)

Public Member Functions

 DraWinGL (int argc, const char *argv[])
 constructor
 ~DraWinGL ()
 destructor
ResourcePlate getPlate () const
 getId
void getDefaultVar ()
 default variables from Parameter
bool drawingCycle (Time timeout)
 draw all the draw lists
void drawObject (DraWinObj *draWinObj)
 selects and call the right drawer for the object
bool execCmd (DraWinObj *draWinObj)
 try to exec the cmd if the object is a cmd
void GLdrawPoint2D (DraWinObj *draWinObj)
void GLdrawPoints2D (DraWinObj *draWinObj)
void GLdrawPolygon2D (DraWinObj *draWinObj)
void GLdrawSeg2D (DraWinObj *draWinObj)
void GLdrawDisk2D (DraWinObj *draWinObj)
void GLdrawMobRob2D (DraWinObj *draWinObj)
void GLdrawKhepera2D (DraWinObj *draWinObj)
void GLdrawQuad3D (DraWinObj *draWinObj)
void GLdrawPar3D (DraWinObj *draWinObj)
void GLdrawHalfLine2D (DraWinObj *draWinObj)
void GLdrawCovEllipse2D (DraWinObj *draWinObj)
void GLexecBB2D (DraWinObj *draWinObj)
void autoModelView ()
void updateModelViewMatrix ()
void drawText ()
void drawPar3D (double x0, double x1, double y0, double y1, double z0, double z1, double red=0, double green=0, double blue=0)
 DraWinGL (int argc, const char *argv[])
 Constructor.
 ~DraWinGL ()
 Destructor.
ResourcePlate getPlate () const
 Gets the plate.
void getDefaultVar ()
 Default variables from Parameter.
bool drawingCycle (Time timeout)
 Draws all the draw lists.
void drawObject (DraWinObj *draWinObj)
 Selects and call the right drawer for the object.
bool execCmd (DraWinObj *draWinObj)
 brief Tries to exec the cmd if the object is a cmd
void GLdrawPoint2D (DraWinObj *draWinObj)
void GLdrawPoints2D (DraWinObj *draWinObj)
void GLdrawPolygon2D (DraWinObj *draWinObj)
void GLdrawSeg2D (DraWinObj *draWinObj)
void GLdrawDisk2D (DraWinObj *draWinObj)
void GLdrawMobRob2D (DraWinObj *draWinObj)
void GLdrawHalfLine2D (DraWinObj *draWinObj)
void GLexecBB2D (DraWinObj *draWinObj)
void manualModelView ()
void autoModelView ()
void zNearFarControl (void)
void updateModelViewMatrix ()
void drawText ()
void defaultView (int width, int height)
QSize minimumSizeHint () const
QSize sizeHint () const

Public Attributes

DraWinGLOptions options
 options passed by the user
DraWinGLVar _var
 variables
DraWinGLVar _defaultVar
 default variables taken at start from parameters
Thread _GLThread
 thread that manages the GLWindow

Protected Member Functions

void initializeGL ()
void paintGL ()
void resizeGL (int width, int height)
void mousePressEvent (QMouseEvent *event)
void mouseMoveEvent (QMouseEvent *event)


Detailed Description

window.
Examples:

exampleDraWin.cpp.


Constructor & Destructor Documentation

MipResources::DraWinGL::DraWinGL ( int  argc,
const char *  argv[] 
)

constructor

MipResources::DraWinGL::~DraWinGL (  ) 

destructor

MipResources::DraWinGL::DraWinGL ( int  argc,
const char *  argv[] 
)

Constructor.

MipResources::DraWinGL::~DraWinGL (  ) 

Destructor.


Member Function Documentation

ResourcePlate MipResources::DraWinGL::getPlate (  )  const [inline, virtual]

getId

Implements MipResources::DraWin.

void MipResources::DraWinGL::getDefaultVar ( void   ) 

default variables from Parameter

get default vars from parameters

bool MipResources::DraWinGL::drawingCycle ( Time  timeout  ) 

draw all the draw lists

void MipResources::DraWinGL::drawObject ( DraWinObj draWinObj  ) 

selects and call the right drawer for the object

bool MipResources::DraWinGL::execCmd ( DraWinObj draWinObj  ) 

try to exec the cmd if the object is a cmd

void MipResources::DraWinGL::GLdrawPoint2D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::GLdrawPoints2D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::GLdrawPolygon2D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::GLdrawSeg2D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::GLdrawDisk2D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::GLdrawMobRob2D ( DraWinObj draWinObj  ) 

ID e posizione

void MipResources::DraWinGL::GLdrawKhepera2D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::GLdrawQuad3D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::GLdrawPar3D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::GLdrawHalfLine2D ( DraWinObj draWinObj  ) 

Parameters:
draWinObj 

void MipResources::DraWinGL::GLdrawCovEllipse2D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::GLexecBB2D ( DraWinObj draWinObj  ) 

void MipResources::DraWinGL::autoModelView (  ) 

void MipResources::DraWinGL::updateModelViewMatrix (  ) 

void MipResources::DraWinGL::drawText (  ) 

void MipResources::DraWinGL::drawPar3D ( double  x0,
double  x1,
double  y0,
double  y1,
double  z0,
double  z1,
double  red = 0,
double  green = 0,
double  blue = 0 
)

ResourcePlate MipResources::DraWinGL::getPlate (  )  const [inline, virtual]

Gets the plate.

Implements MipResources::DraWin.

void MipResources::DraWinGL::getDefaultVar (  ) 

Default variables from Parameter.

bool MipResources::DraWinGL::drawingCycle ( Time  timeout  ) 

Draws all the draw lists.

void MipResources::DraWinGL::drawObject ( DraWinObj draWinObj  ) 

Selects and call the right drawer for the object.

bool MipResources::DraWinGL::execCmd ( DraWinObj draWinObj  ) 

brief Tries to exec the cmd if the object is a cmd

void MipResources::DraWinGL::GLdrawPoint2D ( DraWinObj draWinObj  ) 

Todo:
Comment me.

void MipResources::DraWinGL::GLdrawPoints2D ( DraWinObj draWinObj  ) 

Todo:
Comment me.

void MipResources::DraWinGL::GLdrawPolygon2D ( DraWinObj draWinObj  ) 

Todo:
Comment me.

void MipResources::DraWinGL::GLdrawSeg2D ( DraWinObj draWinObj  ) 

Todo:
Comment me.

void MipResources::DraWinGL::GLdrawDisk2D ( DraWinObj draWinObj  ) 

Todo:
Comment me.

void MipResources::DraWinGL::GLdrawMobRob2D ( DraWinObj draWinObj  ) 

Todo:
Comment me.

void MipResources::DraWinGL::GLdrawHalfLine2D ( DraWinObj draWinObj  ) 

Todo:
Comment me.

void MipResources::DraWinGL::GLexecBB2D ( DraWinObj draWinObj  ) 

Todo:
Comment me.

void MipResources::DraWinGL::manualModelView (  ) 

Todo:
Comment me.

void MipResources::DraWinGL::autoModelView (  ) 

Todo:
Comment me.

void MipResources::DraWinGL::zNearFarControl ( void   ) 

Todo:
Comment me.

prendo la matrice modelview

void MipResources::DraWinGL::updateModelViewMatrix (  ) 

Todo:
Comment me.

void MipResources::DraWinGL::drawText (  ) 

Todo:
Comment me.

void MipResources::DraWinGL::defaultView ( int  width,
int  height 
)

Todo:
Comment me.

QSize MipResources::DraWinGL::minimumSizeHint (  )  const

QSize MipResources::DraWinGL::sizeHint (  )  const

void MipResources::DraWinGL::setXRotation ( int  angle  )  [slot]

void MipResources::DraWinGL::setYRotation ( int  angle  )  [slot]

void MipResources::DraWinGL::setZRotation ( int  angle  )  [slot]

void MipResources::DraWinGL::increaseZ (  )  [slot]

void MipResources::DraWinGL::decreaseZ (  )  [slot]

void MipResources::DraWinGL::stopZ (  )  [slot]

void MipResources::DraWinGL::increaseY (  )  [slot]

void MipResources::DraWinGL::decreaseY (  )  [slot]

void MipResources::DraWinGL::stopY (  )  [slot]

void MipResources::DraWinGL::increaseX (  )  [slot]

void MipResources::DraWinGL::decreaseX (  )  [slot]

void MipResources::DraWinGL::stopX (  )  [slot]

void MipResources::DraWinGL::manual (  )  [slot]

void MipResources::DraWinGL::grid (  )  [slot]

void MipResources::DraWinGL::xRotationChanged ( int  angle  )  [signal]

void MipResources::DraWinGL::yRotationChanged ( int  angle  )  [signal]

void MipResources::DraWinGL::zRotationChanged ( int  angle  )  [signal]

void MipResources::DraWinGL::initializeGL (  )  [protected]

void MipResources::DraWinGL::paintGL (  )  [protected]

imposta la MODEL_VIEW (modo manuale o automatico) e la PERSPECTIVE in modo automatico

disegna gli oggetti nel mondo

void MipResources::DraWinGL::resizeGL ( int  width,
int  height 
) [protected]

void MipResources::DraWinGL::mousePressEvent ( QMouseEvent *  event  )  [protected]

void MipResources::DraWinGL::mouseMoveEvent ( QMouseEvent *  event  )  [protected]


Member Data Documentation

options passed by the user

variables

default variables taken at start from parameters

thread that manages the GLWindow


The documentation for this class was generated from the following files:

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6