QwtPlot3D API
0.2.7
|
#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) | |
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) |
int | grids () const |
Public Attributes | |
std::vector< Axis > | axes |
void setAxesColor | ( | Qwt3D::RGBA | val | ) |
Set common color for all axes
void setGridLines | ( | bool | majors, |
bool | minors, | ||
int | sides = Qwt3D::NOSIDEGRID |
||
) |
Defines whether a grid between the major and/or minor tics should be drawn.
The axis used for tic calculation is chosen randomly from the respective pair. For most cases an identical tic distribution is therefore recommended.
majors | Draw grid between major tics |
minors | Draw grid between minor tics |
sides | Side(s), where the grid should be drawn |