30 #ifndef vtkPlotPoints_h 31 #define vtkPlotPoints_h 33 #include "vtkChartsCoreModule.h" 80 int legendIndex)
override;
85 void GetBounds(
double bounds[4])
override;
104 virtual void CreateDefaultLookupTable();
121 void SelectColorArray(
vtkIdType arrayNum);
166 vtkGetMacro(MarkerStyle,
int);
167 vtkSetMacro(MarkerStyle,
int);
175 vtkGetMacro(MarkerSize,
float);
176 vtkSetMacro(MarkerSize,
float);
199 bool UpdateTableCache(
vtkTable *table);
204 void CalculateUnscaledInputBounds();
210 void CalculateLogSeries();
217 void FindBadPoints();
222 void CalculateBounds(
double bounds[4]);
227 void CreateSortedPoints();
290 double UnscaledInputBounds[4];
298 #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.
record modification and/or execution time
dynamic, self-adjusting array of float
virtual void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
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
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 vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location)
Function to query a plot for the nearest point to the specified coordinate.
virtual bool SelectPointsInPolygon(const vtkContextPolygon &polygon)
Select all points in the specified polygon.
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...
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
virtual void Update()
Perform any updates to the item that may be necessary before rendering.
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...