Go to the documentation of this file.
80 SELECT_RECTANGLE = SELECT,
377 enum { MaxAction = 5 };
378 short&
Pan() {
return Data[0]; }
379 short&
Zoom() {
return Data[1]; }
384 short Data[MaxAction];
Factory class for drawing 2D charts.
provides a brush that fills shapes drawn by vtkContext2D.
short & operator[](int index)
virtual vtkIdType GetNumberOfPlots()
#define vtkGetObjectMacro(name, type)
virtual bool RemovePlot(vtkIdType index)
#define vtkSetVector2Macro(name, type)
void SetLeftBorder(int border)
virtual void SetSelectionMethod(int method)
virtual bool GetShowLegend()
void SetBorders(int left, int bottom, int right, int top)
#define vtkGetVector2Macro(name, type)
vtkBrush * GetBackgroundBrush()
virtual void SetSelectionMode(int)
MouseClickActions ActionsClick
#define vtkTypeMacro(thisClass, superclass)
virtual vtkIdType AddPlot(vtkPlot *plot)
abstract base class for most VTK objects
bool CalculatePlotTransform(vtkAxis *x, vtkAxis *y, vtkTransform2D *transform)
GLint GLint GLint GLint GLint x
vtkSmartPointer< vtkBrush > BackgroundBrush
virtual bool Paint(vtkContext2D *painter)=0
An algorithm for linking annotations among objects.
virtual void SetAnnotationLink(vtkAnnotationLink *link)
Class for drawing 2D primitives to a graphical context.
virtual vtkPlot * AddPlot(int type)
Abstract class for 2D plots.
GLint GLint GLsizei GLsizei GLsizei GLint border
virtual int GetClickActionToButton(int action)
vtkAnnotationLink * AnnotationLink
virtual vtkStdString GetTitle()
void SetBackgroundBrush(vtkBrush *brush)
bool CalculateUnscaledPlotTransform(vtkAxis *x, vtkAxis *y, vtkTransform2D *transform)
virtual int GetActionToButton(int action)
Provides a 2D scene for vtkContextItem objects.
void SetSize(const vtkRectf &rect)
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual void SetClickActionToButton(int action, int button)
virtual vtkChartLegend * GetLegend()
short & operator[](int index)
void AttachAxisRangeListener(vtkAxis *)
a simple class to control print indentation
virtual bool RemovePlotInstance(vtkPlot *plot)
virtual vtkPlot * GetPlot(vtkIdType index)
virtual void SetActionToButton(int action, int button)
GLdouble GLdouble GLdouble GLdouble top
virtual bool GetAutoSize()
#define vtkGetMacro(name, type)
provide event-driven interface to the rendering window (defines trackball mode)
represent text properties.
base class for items that are part of a vtkContextScene.
vtkSetMacro(IgnoreDriverBugs, bool)
GLint GLint GLint GLint GLint GLint y
virtual void SetAutoSize(bool isAutoSized)
takes care of drawing 2D axes
virtual int GetSelectionMethod()
virtual void ClearPlots()
virtual void RecalculateBounds()
void SetBottomBorder(int border)
vtkTextProperty * TitleProperties
virtual vtkIdType GetNumberOfAxes()
Wrapper around std::string to keep symbols short.
#define VTKCHARTSCORE_EXPORT
GLuint GLenum GLenum transform
GLuint GLuint GLsizei GLenum type
virtual vtkAxis * GetAxis(int axisIndex)
virtual void SetTitle(const vtkStdString &title)
void AxisRangeForwarderCallback(vtkObject *, unsigned long, void *)
void SetTopBorder(int border)
virtual void SetShowLegend(bool visible)
void SetRightBorder(int border)