VTK  9.2.6
vtkPolyLineSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyLineSource.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkPolyLineSource_h
27 #define vtkPolyLineSource_h
28 
29 #include "vtkFiltersSourcesModule.h" // For export macro
30 #include "vtkPolyPointSource.h"
31 
32 class vtkPoints;
33 
34 class VTKFILTERSSOURCES_EXPORT vtkPolyLineSource : public vtkPolyPointSource
35 {
36 public:
37  static vtkPolyLineSource* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
45  vtkSetMacro(Closed, vtkTypeBool);
46  vtkGetMacro(Closed, vtkTypeBool);
47  vtkBooleanMacro(Closed, vtkTypeBool);
49 
50 protected:
52  ~vtkPolyLineSource() override;
53 
55 
57 
58 private:
59  vtkPolyLineSource(const vtkPolyLineSource&) = delete;
60  void operator=(const vtkPolyLineSource&) = delete;
61 };
62 
63 #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:69
a simple class to control print indentation
Definition: vtkIndent.h:39
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:39
create a poly line from a list of input points