33 #include "vtkChartsCoreModule.h" 85 SELECT_RECTANGLE = SELECT,
124 virtual bool RemovePlotInstance(
vtkPlot* plot);
129 virtual void ClearPlots();
145 virtual vtkAxis* GetAxis(
int axisIndex);
151 virtual void SetAxis(
int axisIndex,
vtkAxis*);
162 virtual void RecalculateBounds();
186 virtual void SetSelectionMethod(
int method);
187 virtual int GetSelectionMethod();
206 vtkSetVector2Macro(Geometry,
int);
207 vtkGetVector2Macro(Geometry,
int);
214 vtkSetVector2Macro(Point1,
int);
215 vtkGetVector2Macro(Point1,
int);
222 vtkSetVector2Macro(Point2,
int);
223 vtkGetVector2Macro(Point2,
int);
230 virtual void SetShowLegend(
bool visible);
231 virtual bool GetShowLegend();
259 void SetBottomBorder(
int border);
260 void SetTopBorder(
int border);
261 void SetLeftBorder(
int border);
262 void SetRightBorder(
int border);
268 void SetBorders(
int left,
int bottom,
int right,
int top);
297 vtkSetMacro(LayoutStrategy,
int);
298 vtkGetMacro(LayoutStrategy,
int);
326 vtkSetMacro(RenderEmpty,
bool);
327 vtkGetMacro(RenderEmpty,
bool);
340 virtual void SetActionToButton(
int action,
int button);
346 virtual int GetActionToButton(
int action);
353 virtual void SetClickActionToButton(
int action,
int button);
360 virtual int GetClickActionToButton(
int action);
366 void SetBackgroundBrush(
vtkBrush *brush);
376 virtual void SetSelectionMode(
int);
377 vtkGetMacro(SelectionMode,
int);
402 void AttachAxisRangeListener(
vtkAxis*);
404 void AxisRangeForwarderCallback(
vtkObject*,
unsigned long,
void*);
466 enum { MaxAction = 6 };
467 short&
Pan() {
return Data[0]; }
468 short&
Zoom() {
return Data[1]; }
474 short Data[MaxAction];
492 void operator=(
const vtkChart &) =
delete;
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?
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)