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