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 
27 #ifndef __vtkPlotLine_h
28 #define __vtkPlotLine_h
29 
30 #include "vtkChartsCoreModule.h" // For export macro
31 #include "vtkPlotPoints.h"
32 
34 {
35 public:
37  virtual void PrintSelf(ostream &os, vtkIndent indent);
38 
40  static vtkPlotLine *New();
41 
44  virtual bool Paint(vtkContext2D *painter);
45 
47 
52  virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf& rect,
53  int legendIndex);
55 
56 //BTX
57 protected:
58  vtkPlotLine();
59  ~vtkPlotLine();
60 
61 private:
62  vtkPlotLine(const vtkPlotLine &); // Not implemented.
63  void operator=(const vtkPlotLine &); // Not implemented.
64 
65 //ETX
66 };
67 
68 #endif //__vtkPlotLine_h
virtual bool Paint(vtkContext2D *painter)
Class for drawing an points given two columns from a vtkTable.
Definition: vtkPlotPoints.h:52
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
Class for drawing 2D primitives to a graphical context.
Definition: vtkContext2D.h:56
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:33
#define VTKCHARTSCORE_EXPORT