VTK  9.5.20250904
vtkPolyLineSource.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
14#ifndef vtkPolyLineSource_h
15#define vtkPolyLineSource_h
16
17#include "vtkFiltersSourcesModule.h" // For export macro
18#include "vtkPolyPointSource.h"
19#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
20
21VTK_ABI_NAMESPACE_BEGIN
22class vtkPoints;
23
24class VTKFILTERSSOURCES_EXPORT VTK_MARSHALAUTO vtkPolyLineSource : public vtkPolyPointSource
25{
26public:
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
32
35 vtkSetMacro(Closed, vtkTypeBool);
36 vtkGetMacro(Closed, vtkTypeBool);
37 vtkBooleanMacro(Closed, vtkTypeBool);
39
40protected:
43
45
47
48private:
49 vtkPolyLineSource(const vtkPolyLineSource&) = delete;
50 void operator=(const vtkPolyLineSource&) = delete;
51};
52
53VTK_ABI_NAMESPACE_END
54#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
represent and manipulate 3D points
Definition vtkPoints.h:139
create a poly line from a list of input points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPolyLineSource * New()
~vtkPolyLineSource() override
create points from a list of input points
int vtkTypeBool
Definition vtkABI.h:64
#define VTK_MARSHALAUTO