30 #include "vtkChartsCoreModule.h"
67 void SetColumnVisibility(
vtkIdType column,
bool visible);
74 void SetColumnVisibilityAll(
bool visible);
81 bool GetColumnVisibility(
vtkIdType column);
97 vtkGetMacro(SelectedColumn,
int);
118 virtual float GetXPosition(
int index);
123 virtual vtkIdType GetNumberOfVisibleColumns();
211 void ResetSelection();
214 void SwapAxes(
int a1,
int a2);
222 int invokeEvent = -1);
230 void operator=(const
vtkChartBox &) VTK_DELETE_FUNCTION;
249 #endif //vtkChartBox_h
Wrapper around std::string to keep symbols short.
Small struct used by InvokeEvent to send some information about the point that was clicked on...
vtkIdTypeArray * Selection
Selected indices for the table the plot is rendering.
vtkStringArray * VisibleColumns
A list of the visible columns in the chart.
virtual bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse)
Mouse button down event Return true if the item holds the event, false if the event can be propagated...
record modification and/or execution time
a vtkAbstractArray subclass for strings
bool CalculatePlotTransform(vtkAxis *x, vtkAxis *y, vtkTransform2D *transform)
Given the x and y vtkAxis, and a transform, calculate the transform that the points in a chart would ...
dynamic, self-adjusting array of vtkIdType
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
Class for drawing 2D primitives to a graphical context.
Factory class for drawing 2D charts.
takes care of drawing 2D axes
int SelectedColumn
Index of the selected column in the visible columns list.
data structure to represent mouse events.
a simple class to control print indentation
Some derived classes for the different vectors commonly used.
virtual bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse)
Mouse button release event.
virtual vtkIdType GetNumberOfPlots()
Get the number of plots the chart contains.
float SelectedColumnDelta
Index of the selected column in the visible columns list.
Abstract class for 2D plots.
Class for drawing box plots.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
virtual bool Paint(vtkContext2D *painter)=0
Paint event for the chart, called whenever the chart needs to be drawn.
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
Mouse move event.
virtual bool Hit(const vtkContextMouseEvent &mouse)
Return true if the supplied x, y coordinate is inside the item.
virtual vtkPlot * GetPlot(vtkIdType index)
Get the plot at the specified index, returns null if the index is invalid.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkVector2i ScreenPosition
vtkSmartPointer< vtkTooltipItem > Tooltip
The tooltip item for the chart - can be used to display extra information.
virtual void Update()
Perform any updates to the item that may be necessary before rendering.
Factory class for drawing box plot charts.