33 #include "vtkChartsCoreModule.h"
84 SELECT_RECTANGLE = SELECT,
122 virtual bool RemovePlotInstance(
vtkPlot* plot);
127 virtual void ClearPlots();
143 virtual vtkAxis* GetAxis(
int axisIndex);
154 virtual void RecalculateBounds();
178 virtual void SetSelectionMethod(
int method);
179 virtual int GetSelectionMethod();
198 vtkSetVector2Macro(Geometry,
int);
199 vtkGetVector2Macro(Geometry,
int);
206 vtkSetVector2Macro(Point1,
int);
207 vtkGetVector2Macro(Point1,
int);
214 vtkSetVector2Macro(Point2,
int);
215 vtkGetVector2Macro(Point2,
int);
222 virtual void SetShowLegend(
bool visible);
223 virtual bool GetShowLegend();
251 void SetBottomBorder(
int border);
252 void SetTopBorder(
int border);
253 void SetLeftBorder(
int border);
254 void SetRightBorder(
int border);
260 void SetBorders(
int left,
int bottom,
int right,
int top);
290 vtkGetMacro(LayoutStrategy,
int);
319 vtkGetMacro(RenderEmpty,
bool);
332 virtual void SetActionToButton(
int action,
int button);
338 virtual int GetActionToButton(
int action);
345 virtual void SetClickActionToButton(
int action,
int button);
352 virtual int GetClickActionToButton(
int action);
358 void SetBackgroundBrush(
vtkBrush *brush);
368 virtual void SetSelectionMode(
int);
369 vtkGetMacro(SelectionMode,
int);
394 void AttachAxisRangeListener(
vtkAxis*);
396 void AxisRangeForwarderCallback(
vtkObject*,
unsigned long,
void*);
458 enum { MaxAction = 5 };
459 short&
Pan() {
return Data[0]; }
460 short&
Zoom() {
return Data[1]; }
465 short Data[MaxAction];
483 void operator=(const
vtkChart &) VTK_DELETE_FUNCTION;
MouseClickActions ActionsClick
Wrapper around std::string to keep symbols short.
vtkStdString Title
The title of the chart.
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?
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
An algorithm for linking annotations among objects.
short & operator[](int index)