VTK
9.7.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Charts
Core
vtkPlotLine.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
3
16
#ifndef vtkPlotLine_h
17
#define vtkPlotLine_h
18
19
#include "vtkChartsCoreModule.h"
// For export macro
20
#include "
vtkPlotPoints.h
"
21
#include "
vtkWrappingHints.h
"
// For VTK_MARSHALAUTO
22
23
VTK_ABI_NAMESPACE_BEGIN
24
class
VTKCHARTSCORE_EXPORT
VTK_MARSHALAUTO
vtkPlotLine
:
public
vtkPlotPoints
25
{
26
public
:
27
vtkTypeMacro(
vtkPlotLine
,
vtkPlotPoints
);
28
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
29
33
static
vtkPlotLine
*
New
();
34
38
bool
Paint
(
vtkContext2D
* painter)
override
;
39
46
bool
PaintLegend
(
vtkContext2D
* painter,
const
vtkRectf
& rect,
int
legendIndex)
override
;
47
49
56
vtkSetMacro(PolyLine,
bool
);
57
vtkGetMacro(PolyLine,
bool
);
58
vtkBooleanMacro(PolyLine,
bool
);
60
61
protected
:
62
vtkPlotLine
();
63
~
vtkPlotLine
()
override
;
64
68
bool
PolyLine
;
69
70
private
:
71
vtkPlotLine
(
const
vtkPlotLine
&) =
delete
;
72
void
operator=(
const
vtkPlotLine
&) =
delete
;
73
};
74
75
VTK_ABI_NAMESPACE_END
76
#endif // vtkPlotLine_h
vtkPlotLine::PolyLine
bool PolyLine
Poly line (true) or line segments(false).
Definition:
vtkPlotLine.h:68
vtkPlotPoints
Class for drawing an points given two columns from a vtkTable.
Definition:
vtkPlotPoints.h:45
vtkWrappingHints.h
vtkPlotPoints::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
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:49
vtkRectf
Definition:
vtkRect.h:327
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:28
vtkPlotPoints::PaintLegend
bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex) override
Paint legend event for the XY plot, called whenever the legend needs the plot items symbol/mark/line ...
vtkPlotPoints::New
static vtkPlotPoints * New()
Creates a 2D Chart object.
VTK_MARSHALAUTO
#define VTK_MARSHALAUTO
Definition:
vtkWrappingHints.h:75
vtkPlotPoints.h
vtkPlotLine
Class for drawing an XY line plot given two columns from a vtkTable.
Definition:
vtkPlotLine.h:24
vtkPlotPoints::Paint
bool Paint(vtkContext2D *painter) override
Paint event for the XY plot, called whenever the chart needs to be drawn.
Generated on Tue Oct 20 2026 10:47:33 for VTK by
1.8.10