VTK
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 "vtkPlotPoints.h"
28 
30 {
31 public:
32  vtkTypeMacro(vtkPlotLine, vtkPlotPoints);
33  virtual void PrintSelf(ostream &os, vtkIndent indent);
34 
36  static vtkPlotLine *New();
37 
40  virtual bool Paint(vtkContext2D *painter);
41 
43 
48  virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf& rect,
49  int legendIndex);
51 
52 //BTX
53 protected:
54  vtkPlotLine();
55  ~vtkPlotLine();
56 
57 private:
58  vtkPlotLine(const vtkPlotLine &); // Not implemented.
59  void operator=(const vtkPlotLine &); // Not implemented.
60 
61 //ETX
62 };
63 
64 #endif //__vtkPlotLine_h
#define VTK_CHARTS_EXPORT
virtual bool Paint(vtkContext2D *painter)
Class for drawing an points given two columns from a vtkTable.
Definition: vtkPlotPoints.h:47
Class for drawing 2D primitives to a graphical context.
Definition: vtkContext2D.h:54
a simple class to control print indentation
Definition: vtkIndent.h:37
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:29