00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPlotLine.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 00024 #ifndef __vtkPlotLine_h 00025 #define __vtkPlotLine_h 00026 00027 #include "vtkPlotPoints.h" 00028 00029 class VTK_CHARTS_EXPORT vtkPlotLine : public vtkPlotPoints 00030 { 00031 public: 00032 vtkTypeMacro(vtkPlotLine, vtkPlotPoints); 00033 virtual void PrintSelf(ostream &os, vtkIndent indent); 00034 00036 static vtkPlotLine *New(); 00037 00040 virtual bool Paint(vtkContext2D *painter); 00041 00043 00048 virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf& rect, 00049 int legendIndex); 00051 00052 //BTX 00053 protected: 00054 vtkPlotLine(); 00055 ~vtkPlotLine(); 00056 00057 private: 00058 vtkPlotLine(const vtkPlotLine &); // Not implemented. 00059 void operator=(const vtkPlotLine &); // Not implemented. 00060 00061 //ETX 00062 }; 00063 00064 #endif //__vtkPlotLine_h