VTK  9.3.1
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:
26  static vtkPolyLineSource* New();
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
create points from a list of input points
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Store vtkAlgorithm input/output information.
static vtkPolyPointSource * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkTypeBool
Definition: vtkABI.h:64
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:28
create a poly line from a list of input points