4#include "qwt3d_plotitem.h"
5#include "qwt3d_types.h"
6#include "qwt3d_color.h"
7#include "qwt3d_enrichment.h"
52 bool uperiodic =
false,
bool vperiodic =
false);
54 void loadFromData(
double** data,
unsigned int columns,
unsigned int rows,
55 double minx,
double maxx,
double miny,
double maxy);
64 void loadFromData(TripleField
const& nodes, CellField
const& poly);
69 int resolution()
const;
74 FLOORSTYLE floorStyle()
const;
76 void setFloorStyle(FLOORSTYLE style);
83 void showNormals(
bool b);
85 double normalLength()
const;
87 void setNormalLength(
double val);
89 int normalQuality()
const;
91 void setNormalQuality(
int val);
94 std::pair<int, int> facets()
const;
102 PLOTSTYLE plotStyle()
const;
104 void setPlotStyle(PLOTSTYLE style);
110 void invalidateColors();
112 RGBA meshColor()
const;
114 void setMeshColor(
RGBA color);
116 double meshLineWidth()
const;
118 void setMeshLineWidth(
double width);
120 int isolines()
const;
122 void setIsolines(
int n);
124 bool smoothMesh()
const;
126 void setSmoothMesh(
bool smooth);
128 double polygonOffset()
const;
130 void setPolygonOffset(
double offset);
134 SHADINGSTYLE shading()
const;
136 void setShading(SHADINGSTYLE style);
147 int rtti()
const override;
148 void draw()
override;
158 bool isGridData()
const;
160 void setResolution(
int res);
169 void drawForVectorExport();
173 void pushColorRange()
const;
Definition qwt_clipper.h:41
Implements a graph-like cell structure with limit access functions.
Definition qwt3d_types.h:481
Abstract base class for color functors.
Definition qwt3d_color.h:25
Abstract base class for data dependent visible user objects.
Definition qwt3d_enrichment.h:15
Implements a matrix of z-Values with limit access functions.
Definition qwt3d_types.h:448
Base class for all 3D plot items.
Definition qwt3d_plotitem.h:55
virtual ParallelEpiped hull() const =0
Get the bounding hull of the item in 3D space.
virtual int rtti() const
Runtime type information.
Definition qwt3d_plotitem.cpp:192
virtual void draw()=0
Draw the item using the current GL context.
virtual void populateLegendColors(ColorVector &colors) const
Populate the legend color vector from the item's color functor.
Definition qwt3d_plotitem.cpp:181
3D surface plot item with VBO/VAO rendering
Definition qwt3d_surface.h:39
void loadFromData(Triple **data, unsigned int columns, unsigned int rows, bool uperiodic=false, bool vperiodic=false)
Load grid data from Triple array (x, y, z per vertex)
~Qwt3DSurface() override
Destructor — releases GL resources and data.
Parallelepiped spanned by 2 Triples.
Definition qwt3d_types.h:334
Result of evaluating a Qwt3DFunction over its grid.
Definition qwt3d_types.h:543
Result of evaluating a Qwt3DParametricSurface over its grid.
Definition qwt3d_types.h:560
Red-Green-Blue-Alpha value.
Definition qwt3d_types.h:395
Vertex structure for VBO upload.
Definition qwt3d_surface_p.h:24
Triple [x,y,z].
Definition qwt3d_types.h:201