#include <qwt3d_gridplot.h>
Classes | |
class | GridData |
Public Slots | |
void | setResolution (int) |
Signals | |
void | resolutionChanged (int) |
Public Member Functions | |
GridPlot (QWidget *parent=0, const QGLWidget *shareWidget=0) | |
int | resolution () const |
bool | appendDataSet (Qwt3D::Triple **data, unsigned int columns, unsigned int rows, bool uperiodic=false, bool vperiodic=false) |
bool | appendDataSet (double **data, unsigned int columns, unsigned int rows, double minx, double maxx, double miny, double maxy) |
Protected Member Functions | |
void | createOpenGlData () |
void | drawEnrichment (Qwt3D::Enrichment &p) |
Protected Attributes | |
int | resolution_p |
GridPlot | ( | QWidget * | parent = 0 , |
|
const QGLWidget * | shareWidget = 0 | |||
) |
Initializes with dataNormals()==false, NOFLOOR, resolution() == 1
int resolution | ( | ) | const [inline] |
Returns data resolution (1 means all data).
bool appendDataSet | ( | Qwt3D::Triple ** | data, | |
unsigned int | columns, | |||
unsigned int | rows, | |||
bool | uperiodic = false , |
|||
bool | vperiodic = false | |||
) |
Convert user grid data to internal vertex structure. See also NativeReader::read() and Function::create()
bool appendDataSet | ( | double ** | data, | |
unsigned int | columns, | |||
unsigned int | rows, | |||
double | minx, | |||
double | maxx, | |||
double | miny, | |||
double | maxy | |||
) |
Convert user grid data to internal vertex structure. See also NativeReader::read() and Function::create()
void setResolution | ( | int | res | ) | [slot] |
Sets data resolution (res == 1 original resolution) and updates widget If res < 1, the function does nothing