40 class vtkTextProperty;
43 class vtkInteractorStyle;
44 class vtkAnnotationLink;
78 virtual vtkPlot* AddPlot(
int type);
91 virtual bool RemovePlotInstance(
vtkPlot* plot);
94 virtual void ClearPlots();
106 virtual vtkAxis* GetAxis(
int axisIndex);
114 virtual void RecalculateBounds();
117 virtual void SetAnnotationLink(vtkAnnotationLink *link);
121 vtkGetObjectMacro(AnnotationLink, vtkAnnotationLink);
126 vtkSetVector2Macro(Geometry,
int);
127 vtkGetVector2Macro(Geometry,
int);
132 vtkSetVector2Macro(Point1,
int);
133 vtkGetVector2Macro(Point1,
int);
138 vtkSetVector2Macro(Point2,
int);
139 vtkGetVector2Macro(Point2,
int);
144 virtual void SetShowLegend(
bool visible);
145 virtual bool GetShowLegend();
161 vtkGetObjectMacro(TitleProperties, vtkTextProperty);
166 void SetBottomBorder(
int border);
167 void SetTopBorder(
int border);
168 void SetLeftBorder(
int border);
169 void SetRightBorder(
int border);
173 void SetBorders(
int left,
int bottom,
int right,
int top);
186 vtkSetMacro(AutoSize,
bool);
187 vtkGetMacro(AutoSize,
bool);
196 vtkSetMacro(RenderEmpty,
bool);
197 vtkGetMacro(RenderEmpty,
bool);
207 virtual void SetActionToButton(
int action,
int button);
212 virtual int GetActionToButton(
int action);
217 virtual void SetClickActionToButton(
int action,
int button);
222 virtual int GetClickActionToButton(
int action);
268 short&
Pan() {
return Data[0]; }
269 short&
Zoom() {
return Data[1]; }
293 #endif //__vtkChart_h
MouseClickActions ActionsClick
Wrapper around vtkstd::string to keep symbols short.
vtkTextProperty * TitleProperties
vtkAnnotationLink * AnnotationLink
base class for items that are part of a vtkContextScene.
virtual bool Paint(vtkContext2D *painter)
Class for drawing 2D primitives to a graphical context.
Factory class for drawing 2D charts.
takes care of drawing 2D axes
Provides a 2D scene for vtkContextItem objects.
a simple class to control print indentation
Abstract class for 2D plots.
short & operator[](int index)
virtual void PrintSelf(ostream &os, vtkIndent indent)
short & operator[](int index)