VTK  9.4.20241226
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
20VTK_ABI_NAMESPACE_BEGIN
21class vtkPoints;
22
23class VTKFILTERSSOURCES_EXPORT vtkPolyLineSource : public vtkPolyPointSource
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31
34 vtkSetMacro(Closed, vtkTypeBool);
35 vtkGetMacro(Closed, vtkTypeBool);
36 vtkBooleanMacro(Closed, vtkTypeBool);
38
39protected:
42
44
46
47private:
48 vtkPolyLineSource(const vtkPolyLineSource&) = delete;
49 void operator=(const vtkPolyLineSource&) = delete;
50};
51
52VTK_ABI_NAMESPACE_END
53#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