27 #include "vtkChartsCoreModule.h"
78 SELECT_RECTANGLE = SELECT,
116 virtual bool RemovePlotInstance(
vtkPlot* plot);
121 virtual void ClearPlots();
137 virtual vtkAxis* GetAxis(
int axisIndex);
148 virtual void RecalculateBounds();
172 virtual void SetSelectionMethod(
int method);
173 virtual int GetSelectionMethod();
192 vtkSetVector2Macro(Geometry,
int);
193 vtkGetVector2Macro(Geometry,
int);
200 vtkSetVector2Macro(Point1,
int);
201 vtkGetVector2Macro(Point1,
int);
208 vtkSetVector2Macro(Point2,
int);
209 vtkGetVector2Macro(Point2,
int);
216 virtual void SetShowLegend(
bool visible);
217 virtual bool GetShowLegend();
245 void SetBottomBorder(
int border);
246 void SetTopBorder(
int border);
247 void SetLeftBorder(
int border);
248 void SetRightBorder(
int border);
254 void SetBorders(
int left,
int bottom,
int right,
int top);
284 vtkGetMacro(LayoutStrategy,
int);
313 vtkGetMacro(RenderEmpty,
bool);
326 virtual void SetActionToButton(
int action,
int button);
332 virtual int GetActionToButton(
int action);
339 virtual void SetClickActionToButton(
int action,
int button);
346 virtual int GetClickActionToButton(
int action);
352 void SetBackgroundBrush(
vtkBrush *brush);
362 virtual void SetSelectionMode(
int);
363 vtkGetMacro(SelectionMode,
int);
388 void AttachAxisRangeListener(
vtkAxis*);
390 void AxisRangeForwarderCallback(
vtkObject*,
unsigned long,
void*);
452 enum { MaxAction = 5 };
453 short&
Pan() {
return Data[0]; }
454 short&
Zoom() {
return Data[1]; }
459 short Data[MaxAction];
477 void operator=(const
vtkChart &) VTK_DELETE_FUNCTION;
MouseClickActions ActionsClick
Wrapper around std::string to keep symbols short.
abstract base class for most VTK objects
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.
Hold a reference to a vtkObjectBase instance.
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.
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.
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.
An algorithm for linking annotations among objects.
short & operator[](int index)