33 #include "vtkChartsCoreModule.h"
89 SELECT_RECTANGLE = SELECT,
129 virtual bool RemovePlotInstance(
vtkPlot* plot);
134 virtual void ClearPlots();
150 virtual vtkAxis* GetAxis(
int axisIndex);
156 virtual void SetAxis(
int axisIndex,
vtkAxis*);
167 virtual void RecalculateBounds();
192 virtual void SetSelectionMethod(
int method);
193 virtual int GetSelectionMethod();
212 vtkSetVector2Macro(Geometry,
int);
213 vtkGetVector2Macro(Geometry,
int);
220 vtkSetVector2Macro(Point1,
int);
221 vtkGetVector2Macro(Point1,
int);
228 vtkSetVector2Macro(Point2,
int);
229 vtkGetVector2Macro(Point2,
int);
236 virtual void SetShowLegend(
bool visible);
237 virtual bool GetShowLegend();
265 void SetBottomBorder(
int border);
266 void SetTopBorder(
int border);
267 void SetLeftBorder(
int border);
268 void SetRightBorder(
int border);
274 void SetBorders(
int left,
int bottom,
int right,
int top);
281 virtual void SetSize(
const vtkRectf& rect);
304 vtkSetMacro(LayoutStrategy,
int);
305 vtkGetMacro(LayoutStrategy,
int);
329 vtkSetMacro(RenderEmpty,
bool);
330 vtkGetMacro(RenderEmpty,
bool);
343 virtual void SetActionToButton(
int action,
int button);
349 virtual int GetActionToButton(
int action);
356 virtual void SetClickActionToButton(
int action,
int button);
363 virtual int GetClickActionToButton(
int action);
369 void SetBackgroundBrush(
vtkBrush* brush);
380 vtkGetMacro(SelectionMode,
int);
403 void AttachAxisRangeListener(
vtkAxis*);
405 void AxisRangeForwarderCallback(
vtkObject*,
unsigned long,
void*);
476 short&
Pan() {
return Data[0]; }
477 short&
Zoom() {
return Data[1]; }
483 short Data[MaxAction];
501 void operator=(
const vtkChart&) =
delete;
MouseClickActions ActionsClick
Wrapper around std::string to keep symbols short.
vtkStdString Title
The title of the chart.
void UpdateRange(A &min0, A &max0, const A &value, typename std::enable_if<!std::is_floating_point< A >::value >::type *=0)
vtkTextProperty * TitleProperties
The text properties associated with the chart.
abstract base class for most VTK objects
vtkAnnotationLink * AnnotationLink
Our annotation link, used for sharing selections etc.
base class for items that are part of a vtkContextScene.
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
Class for drawing 2D primitives to a graphical context.
Factory class for drawing 2D charts.
provides a brush that fills shapes drawn by vtkContext2D.
takes care of drawing 2D axes
Provides a 2D scene for vtkContextItem objects.
a simple class to control print indentation
virtual void SetAutoSize(bool isAutoSized)
Set/get whether the chart should automatically resize to fill the current render window.
bool ShowLegend
Display the legend?
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool GetAutoSize()
Set/get whether the chart should automatically resize to fill the current render window.
Abstract class for 2D plots.
represent text properties.
EventIds
Enum of event type that are triggered by the charts.
short & operator[](int index)
provide event-driven interface to the rendering window (defines trackball mode)
Hold mouse action mappings.
vtkSmartPointer< vtkBrush > BackgroundBrush
Brush to use for drawing the background.
An algorithm for linking annotations among objects.
short & operator[](int index)