VTK
dox/Charts/Core/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 "vtkChartsCoreModule.h" // For export macro
00030 #include "vtkContextItem.h"
00031 
00032 class vtkStdString;
00033 class vtkContext2D;
00034 class vtkPoints2D;
00035 class vtkAxis;
00036 
00037 class VTKCHARTSCORE_EXPORT vtkPlotGrid : public vtkContextItem
00038 {
00039 public:
00040   vtkTypeMacro(vtkPlotGrid, vtkContextItem);
00041   virtual void PrintSelf(ostream &os, vtkIndent indent);
00042 
00044   static vtkPlotGrid *New();
00045 
00047   virtual void SetXAxis(vtkAxis *axis);
00048 
00050   virtual void SetYAxis(vtkAxis *axis);
00051 
00053   virtual bool Paint(vtkContext2D *painter);
00054 
00055 //BTX
00056 protected:
00057   vtkPlotGrid();
00058   ~vtkPlotGrid();
00059 
00061 
00063   vtkAxis *XAxis;
00064   vtkAxis *YAxis;
00066 
00067 private:
00068   vtkPlotGrid(const vtkPlotGrid &); // Not implemented.
00069   void operator=(const vtkPlotGrid &);   // Not implemented.
00070 //ETX
00071 };
00072 
00073 #endif //__vtkPlotGrid_h