Public Types |
| enum | FillElement { TMeshFill,
BMeshFill
} |
| enum | LineElement { MeshLine
} |
| enum | PointElement { PointMark
} |
Public Methods |
| | QSPlot3D (QSAxes *parentAxes, const char *name=0) |
| virtual | ~QSPlot3D () |
| void | setColored (bool enabled) |
|
void | setTopBottom (bool enabled) |
|
void | setAutoDivide (bool enabled) |
|
void | setEdgeAutoColor (int value) |
|
void | setClipping (bool clipping) |
|
bool | topBottom () const |
|
bool | autoDivide () const |
|
int | edgeAutoColor () const |
|
bool | clipping () |
| bool | colored () const |
| virtual void | loadStateFromStream (QDataStream &stream, QSObjectFactory *factory) |
| virtual void | saveStateToStream (QDataStream &stream, QSObjectFactory *factory) |
Protected Methods |
| void | drawPolygon (const QSPt3f pts[], int npoints, QSPt3f *norm, const double *values=NULL, const bool *edges=NULL) |
| virtual void | allocRuntimeData () |
| virtual void | freeRuntimeData () |
| virtual QSPt2f | standardLegendItemSize (QSDrv *drv, QSAxis *axis, const QString &title) |
| virtual void | drawStandardLegendItem (const QSPt2f &pos, QSDrv *drv, QSAxis *axis, const QString &title, const QSGGradient *gradient) |
Protected Attributes |
|
bool | m_clipping |
|
bool | m_colored |
|
int | m_edge_auto_color |
|
bool | m_divide |
|
bool | m_topbottom |
|
QSDrv::CNormals | m_cnormals |
|
QSDrv::CColors | m_ccolors |
|
QSDrv::COrdering | m_corder |
Base class for all 3d datasets ( which draw 3d mesh ). Allows setting mesh parameters, which are used to initialize QSDrv and to draw 3d polygons with drawPolygon().