Relacs
0.9.8
|
#include <plot.h>
Public Member Functions | |
SurfaceElement (void) | |
virtual | ~SurfaceElement (void) |
void | setAxis (Plot::Axis axis) |
void | setAxis (int xaxis, int yaxis) |
int | gradient (void) const |
void | setGradient (int gradient) |
virtual long | firstX (double x1, double x2) const =0 |
virtual long | lastX (double x1, double x2) const =0 |
virtual long | firstY (double y1, double y2) const =0 |
virtual long | lastY (double y1, double y2) const =0 |
virtual void | point (long rindex, long cindex, double &x1, double &y1, double &x2, double &y2, double &z) const =0 |
virtual bool | init (void) |
virtual void | xminmax (double &xmin, double &xmax, double ymin, double ymax) const |
virtual void | yminmax (double xmin, double xmax, double &ymin, double &ymax) const |
virtual void | setRange (double xmin[MaxAxis], double xmax[MaxAxis], double ymin[MaxAxis], double ymax[MaxAxis], int xpmin, int xpmax, int ypmin, int ypmax) |
Protected Attributes | |
bool | Own |
int | XAxis |
int | YAxis |
int | GradientIndex |
Friends | |
class | Plot |
Manages a single 3-D data item for plotting surfaces.
SurfaceElement | ( | void | ) |
|
virtual |
void setAxis | ( | Plot::Axis | axis | ) |
void setAxis | ( | int | xaxis, |
int | yaxis | ||
) |
int gradient | ( | void | ) | const |
void setGradient | ( | int | gradient | ) |
|
pure virtual |
The index of the first column in the x-range x1, x2.
|
pure virtual |
The index of the last column in the x-range x1, x2.
|
pure virtual |
The index of the first row in the y-range y1, y2.
|
pure virtual |
The index of the last column in the y-range y1, y2.
|
pure virtual |
Returns in x1, y1, x2, and y2 the rectangle that gets the value z of the data point at row index rindex and column index\ a cindex.
|
inlinevirtual |
Can be reimplemented for some initialization before initializing and drawing the plot.
true
if the data changed
|
inlinevirtual |
Returns a sensible x-range xmin and xmax for a given y-range ymin, ymax.
|
inlinevirtual |
Returns a sensible y-range ymin and ymax for a given x-range xmin, xmax.
|
inlinevirtual |
Passes the current ranges and pixel positions to the data element after initializing but before drawing the plot.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |