|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
A coordinate system with different styles (BOX, FRAME) . More...
#include <qwt3d_coordsys.h>
Public Member Functions | |
| CoordinateSystem (Qwt3D::Triple blb=Qwt3D::Triple(0, 0, 0), Qwt3D::Triple ftr=Qwt3D::Triple(0, 0, 0), Qwt3D::COORDSTYLE=Qwt3D::BOX) | |
| Constructs a coordinate system with specified boundaries and style. | |
| ~CoordinateSystem () | |
| Destructor . | |
| void | init (Qwt3D::Triple beg=Qwt3D::Triple(0, 0, 0), Qwt3D::Triple end=Qwt3D::Triple(0, 0, 0)) |
| void | setStyle (Qwt3D::COORDSTYLE s, Qwt3D::AXIS frame_1=Qwt3D::X1, Qwt3D::AXIS frame_2=Qwt3D::Y1, Qwt3D::AXIS frame_3=Qwt3D::Z1) |
| Qwt3D::COORDSTYLE | style () const |
| void | setPosition (Qwt3D::Triple first, Qwt3D::Triple second) |
| void | setAxesColor (Qwt3D::RGBA val) |
| void | setNumberFont (QString const &family, int pointSize, int weight=QFont::Normal, bool italic=false) |
| void | setNumberFont (QFont const &font) |
| void | setNumberColor (Qwt3D::RGBA val) |
| void | setStandardScale () |
| void | adjustNumbers (int val) |
| void | adjustLabels (int val) |
| void | setGridLinesColor (Qwt3D::RGBA val) |
| void | setLabelFont (QString const &family, int pointSize, int weight=QFont::Normal, bool italic=false) |
| void | setLabelFont (QFont const &font) |
| void | setLabelColor (Qwt3D::RGBA val) |
| void | setLineWidth (double val, double majfac=0.9, double minfac=0.5) |
| void | setTicLength (double major, double minor) |
| void | setAutoScale (bool val=true) |
| Qwt3D::Triple | first () const |
| Qwt3D::Triple | second () const |
| void | setAutoDecoration (bool val=true) |
| bool | autoDecoration () const |
| void | setLineSmooth (bool val=true) |
| bool | lineSmooth () const |
| void | draw () |
| void | setGridLines (bool majors, bool minors, int sides=Qwt3D::NOSIDEGRID) |
| Sets grid line visibility. | |
| int | grids () const |
Public Member Functions inherited from Qwt3D::Drawable | |
| 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. | |
Public Attributes | |
| std::vector< Axis > | axes |
Additional Inherited Members | |
Protected Member Functions inherited from Qwt3D::Drawable | |
| 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 inherited from Qwt3D::Drawable | |
| Qwt3D::RGBA | color |
| GLdouble | modelMatrix [16] |
| GLdouble | projMatrix [16] |
| GLint | viewport [4] |
A coordinate system with different styles (BOX, FRAME)
.
|
explicit |
Constructs a coordinate system with specified boundaries and style.
| CoordinateSystem::~CoordinateSystem | ( | ) |
Destructor .
|
virtual |
Reimplemented from Qwt3D::Drawable.
| void CoordinateSystem::setGridLines | ( | bool | majors, |
| bool | minors, | ||
| int | sides = Qwt3D::NOSIDEGRID |
||
| ) |
Sets grid line visibility.