|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
Abstract base class for Drawables . More...
#include <qwt3d_drawable.h>
Public Member Functions | |
| virtual void | draw () |
| virtual void | saveGLState () |
| virtual void | restoreGLState () |
| void | attach (Drawable *) |
| void | detach (Drawable *) |
| void | detachAll () |
| virtual void | setColor (double r, double g, double b, double a=1) |
| virtual void | setColor (Qwt3D::RGBA rgba) |
| Qwt3D::Triple | relativePosition (Qwt3D::Triple rel) |
| Calculates world coordinates from relative viewport position. | |
Protected Member Functions | |
| void | Enable (GLenum what, GLboolean val) |
| Qwt3D::Triple | ViewPort2World (Qwt3D::Triple win, bool *err=0) |
| Converts viewport coordinates to world coordinates (glUnProject) | |
| Qwt3D::Triple | World2ViewPort (Qwt3D::Triple obj, bool *err=0) |
| Converts world coordinates to viewport coordinates (glProject) | |
Protected Attributes | |
| Qwt3D::RGBA | color |
| GLdouble | modelMatrix [16] |
| GLdouble | projMatrix [16] |
| GLint | viewport [4] |
Abstract base class for Drawables
.
|
virtual |
Reimplemented in Qwt3D::Axis, Qwt3D::ColorLegend, and Qwt3D::Label.
| Triple Drawable::relativePosition | ( | Qwt3D::Triple | rel | ) |
Calculates world coordinates from relative viewport position.
|
virtual |
Reimplemented in Qwt3D::Label.
|
virtual |
Reimplemented in Qwt3D::Label.
|
protected |
Converts viewport coordinates to world coordinates (glUnProject)
|
protected |
Converts world coordinates to viewport coordinates (glProject)