33 #ifndef vtkPlotPoints_h
34 #define vtkPlotPoints_h
36 #include "vtkChartsCoreModule.h"
80 void GetBounds(
double bounds[4])
override;
99 virtual void CreateDefaultLookupTable();
116 void SelectColorArray(
vtkIdType arrayNum);
162 vtkGetMacro(MarkerStyle,
int);
163 vtkSetMacro(MarkerStyle,
int);
171 vtkGetMacro(MarkerSize,
float);
172 vtkSetMacro(MarkerSize,
float);
208 void CalculateUnscaledInputBounds();
214 void CalculateLogSeries();
221 void FindBadPoints();
226 void CalculateBounds(
double bounds[4]);
231 void CreateSortedPoints();
289 double UnscaledInputBounds[4];
296 #endif // vtkPlotPoints_h
Wrapper around std::string to keep symbols short.
vtkCharArray * ValidPointMask
Array which marks valid points in the array.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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...
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
vtkTypeBool ScalarVisibility
Lookup Table for coloring points by scalar value.
Class for drawing an points given two columns from a vtkTable.
dynamic, self-adjusting array of float
virtual void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location, vtkIdType *segmentId)
Function to query a plot for the nearest point to the specified coordinate.
dynamic, self-adjusting array of vtkIdType
Superclass for mapping scalar values to colors.
dynamic, self-adjusting array of char
Class for drawing 2D primitives to a graphical context.
vtkStdString ColorArrayName
Lookup Table for coloring points by scalar value.
virtual bool SelectPoints(const vtkVector2f &min, const vtkVector2f &max)
Select all points in the specified rectangle.
a simple class to control print indentation
vtkStdString ValidPointMaskName
Name of the valid point mask array.
represent and manipulate 2D points
topologically and geometrically regular array of data
abstract superclass for arrays of numeric data
virtual bool UpdateCache()
Update the internal cache.
Abstract class for 2D plots.
vtkUnsignedCharArray * Colors
Lookup Table for coloring points by scalar value.
dynamic, self-adjusting array of unsigned char
int MarkerStyle
The marker style that should be used.
virtual bool SelectPointsInPolygon(const vtkContextPolygon &polygon)
Select all points in the specified polygon.
virtual bool CacheRequiresUpdate()
Test if the internal cache requires an update.
vtkScalarsToColors * LookupTable
Lookup Table for coloring points by scalar value.
A table, which contains similar-typed columns of data.
vtkNew< vtkFloatArray > SelectedPoints
Store a well packed set of XY coordinates for this data series.
virtual void GetUnscaledInputBounds(double bounds[4])
Provide un-log-scaled bounds for the plot inputs.
vtkPoints2D * Points
Store a well packed set of XY coordinates for this data series.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
float MarkerSize
The marker style that should be used.
vtkIdTypeArray * BadPoints
An array containing the indices of all the "bad points", meaning any x, y pair that has an infinity...