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
#define VTK_CHARTS_EXPORT
vtkAxis * XAxis
Definition: vtkPlotGrid.h:62
Wrapper around vtkstd::string to keep symbols short.
Definition: vtkStdString.h:45
base class for items that are part of a vtkContextScene.
virtual bool Paint(vtkContext2D *painter)
vtkAxis * YAxis
Definition: vtkPlotGrid.h:63
Class for drawing 2D primitives to a graphical context.
Definition: vtkContext2D.h:54
takes care of drawing 2D axes
Definition: vtkAxis.h:44
a simple class to control print indentation
Definition: vtkIndent.h:37
represent and manipulate 2D points
Definition: vtkPoints2D.h:34
takes care of drawing the plot grid
Definition: vtkPlotGrid.h:36
virtual void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()