31 #include "vtkChartsCoreModule.h" 71 int legendIndex)
override;
111 void SetColumnColor(
const vtkStdString& colName,
double *rgb);
117 virtual void CreateDefaultLookupTable();
123 vtkGetMacro(BoxWidth,
float);
124 vtkSetMacro(BoxWidth,
float);
138 void DrawBoxPlot(
int,
unsigned char*,
double,
vtkContext2D*);
143 bool UpdateTableCache(
vtkTable *table);
179 #endif //vtkPlotBox_h Wrapper around std::string to keep symbols short.
void SetInputData(vtkTable *table, const vtkStdString &, const vtkStdString &) override
This is a convenience function to set the input table.
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.
float BoxWidth
Width of boxes.
record modification and/or execution time
a vtkAbstractArray subclass for strings
vtkTextProperty * TitleProperties
Text properties for the plot title.
Superclass for mapping scalar values to colors.
Class for drawing 2D primitives to a graphical context.
provides a brush that fills shapes drawn by vtkContext2D.
a simple class to control print indentation
virtual vtkStringArray * GetLabels()
Get the plot labels.
Abstract class for 2D plots.
Class for drawing box plots.
represent text properties.
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location)
Function to query a plot for the nearest point to the specified coordinate.
A table, which contains similar-typed columns of data.
virtual void SetInputData(vtkTable *table)
This is a convenience function to set the input table and the x, y column for the plot...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkScalarsToColors * LookupTable
Lookup Table for coloring points by scalar value.
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.