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:
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:
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
vtkPlotPoints.h
vtkChartsCoreModule.h
vtkPlotLine::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition: vtkContext2D.h:57
vtkPlotLine::PaintLegend
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex)
vtkPlotLine::New
static vtkPlotLine * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPlotLine
Class for drawing an XY line plot given two columns from a vtkTable.
Definition: vtkPlotLine.h:34
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkPlotLine::Paint
virtual bool Paint(vtkContext2D *painter)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkPlotPoints
Class for drawing an points given two columns from a vtkTable.
Definition: vtkPlotPoints.h:53
vtkPlotLine::~vtkPlotLine
~vtkPlotLine()
vtkPlotLine::vtkPlotLine
vtkPlotLine()
VTKCHARTSCORE_EXPORT
#define VTKCHARTSCORE_EXPORT
Definition: vtkChartsCoreModule.h:15
vtkRectf
Definition: vtkRect.h:97
vtkPlotLine::PolyLine
bool PolyLine
Definition: vtkPlotLine.h:73