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