VTK  9.1.0
vtkConvertToPointCloud.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkConvertToPointCloud.h
5
6 Copyright (c) Kitware, Inc.
7 All rights reserved.
8 See LICENSE file 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=========================================================================*/
25#ifndef vtkConvertToPointCloud_h
26#define vtkConvertToPointCloud_h
27
28#include "vtkFiltersPointsModule.h" // For export macro
30
31class VTKFILTERSPOINTS_EXPORT vtkConvertToPointCloud : public vtkPolyDataAlgorithm
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38 typedef enum CellGeneration
39 {
40 NO_CELLS = 0,
41 POLYVERTEX_CELL = 1,
42 VERTEX_CELLS = 2
43 } CellGeneration;
44
46
56 vtkSetMacro(CellGenerationMode, int);
57 vtkGetMacro(CellGenerationMode, int);
59
60protected:
62 ~vtkConvertToPointCloud() override = default;
63
66
67 int CellGenerationMode = POLYVERTEX_CELL;
68
69private:
71 void operator=(const vtkConvertToPointCloud&) = delete;
72};
73
74#endif
Convert any dataset to a point cloud.
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.
static vtkConvertToPointCloud * New()
vtkConvertToPointCloud()=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453