VTK
dox/Charts/vtkPlotGrid.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPlotGrid.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 
00026 #ifndef __vtkPlotGrid_h
00027 #define __vtkPlotGrid_h
00028 
00029 #include "vtkContextItem.h"
00030 
00031 class vtkStdString;
00032 class vtkContext2D;
00033 class vtkPoints2D;
00034 class vtkAxis;
00035 
00036 class VTK_CHARTS_EXPORT vtkPlotGrid : public vtkContextItem
00037 {
00038 public:
00039   vtkTypeMacro(vtkPlotGrid, vtkContextItem);
00040   virtual void PrintSelf(ostream &os, vtkIndent indent);
00041 
00043   static vtkPlotGrid *New();
00044 
00046   virtual void SetXAxis(vtkAxis *axis);
00047 
00049   virtual void SetYAxis(vtkAxis *axis);
00050 
00052   virtual bool Paint(vtkContext2D *painter);
00053 
00054 //BTX
00055 protected:
00056   vtkPlotGrid();
00057   ~vtkPlotGrid();
00058 
00060 
00062   vtkAxis *XAxis;
00063   vtkAxis *YAxis;
00065 
00066 private:
00067   vtkPlotGrid(const vtkPlotGrid &); // Not implemented.
00068   void operator=(const vtkPlotGrid &);   // Not implemented.
00069 //ETX
00070 };
00071 
00072 #endif //__vtkPlotGrid_h