VTK  9.1.0
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
29class vtkPoints;
30
31class VTKFILTERSSOURCES_EXPORT vtkPolyLineSource : public vtkPolyPointSource
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
42 vtkSetMacro(Closed, vtkTypeBool);
43 vtkGetMacro(Closed, vtkTypeBool);
44 vtkBooleanMacro(Closed, vtkTypeBool);
46
47protected:
50
52
54
55private:
56 vtkPolyLineSource(const vtkPolyLineSource&) = delete;
57 void operator=(const vtkPolyLineSource&) = delete;
58};
59
60#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
represent and manipulate 3D points
Definition: vtkPoints.h:143
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.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPolyLineSource * New()
~vtkPolyLineSource() override
create points from a list of input points
int vtkTypeBool
Definition: vtkABI.h:69