VTK
dox
Charts
Core
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
28
#ifndef vtkPlotLine_h
29
#define vtkPlotLine_h
30
31
#include "vtkChartsCoreModule.h"
// For export macro
32
#include "
vtkPlotPoints.h
"
33
34
class
VTKCHARTSCORE_EXPORT
vtkPlotLine
:
public
vtkPlotPoints
35
{
36
public
:
37
vtkTypeMacro(
vtkPlotLine
,
vtkPlotPoints
);
38
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
39
43
static
vtkPlotLine
*
New
();
44
48
virtual
bool
Paint
(
vtkContext2D
*painter);
49
56
virtual
bool
PaintLegend
(
vtkContext2D
*painter,
const
vtkRectf
& rect,
57
int
legendIndex);
58
60
67
vtkSetMacro
(PolyLine,
bool
);
68
vtkGetMacro(PolyLine,
bool
);
69
vtkBooleanMacro
(PolyLine,
bool
);
71
72
protected
:
73
vtkPlotLine
();
74
~vtkPlotLine
();
75
79
bool
PolyLine
;
80
81
private
:
82
vtkPlotLine
(
const
vtkPlotLine
&) VTK_DELETE_FUNCTION;
83
void
operator=(
const
vtkPlotLine
&) VTK_DELETE_FUNCTION;
84
85
};
86
87
#endif //vtkPlotLine_h
vtkPlotPoints.h
vtkPlotLine::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition:
vtkContext2D.h:58
vtkPlotLine::PaintLegend
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex)
Paint legend event for the XY plot, called whenever the legend needs the plot items symbol/mark/line ...
vtkPlotLine::New
static vtkPlotLine * New()
Creates a 2D Chart object.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkPlotLine
Class for drawing an XY line plot given two columns from a vtkTable.
Definition:
vtkPlotLine.h:35
vtkPlotLine::Paint
virtual bool Paint(vtkContext2D *painter)
Paint event for the XY plot, called whenever the chart needs to be drawn.
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkPlotPoints
Class for drawing an points given two columns from a vtkTable.
Definition:
vtkPlotPoints.h:54
vtkPlotLine::~vtkPlotLine
~vtkPlotLine()
vtkPlotLine::vtkPlotLine
vtkPlotLine()
vtkRectf
Definition:
vtkRect.h:297
vtkPlotLine::PolyLine
bool PolyLine
Poly line (true) or line segments(false).
Definition:
vtkPlotLine.h:79
Generated by
1.8.20