31 #include "vtkChartsCoreModule.h"
123 vtkGetMacro(BoxWidth,
float);
175 void operator=(
const vtkPlotBox &) VTK_DELETE_FUNCTION;
provides a brush that fills shapes drawn by vtkContext2D.
Class for drawing 2D primitives to a graphical context.
a simple class to control print indentation
Class for drawing box plots.
vtkScalarsToColors * LookupTable
Lookup Table for coloring points by scalar value.
float BoxWidth
Width of boxes.
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
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...
void SetLookupTable(vtkScalarsToColors *lut)
Specify a lookup table for the mapper to use.
virtual void SetInputData(vtkTable *table)
This is a convenience function to set the input table.
virtual void Update()
Perform any updates to the item that may be necessary before rendering.
void DrawBoxPlot(int, unsigned char *, double, vtkContext2D *)
void SetColumnColor(const vtkStdString &colName, double *rgb)
Helper function to set the color of a given column.
virtual void CreateDefaultLookupTable()
Create default lookup table.
vtkTextProperty * TitleProperties
Text properties for the plot title.
virtual void SetInputData(vtkTable *table, const vtkStdString &, const vtkStdString &)
static vtkPlotBox * New()
Creates a box plot.
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 void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual bool Paint(vtkContext2D *painter)
Paint event for the plot, called whenever the chart needs to be drawn.
bool UpdateTableCache(vtkTable *table)
Update the table cache.
virtual vtkStringArray * GetLabels()
Get the plot labels.
vtkScalarsToColors * GetLookupTable()
Abstract class for 2D plots.
virtual void SetInputData(vtkTable *table)
This is a convenience function to set the input table and the x, y column for the plot.
Superclass for mapping scalar values to colors.
Wrapper around std::string to keep symbols short.
a vtkAbstractArray subclass for strings
A table, which contains similar-typed columns of data.
represent text properties.
record modification and/or execution time
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.