VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkPlotLine.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPlotLine.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
24 #ifndef __vtkPlotLine_h
25 #define __vtkPlotLine_h
26 
27 #include "vtkChartsCoreModule.h" // For export macro
28 #include "vtkPlotPoints.h"
29 
30 class VTKCHARTSCORE_EXPORT vtkPlotLine : public vtkPlotPoints
31 {
32 public:
33  vtkTypeMacro(vtkPlotLine, vtkPlotPoints);
34  virtual void PrintSelf(ostream &os, vtkIndent indent);
35 
37  static vtkPlotLine *New();
38 
41  virtual bool Paint(vtkContext2D *painter);
42 
44 
49  virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf& rect,
50  int legendIndex);
52 
53 //BTX
54 protected:
55  vtkPlotLine();
56  ~vtkPlotLine();
57 
58 private:
59  vtkPlotLine(const vtkPlotLine &); // Not implemented.
60  void operator=(const vtkPlotLine &); // Not implemented.
61 
62 //ETX
63 };
64 
65 #endif //__vtkPlotLine_h
virtual bool Paint(vtkContext2D *painter)
Class for drawing an points given two columns from a vtkTable.
Definition: vtkPlotPoints.h:52
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex)
virtual void PrintSelf(ostream &os, vtkIndent indent)
static vtkPlotPoints * New()
Class for drawing an XY line plot given two columns from a vtkTable.
Definition: vtkPlotLine.h:30