Go to the documentation of this file.
28 #ifndef vtkPlotStacked_h
29 #define vtkPlotStacked_h
31 #include "vtkChartsCoreModule.h"
42 class vtkPlotStackedPrivate;
59 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b,
60 unsigned char a)
override;
61 void SetColor(
double r,
double g,
double b)
override;
62 void GetColor(
double rgb[3])
override;
84 int legendIndex)
override;
89 void GetBounds(
double bounds[4])
override;
138 bool UpdateTableCache(
vtkTable *table);
149 void CalculateLogSeries();
179 vtkPlotStackedPrivate *Private;
183 #endif //vtkPlotStacked_h
represent and manipulate 2D points
Class for drawing an stacked polygon plot given an X, Ybase, Yextent in a vtkTable.
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
vtkSmartPointer< vtkColorSeries > ColorSeries
The color series to use for each series.
virtual void SetColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
Set the plot color.
Class for drawing 2D primitives to a graphical context.
Abstract class for 2D plots.
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
vtkIdTypeArray * ExtentBadPoints
An array containing the indices of all the "bad extent points", meaning any x, y pair that has an inf...
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...
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
virtual void SetInputArray(int index, const vtkStdString &name)
Convenience function to set the input arrays.
dynamic, self-adjusting array of vtkIdType
virtual vtkStringArray * GetLabels()
Get the plot labels.
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
virtual void GetUnscaledInputBounds(double bounds[4])
Provide un-log-scaled bounds for the plot inputs.
a vtkAbstractArray subclass for strings
vtkIdTypeArray * BaseBadPoints
An array containing the indices of all the "bad base points", meaning any x, y pair that has an infin...
Factory class for drawing XY charts.
Wrapper around std::string to keep symbols short.
virtual void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
virtual void GetColor(double rgb[3])
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.