VTK  9.7.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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class vtkPoints;
23 
24 class VTKFILTERSSOURCES_EXPORT VTK_MARSHALAUTO vtkPolyLineSource : public vtkPolyPointSource
25 {
26 public:
27  static vtkPolyLineSource* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
35  vtkSetMacro(Closed, vtkTypeBool);
36  vtkGetMacro(Closed, vtkTypeBool);
37  vtkBooleanMacro(Closed, vtkTypeBool);
39 
40 protected:
42  ~vtkPolyLineSource() override;
43 
45 
47 
48 private:
49  vtkPolyLineSource(const vtkPolyLineSource&) = delete;
50  void operator=(const vtkPolyLineSource&) = delete;
51 };
52 
53 VTK_ABI_NAMESPACE_END
54 #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.
#define VTK_MARSHALAUTO
represent and manipulate 3D points
Definition: vtkPoints.h:30
create a poly line from a list of input points