VTK
|
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 "vtkChartsCoreModule.h" // For export macro 00028 #include "vtkPlotPoints.h" 00029 00030 class VTKCHARTSCORE_EXPORT vtkPlotLine : public vtkPlotPoints 00031 { 00032 public: 00033 vtkTypeMacro(vtkPlotLine, vtkPlotPoints); 00034 virtual void PrintSelf(ostream &os, vtkIndent indent); 00035 00037 static vtkPlotLine *New(); 00038 00041 virtual bool Paint(vtkContext2D *painter); 00042 00044 00049 virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf& rect, 00050 int legendIndex); 00052 00053 //BTX 00054 protected: 00055 vtkPlotLine(); 00056 ~vtkPlotLine(); 00057 00058 private: 00059 vtkPlotLine(const vtkPlotLine &); // Not implemented. 00060 void operator=(const vtkPlotLine &); // Not implemented. 00061 00062 //ETX 00063 }; 00064 00065 #endif //__vtkPlotLine_h