Go to the documentation of this file.
33 #ifndef vtkPlotPoints_h
34 #define vtkPlotPoints_h
36 #include "vtkChartsCoreModule.h"
83 int legendIndex)
override;
88 void GetBounds(
double bounds[4])
override;
107 virtual void CreateDefaultLookupTable();
124 void SelectColorArray(
vtkIdType arrayNum);
169 vtkGetMacro(MarkerStyle,
int);
170 vtkSetMacro(MarkerStyle,
int);
178 vtkGetMacro(MarkerSize,
float);
179 vtkSetMacro(MarkerSize,
float);
202 bool UpdateTableCache(
vtkTable *table);
207 void CalculateUnscaledInputBounds();
213 void CalculateLogSeries();
220 void FindBadPoints();
225 void CalculateBounds(
double bounds[4]);
230 void CreateSortedPoints();
293 double UnscaledInputBounds[4];
301 #endif //vtkPlotPoints_h
represent and manipulate 2D points
vtkCharArray * ValidPointMask
Array which marks valid points in the array.
int MarkerStyle
The marker style that should be used.
dynamic, self-adjusting array of float
A table, which contains similar-typed columns of data.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
vtkPoints2D * Points
Store a well packed set of XY coordinates for this data series.
vtkIdTypeArray * BadPoints
An array containing the indices of all the "bad points", meaning any x, y pair that has an infinity,...
vtkTypeBool ScalarVisibility
Class for drawing 2D primitives to a graphical context.
abstract superclass for arrays of numeric data
Abstract class for 2D plots.
vtkScalarsToColors * LookupTable
Lookup Table for coloring points by scalar value.
dynamic, self-adjusting array of char
vtkNew< vtkFloatArray > SelectedPoints
virtual bool SelectPoints(const vtkVector2f &min, const vtkVector2f &max)
Select all points in the specified rectangle.
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location)
Function to query a plot for the nearest point to the specified coordinate.
topologically and geometrically regular array of data
a simple class to control print indentation
Superclass for mapping scalar values to colors.
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex)
Paint legend event for the plot, called whenever the legend needs the plot items symbol/mark/line dra...
Class for drawing an points given two columns from a vtkTable.
dynamic, self-adjusting array of vtkIdType
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
virtual void GetUnscaledInputBounds(double bounds[4])
Provide un-log-scaled bounds for the plot inputs.
vtkUnsignedCharArray * Colors
vtkStdString ValidPointMaskName
Name of the valid point mask array.
Wrapper around std::string to keep symbols short.
virtual bool SelectPointsInPolygon(const vtkContextPolygon &polygon)
Select all points in the specified polygon.
virtual void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Update()
Perform any updates to the item that may be necessary before rendering.
vtkStdString ColorArrayName