00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPlotPoints.h,v $ 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 00024 #ifndef __vtkPlotPoints_h 00025 #define __vtkPlotPoints_h 00026 00027 #include "vtkPlot.h" 00028 00029 class vtkContext2D; 00030 class vtkTable; 00031 class vtkPoints2D; 00032 class vtkStdString; 00033 00034 class VTK_CHARTS_EXPORT vtkPlotPoints : public vtkPlot 00035 { 00036 public: 00037 vtkTypeRevisionMacro(vtkPlotPoints, vtkPlot); 00038 virtual void PrintSelf(ostream &os, vtkIndent indent); 00039 00041 static vtkPlotPoints *New(); 00042 00045 virtual bool Paint(vtkContext2D *painter); 00046 00048 virtual void GetBounds(double bounds[4]); 00049 00050 //BTX 00051 protected: 00052 vtkPlotPoints(); 00053 ~vtkPlotPoints(); 00054 00056 bool UpdateTableCache(vtkTable *table); 00057 00059 vtkPoints2D *Points; 00060 00062 vtkTimeStamp BuildTime; 00063 00064 private: 00065 vtkPlotPoints(const vtkPlotPoints &); // Not implemented. 00066 void operator=(const vtkPlotPoints &); // Not implemented. 00067 00068 //ETX 00069 }; 00070 00071 #endif //__vtkPlotPoints_h