Go to the documentation of this file.
35 #ifndef vtkPlotFunctionalBag_h
36 #define vtkPlotFunctionalBag_h
38 #include "vtkChartsCoreModule.h"
43 class vtkPlotFuntionalBagInternal;
89 int legendIndex)
override;
176 #endif //vtkPlotFunctionalBag_h
bool SelectPoints(const vtkVector2f &min, const vtkVector2f &max) override
Select all points in the specified rectangle.
vtkScalarsToColors * GetLookupTable()
~vtkPlotFunctionalBag() override
represent and manipulate 2D points
bool GetDataArrays(vtkTable *table, vtkDataArray *array[2])
Populate the data arrays ready to operate on input data.
bool SelectPointsInPolygon(const vtkContextPolygon &polygon) override
Select all points in the specified polygon.
vtkScalarsToColors * LookupTable
Lookup Table for coloring points by scalar value.
void SetLookupTable(vtkScalarsToColors *lut)
Specify a lookup table for the mapper to use.
A table, which contains similar-typed columns of data.
record modification and/or execution time
bool Paint(vtkContext2D *painter) override
Paint event for the plot, called whenever the chart needs to be drawn.
Class for drawing 2D primitives to a graphical context.
abstract superclass for arrays of numeric data
Abstract class for 2D plots.
vtkNew< vtkPlotLine > Line
The plot line delegate for line series.
virtual bool IsBag()
Returns true if the plot is a functional bag, false if it is a simple line.
bool UpdateTableCache(vtkTable *)
Update the table cache.
vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location) override
Function to query a plot for the nearest point to the specified coordinate.
a simple class to control print indentation
void GetBounds(double bounds[4]) override
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
Class for drawing an XY line plot or bag given two columns from a vtkTable.
bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex) override
Paint legend event for the plot, called whenever the legend needs the plot items symbol/mark/line dra...
vtkNew< vtkPoints2D > BagPoints
The bag points ordered in quadstrip fashion.
vtkTimeStamp BuildTime
The cache is marked dirty until it has been initialized.
Class for drawing an XY line plot given two columns from a vtkTable.
static vtkPlotFunctionalBag * New()
Creates a functional bag plot object.
bool GetVisible() override
Reimplemented to enforce visibility when selected.
Superclass for mapping scalar values to colors.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Update() override
Perform any updates to the item that may be necessary before rendering.
void GetUnscaledInputBounds(double bounds[4]) override
Get the non-log-scaled bounds on chart inputs for this plot as (Xmin, Xmax, Ymin, Ymax).
virtual void CreateDefaultLookupTable()
Create default lookup table.