46 class vtkChartXYPrivate;
109 int GetPlotCorner(
vtkPlot *plot);
112 void SetPlotCorner(
vtkPlot *plot,
int corner);
230 void RecalculatePlotTransforms();
234 void RecalculatePlotBounds();
244 virtual int GetLegendBorder(
vtkContext2D* painter,
int axisPosition);
248 virtual void SetLegendPosition(
const vtkRectf& rect);
304 vtkChartXYPrivate *ChartPrivate;
308 void CalculateBarPlots();
315 int invokeEvent = -1);
323 bool RemovePlotFromCorners(
vtkPlot *plot);
351 #endif //vtkChartXY_h
Wrapper around std::string to keep symbols short.
GLuint GLenum GLenum transform
data structure to represent key events.
GLuint GLuint GLsizei GLenum type
virtual void SetShowLegend(bool visible)
virtual bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse)
vtkContextPolygon SelectionPolygon
virtual vtkIdType GetNumberOfAxes()
#define vtkGetMacro(name, type)
virtual void RecalculateBounds()
virtual void PrintSelf(ostream &os, vtkIndent indent)
bool DrawSelectionPolygon
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
virtual void ClearPlots()
Class for drawing 2D primitives to a graphical context.
Factory class for drawing 2D charts.
virtual bool RemovePlot(vtkIdType index)
virtual bool MouseWheelEvent(const vtkContextMouseEvent &mouse, int delta)
takes care of drawing 2D axes
data structure to represent mouse events.
vtkVector2i ScreenPosition
virtual vtkChartLegend * GetLegend()
a simple class to control print indentation
virtual bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse)
virtual vtkIdType GetNumberOfPlots()
Abstract class for 2D plots.
virtual bool KeyPressEvent(const vtkContextKeyEvent &key)
vtkSmartPointer< vtkChartLegend > Legend
virtual bool MouseEnterEvent(const vtkContextMouseEvent &mouse)
Factory class for drawing XY charts.
virtual bool Paint(vtkContext2D *painter)=0
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
takes care of drawing the plot grid
virtual bool Hit(const vtkContextMouseEvent &mouse)
virtual vtkPlot * GetPlot(vtkIdType index)
#define vtkBooleanMacro(name, type)
vtkSmartPointer< vtkTooltipItem > Tooltip
virtual void SetSelectionMethod(int method)
virtual bool MouseLeaveEvent(const vtkContextMouseEvent &mouse)
virtual vtkPlot * AddPlot(int type)
#define VTKCHARTSCORE_EXPORT
virtual vtkAxis * GetAxis(int axisIndex)
#define vtkSetMacro(name, type)