VTK: Filters/GeometryPreview/vtkOctreeImageToPointSetFilter.h Source File

| VTK 9.3.1

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
28 #include "vtkPolyDataAlgorithm.h"
29
30 VTK_ABI_NAMESPACE_BEGIN
31 class VTKFILTERSGEOMETRYPREVIEW_EXPORT vtkOctreeImageToPointSetFilter : public vtkPolyDataAlgorithm
32 {
33 public:
34 vtkTypeMacro(vtkOctreeImageToPointSetFilter, vtkPolyDataAlgorithm);
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36 static vtkOctreeImageToPointSetFilter* New();
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
71 protected:
72 vtkOctreeImageToPointSetFilter();
73 ~vtkOctreeImageToPointSetFilter() override;
74
75 int FillInputPortInformation(int port, vtkInformation* info) override;
76 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
77
78 private:
79 vtkOctreeImageToPointSetFilter(const vtkOctreeImageToPointSetFilter&) = delete;
80 void operator=(const vtkOctreeImageToPointSetFilter&) = delete;
81
82 bool CreateVerticesCellArray = true;
83 bool ProcessInputCellArray = false;
84 int CellArrayComponent = 0;
85 };
86
87 VTK_ABI_NAMESPACE_END
88 #endif // vtkOctreeImageToPointSetFilter_h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkOctreeImageToPointSetFilter
Convert an octree image to point set.
Definition: vtkOctreeImageToPointSetFilter.h:32
vtkOctreeImageToPointSetFilter::~vtkOctreeImageToPointSetFilter
~vtkOctreeImageToPointSetFilter() override
vtkOctreeImageToPointSetFilter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkOctreeImageToPointSetFilter::New
static vtkOctreeImageToPointSetFilter * New()
vtkOctreeImageToPointSetFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOctreeImageToPointSetFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkOctreeImageToPointSetFilter::vtkOctreeImageToPointSetFilter
vtkOctreeImageToPointSetFilter()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:43
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkPolyDataAlgorithm.h
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:144