Go to the documentation of this file.
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);
98 vtkSetMacro(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);
249 #endif //vtkChartBox_h
Factory class for drawing 2D charts.
virtual vtkIdType GetNumberOfPlots()
Get the number of plots the chart contains.
data structure to represent mouse events.
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
vtkStringArray * VisibleColumns
A list of the visible columns in the chart.
Factory class for drawing box plot charts.
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 ...
Class for drawing 2D primitives to a graphical context.
Abstract class for 2D plots.
Class for drawing box plots.
bool Paint(vtkContext2D *painter) override=0
Paint event for the chart, called whenever the chart needs to be drawn.
a simple class to control print indentation
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.
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
int SelectedColumn
Index of the selected column in the visible columns list.
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
Mouse move event.
float SelectedColumnDelta
virtual bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse)
Mouse button release event.
vtkVector2i ScreenPosition
dynamic, self-adjusting array of vtkIdType
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkTooltipItem > Tooltip
The tooltip item for the chart - can be used to display extra information.
Small struct used by InvokeEvent to send some information about the point that was clicked on.
takes care of drawing 2D axes
a vtkAbstractArray subclass for strings
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...
Some derived classes for the different vectors commonly used.
Wrapper around std::string to keep symbols short.
virtual void Update()
Perform any updates to the item that may be necessary before rendering.
vtkIdTypeArray * Selection
Selected indices for the table the plot is rendering.