VTK  9.3.0
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 
20 VTK_ABI_NAMESPACE_BEGIN
21 class vtkPoints;
22 
23 class VTKFILTERSSOURCES_EXPORT vtkPolyLineSource : public vtkPolyPointSource
24 {
25 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
31 
34  vtkSetMacro(Closed, vtkTypeBool);
35  vtkGetMacro(Closed, vtkTypeBool);
36  vtkBooleanMacro(Closed, vtkTypeBool);
38 
39 protected:
41  ~vtkPolyLineSource() override;
42 
44 
46 
47 private:
48  vtkPolyLineSource(const vtkPolyLineSource&) = delete;
49  void operator=(const vtkPolyLineSource&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
represent and manipulate 3D points
Definition: vtkPoints.h:29
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.
static vtkPolyLineSource * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkPolyLineSource() override
create points from a list of input points
int vtkTypeBool
Definition: vtkABI.h:64