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