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 
27 #ifndef vtkPlotLine_h
28 #define vtkPlotLine_h
29 
30 #include "vtkChartsCoreModule.h" // For export macro
31 #include "vtkPlotPoints.h"
32 
34 {
35 public:
36  vtkTypeMacro(vtkPlotLine, vtkPlotPoints);
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 
57 
62  vtkSetMacro(PolyLine,bool);
63  vtkGetMacro(PolyLine,bool);
64  vtkBooleanMacro(PolyLine,bool);
66 
67 //BTX
68 protected:
69  vtkPlotLine();
70  ~vtkPlotLine();
71 
73  bool PolyLine;
74 
75 private:
76  vtkPlotLine(const vtkPlotLine &); // Not implemented.
77  void operator=(const vtkPlotLine &); // Not implemented.
78 
79 //ETX
80 };
81 
82 #endif //vtkPlotLine_h
virtual bool Paint(vtkContext2D *painter)
bool PolyLine
Definition: vtkPlotLine.h:73
Class for drawing an points given two columns from a vtkTable.
Definition: vtkPlotPoints.h:52
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