VTK  9.3.0
vtkConvertToPointCloud.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
16 #ifndef vtkConvertToPointCloud_h
17 #define vtkConvertToPointCloud_h
18 
19 #include "vtkFiltersPointsModule.h" // For export macro
20 #include "vtkPolyDataAlgorithm.h"
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class VTKFILTERSPOINTS_EXPORT vtkConvertToPointCloud : public vtkPolyDataAlgorithm
24 {
25 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30  typedef enum CellGeneration
31  {
32  NO_CELLS = 0,
33  POLYVERTEX_CELL = 1,
34  VERTEX_CELLS = 2
35  } CellGeneration;
36 
38 
48  vtkSetMacro(CellGenerationMode, int);
49  vtkGetMacro(CellGenerationMode, int);
51 
52 protected:
54  ~vtkConvertToPointCloud() override = default;
55 
58 
59  int CellGenerationMode = POLYVERTEX_CELL;
60 
61 private:
63  void operator=(const vtkConvertToPointCloud&) = delete;
64 };
65 
66 VTK_ABI_NAMESPACE_END
67 #endif
Convert any dataset to a point cloud.
static vtkConvertToPointCloud * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkConvertToPointCloud() override=default
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkConvertToPointCloud()=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447