VTK  9.0.20201024
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 =========================================================================*/
23 #ifndef vtkPolyLineSource_h
24 #define vtkPolyLineSource_h
25 
26 #include "vtkFiltersSourcesModule.h" // For export macro
27 #include "vtkPolyPointSource.h"
28 
29 class vtkPoints;
30 
31 class VTKFILTERSSOURCES_EXPORT vtkPolyLineSource : public vtkPolyPointSource
32 {
33 public:
34  static vtkPolyLineSource* New();
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
42  vtkSetMacro(Closed, vtkTypeBool);
43  vtkGetMacro(Closed, vtkTypeBool);
44  vtkBooleanMacro(Closed, vtkTypeBool);
46 
47 protected:
49  ~vtkPolyLineSource() override;
50 
52 
54 
55 private:
56  vtkPolyLineSource(const vtkPolyLineSource&) = delete;
57  void operator=(const vtkPolyLineSource&) = delete;
58 };
59 
60 #endif
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:33
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPolyPointSource
create points from a list of input points
Definition: vtkPolyPointSource.h:31
vtkPolyPointSource.h
vtkPolyPointSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkPolyLineSource
create a poly line from a list of input points
Definition: vtkPolyLineSource.h:31
vtkPolyPointSource::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkPolyPointSource::New
static vtkPolyPointSource * New()
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkPolyLineSource::Closed
vtkTypeBool Closed
Definition: vtkPolyLineSource.h:53