VTK
9.3.0
Main Page
Related Pages
Topics
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
22
VTK_ABI_NAMESPACE_BEGIN
23
class
VTKCHARTSCORE_EXPORT
vtkPlotLine
:
public
vtkPlotPoints
24
{
25
public
:
26
vtkTypeMacro(
vtkPlotLine
,
vtkPlotPoints
);
27
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
28
32
static
vtkPlotLine
*
New
();
33
37
bool
Paint
(
vtkContext2D
* painter)
override
;
38
45
bool
PaintLegend
(
vtkContext2D
* painter,
const
vtkRectf
& rect,
int
legendIndex)
override
;
46
48
55
vtkSetMacro(PolyLine,
bool
);
56
vtkGetMacro(PolyLine,
bool
);
57
vtkBooleanMacro(PolyLine,
bool
);
59
60
protected
:
61
vtkPlotLine
();
62
~vtkPlotLine
()
override
;
63
67
bool
PolyLine
;
68
69
private
:
70
vtkPlotLine
(
const
vtkPlotLine
&) =
delete
;
71
void
operator=(
const
vtkPlotLine
&) =
delete
;
72
};
73
74
VTK_ABI_NAMESPACE_END
75
#endif
// vtkPlotLine_h
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition
vtkContext2D.h:50
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkPlotLine
Class for drawing an XY line plot given two columns from a vtkTable.
Definition
vtkPlotLine.h:24
vtkPlotLine::vtkPlotLine
vtkPlotLine()
vtkPlotLine::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPlotLine::New
static vtkPlotLine * New()
Creates a 2D Chart object.
vtkPlotLine::PolyLine
bool PolyLine
Poly line (true) or line segments(false).
Definition
vtkPlotLine.h:67
vtkPlotLine::~vtkPlotLine
~vtkPlotLine() override
vtkPlotLine::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 ...
vtkPlotLine::Paint
bool Paint(vtkContext2D *painter) override
Paint event for the XY plot, called whenever the chart needs to be drawn.
vtkPlotPoints
Class for drawing an points given two columns from a vtkTable.
Definition
vtkPlotPoints.h:45
vtkRectf
Definition
vtkRect.h:328
vtkPlotPoints.h
Generated on Sat Feb 15 2025 13:13:19 for VTK by
1.9.8