59#ifndef vtkDepthImageToPointCloud_h
60#define vtkDepthImageToPointCloud_h
63#include "vtkRenderingImageModule.h"
65VTK_ABI_NAMESPACE_BEGIN
106 vtkSetMacro(CullNearPoints,
bool);
107 vtkGetMacro(CullNearPoints,
bool);
108 vtkBooleanMacro(CullNearPoints,
bool);
117 vtkSetMacro(CullFarPoints,
bool);
118 vtkGetMacro(CullFarPoints,
bool);
119 vtkBooleanMacro(CullFarPoints,
bool);
128 vtkSetMacro(ProduceColorScalars,
bool);
129 vtkGetMacro(ProduceColorScalars,
bool);
130 vtkBooleanMacro(ProduceColorScalars,
bool);
140 vtkSetMacro(ProduceVertexCellArray,
bool);
141 vtkGetMacro(ProduceVertexCellArray,
bool);
142 vtkBooleanMacro(ProduceVertexCellArray,
bool);
151 vtkSetMacro(OutputPointsPrecision,
int);
152 vtkGetMacro(OutputPointsPrecision,
int);
a virtual camera for 3D rendering
convert a depth image into a point cloud
bool ProduceVertexCellArray
vtkDepthImageToPointCloud()
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.
int OutputPointsPrecision
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
vtkTypeUInt32 vtkMTimeType