4#include "qwt3d_plotitem.h"
5#include "qwt3d_types.h"
6#include "qwt3d_color.h"
10#include "qwt_point_3d.h"
11#include "qwt_series_data.h"
82 void setSamples(
const QwtPoint3D* samples,
size_t count);
88 size_t dataSize()
const;
97 double lineWidth()
const;
99 void setLineWidth(
double width);
101 double tubeRadius()
const;
103 void setTubeRadius(
double radius);
105 int tubeSegments()
const;
107 void setTubeSegments(
int segments);
109 double pointSize()
const;
111 void setPointSize(
double size);
113 bool pointVisible()
const;
115 void setPointVisible(
bool on);
125 void setColor(
RGBA color);
133 void invalidateColors();
137 int rtti()
const override;
138 void draw()
override;
144 void buildPointsVBO();
145 void buildMarkersVBO();
146 void pushColorRange()
const;
Definition qwt_clipper.h:41
Abstract base class for color functors.
Definition qwt3d_color.h:25
3D line/curve plot item with VBO/VAO rendering
Definition qwt3d_line3d.h:47
LineStyle
Line rendering style.
Definition qwt3d_line3d.h:53
@ Lines
Thin GL line strip (1px)
Definition qwt3d_line3d.h:54
@ Tube
Solid lit tube swept along the polyline.
Definition qwt3d_line3d.h:55
void setSamples(const QVector< QwtPoint3D > &samples)
Set samples from a vector of 3D points.
PointShape
Point marker shape for the Dots style and the point-marker overlay.
Definition qwt3d_line3d.h:61
@ Tetrahedron
Regular 4-faced solid.
Definition qwt3d_line3d.h:64
@ Cube
Axis-aligned cube.
Definition qwt3d_line3d.h:63
@ Dot
GL_POINTS (simple screen-space dots)
Definition qwt3d_line3d.h:62
@ Octahedron
8-faced diamond solid
Definition qwt3d_line3d.h:65
~Qwt3DLine() override
Destructor — releases GL resources and data.
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
QwtPoint3D class defines a 3D point in double coordinates.
Definition qwt_point_3d.h:40
Abstract interface for iterating over samples.
Definition qwt_series_data.h:88
Parallelepiped spanned by 2 Triples.
Definition qwt3d_types.h:334
Red-Green-Blue-Alpha value.
Definition qwt3d_types.h:395