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 "vtkContextItem.h"
30 
31 class vtkStdString;
32 class vtkContext2D;
33 class vtkPoints2D;
34 class vtkAxis;
35 
37 {
38 public:
39  vtkTypeMacro(vtkPlotGrid, vtkContextItem);
40  virtual void PrintSelf(ostream &os, vtkIndent indent);
41 
43  static vtkPlotGrid *New();
44 
46  virtual void SetXAxis(vtkAxis *axis);
47 
49  virtual void SetYAxis(vtkAxis *axis);
50 
52  virtual bool Paint(vtkContext2D *painter);
53 
54 //BTX
55 protected:
56  vtkPlotGrid();
57  ~vtkPlotGrid();
58 
60 
65 
66 private:
67  vtkPlotGrid(const vtkPlotGrid &); // Not implemented.
68  void operator=(const vtkPlotGrid &); // Not implemented.
69 //ETX
70 };
71 
72 #endif //__vtkPlotGrid_h