#include <plotGeometry.h>
|
double | thickness_ = 0.01 |
|
|
The coordinates in data space of the data points
|
QList< double > | xs_ |
|
QList< double > | ys_ |
|
|
Pointers to the axes used to plot the data
|
Axis * | xAxis_ |
|
Axis * | yAxis_ |
|
The base class for drawing data points on the plot
◆ clip()
std::vector< Triangle > PlotGeometry::clip |
( |
const std::vector< Triangle > & |
ts | ) |
const |
|
protected |
Take a list of polygon faces and crop them so that nothing extends outside of the charting space. Triangles completely outside the region are dropped while triangles partially within the region are converted into a group of polygons completely inside the bounds.
◆ dataChanged
void PlotGeometry::dataChanged |
( |
| ) |
|
|
signal |
The signal that is thrown when the data points have changed position in chart space
◆ faces_()
std::vector< Triangle > PlotGeometry::faces_ |
( |
std::vector< Vec3< float > > |
points | ) |
const |
|
protectedvirtual |
An array of polygon faces that would plot the given data points. The points should be in chart space (not data space).
◆ updateData()
void PlotGeometry::updateData |
( |
| ) |
|
|
protected |
Present the latest geometry to the renderer
◆ thickness_
double PlotGeometry::thickness_ = 0.01 |
|
protected |
The size of the plotting geometry
◆ xAxis_
Axis* PlotGeometry::xAxis_ |
|
protected |
The axes along which the data are plotted
◆ xs_
QList<double> PlotGeometry::xs_ |
|
protected |
The coordinates of the data point along this axis
◆ yAxis_
Axis * PlotGeometry::yAxis_ |
|
protected |
The axes along which the data are plotted
◆ ys_
QList<double> PlotGeometry::ys_ |
|
protected |
The coordinates of the data point along this axis
◆ thickness
double PlotGeometry::thickness |
The width of the data point drawing
◆ xAxis
Axis * PlotGeometry::xAxis |
The X axis that the data is plotted against
◆ xs
QList<double> PlotGeometry::xs |
The X coordinates of the data points in data space
◆ yAxis
Axis * PlotGeometry::yAxis |
The Y axis that the data is plotted against
◆ ys
QList<double> PlotGeometry::ys |
The Y coordinates of the data points in data space
The documentation for this class was generated from the following files: