30 #ifndef vtkPlotPoints_h 31 #define vtkPlotPoints_h 33 #include "vtkChartsCoreModule.h" 84 void GetBounds(
double bounds[4])
override;
103 virtual void CreateDefaultLookupTable();
120 void SelectColorArray(
vtkIdType arrayNum);
136 #ifndef VTK_LEGACY_REMOVE
139 vtkIdType* segmentId =
nullptr)
override;
140 #endif // VTK_LEGACY_REMOVE 142 #ifndef VTK_LEGACY_REMOVE 144 #endif // VTK_LEGACY_REMOVE 174 vtkGetMacro(MarkerStyle,
int);
175 vtkSetMacro(MarkerStyle,
int);
183 vtkGetMacro(MarkerSize,
float);
184 vtkSetMacro(MarkerSize,
float);
207 bool UpdateTableCache(
vtkTable* table);
212 void CalculateUnscaledInputBounds();
218 void CalculateLogSeries();
225 void FindBadPoints();
230 void CalculateBounds(
double bounds[4]);
235 void CreateSortedPoints();
298 double UnscaledInputBounds[4];
305 #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).
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
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.
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...