VTK  9.2.6
vtkPolyPointSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyPointSource.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 vtkPolyPointSource_h
27 #define vtkPolyPointSource_h
28 
29 #include "vtkFiltersSourcesModule.h" // For export macro
30 #include "vtkPolyDataAlgorithm.h"
31 
32 class vtkPoints;
33 
34 class VTKFILTERSSOURCES_EXPORT vtkPolyPointSource : public vtkPolyDataAlgorithm
35 {
36 public:
37  static vtkPolyPointSource* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
45  void SetNumberOfPoints(vtkIdType numPoints);
46  vtkIdType GetNumberOfPoints();
48 
52  void Resize(vtkIdType numPoints);
53 
57  void SetPoint(vtkIdType id, double x, double y, double z);
58 
60 
63  void SetPoints(vtkPoints* points);
64  vtkGetObjectMacro(Points, vtkPoints);
66 
70  vtkMTimeType GetMTime() override;
71 
72 protected:
74  ~vtkPolyPointSource() override;
75 
77 
79 
80 private:
81  vtkPolyPointSource(const vtkPolyPointSource&) = delete;
82  void operator=(const vtkPolyPointSource&) = delete;
83 };
84 
85 #endif
create points from a list of input points
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int vtkIdType
Definition: vtkType.h:332
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.