VTK  9.7.20260926
vtkDepthImageToPointCloud.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
58
59#ifndef vtkDepthImageToPointCloud_h
60#define vtkDepthImageToPointCloud_h
61
63#include "vtkRenderingImageModule.h" // For export macro
64#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
65
66VTK_ABI_NAMESPACE_BEGIN
67class vtkCamera;
68
69class VTKRENDERINGIMAGE_EXPORT VTK_MARSHALAUTO vtkDepthImageToPointCloud
71{
72public:
74
79 void PrintSelf(ostream& os, vtkIndent indent) override;
81
86
93
95
99 vtkGetObjectMacro(Camera, vtkCamera);
101
103
108 vtkSetMacro(CullNearPoints, bool);
109 vtkGetMacro(CullNearPoints, bool);
110 vtkBooleanMacro(CullNearPoints, bool);
112
114
119 vtkSetMacro(CullFarPoints, bool);
120 vtkGetMacro(CullFarPoints, bool);
121 vtkBooleanMacro(CullFarPoints, bool);
123
125
130 vtkSetMacro(ProduceColorScalars, bool);
131 vtkGetMacro(ProduceColorScalars, bool);
132 vtkBooleanMacro(ProduceColorScalars, bool);
134
136
142 vtkSetMacro(ProduceVertexCellArray, bool);
143 vtkGetMacro(ProduceVertexCellArray, bool);
144 vtkBooleanMacro(ProduceVertexCellArray, bool);
146
148
153 vtkSetMacro(OutputPointsPrecision, int);
154 vtkGetMacro(OutputPointsPrecision, int);
156
157protected:
160
167
169
171 vtkInformationVector* outInfo) override;
172
174 vtkInformationVector* outputVector) override;
175
176 int FillInputPortInformation(int port, vtkInformation* info) override;
177 int FillOutputPortInformation(int port, vtkInformation* info) override;
178
179private:
181 void operator=(const vtkDepthImageToPointCloud&) = delete;
182};
183
184VTK_ABI_NAMESPACE_END
185#endif
a virtual camera for 3D rendering
Definition vtkCamera.h:151
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
~vtkDepthImageToPointCloud() override
vtkMTimeType GetMTime() override
Return the MTime also considering the camera.
void SetCamera(vtkCamera *)
Indicates what camera was used to generate the depth image.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard instantiation, type and print methods.
static vtkDepthImageToPointCloud * New()
Standard instantiation, type and print methods.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outInfo) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:318
#define VTK_MARSHALAUTO