VTK  9.4.20250202
vtkOctreeImageToPointSetFilter.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
24#ifndef vtkOctreeImageToPointSetFilter_h
25#define vtkOctreeImageToPointSetFilter_h
26
27#include "vtkFiltersGeometryPreviewModule.h" // For export macro
29
30VTK_ABI_NAMESPACE_BEGIN
31class VTKFILTERSGEOMETRYPREVIEW_EXPORT vtkOctreeImageToPointSetFilter : public vtkPolyDataAlgorithm
32{
33public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
44 vtkSetMacro(CreateVerticesCellArray, bool);
45 vtkGetMacro(CreateVerticesCellArray, bool);
46 vtkBooleanMacro(CreateVerticesCellArray, bool);
48
50
56 vtkSetMacro(ProcessInputCellArray, bool);
57 vtkGetMacro(ProcessInputCellArray, bool);
58 vtkBooleanMacro(ProcessInputCellArray, bool);
60
62
67 vtkSetClampMacro(CellArrayComponent, int, 0, VTK_INT_MAX);
68 vtkGetMacro(CellArrayComponent, int);
70
71protected:
74
75 int FillInputPortInformation(int port, vtkInformation* info) override;
77
78private:
80 void operator=(const vtkOctreeImageToPointSetFilter&) = delete;
81
82 bool CreateVerticesCellArray = true;
83 bool ProcessInputCellArray = false;
84 int CellArrayComponent = 0;
85};
86
87VTK_ABI_NAMESPACE_END
88#endif // vtkOctreeImageToPointSetFilter_h
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Convert an octree image to point set.
~vtkOctreeImageToPointSetFilter() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
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 vtkOctreeImageToPointSetFilter * New()
Superclass for algorithms that produce only polydata as output.
#define VTK_INT_MAX
Definition vtkType.h:144