VTK
vtkPlotGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPlotGrid.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
26 #ifndef vtkPlotGrid_h
27 #define vtkPlotGrid_h
28 
29 #include "vtkChartsCoreModule.h" // For export macro
30 #include "vtkContextItem.h"
31 
32 class vtkStdString;
33 class vtkContext2D;
34 class vtkPoints2D;
35 class vtkAxis;
36 
38 {
39 public:
40  vtkTypeMacro(vtkPlotGrid, vtkContextItem);
41  virtual void PrintSelf(ostream &os, vtkIndent indent);
42 
44  static vtkPlotGrid *New();
45 
47  virtual void SetXAxis(vtkAxis *axis);
48 
50  virtual void SetYAxis(vtkAxis *axis);
51 
53  virtual bool Paint(vtkContext2D *painter);
54 
55 //BTX
56 protected:
57  vtkPlotGrid();
58  ~vtkPlotGrid();
59 
61 
66 
67 private:
68  vtkPlotGrid(const vtkPlotGrid &); // Not implemented.
69  void operator=(const vtkPlotGrid &); // Not implemented.
70 //ETX
71 };
72 
73 #endif //vtkPlotGrid_h
vtkAxis * XAxis
Definition: vtkPlotGrid.h:63
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:46
base class for items that are part of a vtkContextScene.
virtual bool Paint(vtkContext2D *painter)
vtkAxis * YAxis
Definition: vtkPlotGrid.h:64
Class for drawing 2D primitives to a graphical context.
Definition: vtkContext2D.h:56
takes care of drawing 2D axes
Definition: vtkAxis.h:70
a simple class to control print indentation
Definition: vtkIndent.h:38
represent and manipulate 2D points
Definition: vtkPoints2D.h:35
takes care of drawing the plot grid
Definition: vtkPlotGrid.h:37
virtual void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()
#define VTKCHARTSCORE_EXPORT