68#ifndef vtkDepthImageToPointCloud_h
69#define vtkDepthImageToPointCloud_h
72#include "vtkRenderingImageModule.h"
114 vtkSetMacro(CullNearPoints,
bool);
115 vtkGetMacro(CullNearPoints,
bool);
116 vtkBooleanMacro(CullNearPoints,
bool);
125 vtkSetMacro(CullFarPoints,
bool);
126 vtkGetMacro(CullFarPoints,
bool);
127 vtkBooleanMacro(CullFarPoints,
bool);
136 vtkSetMacro(ProduceColorScalars,
bool);
137 vtkGetMacro(ProduceColorScalars,
bool);
138 vtkBooleanMacro(ProduceColorScalars,
bool);
148 vtkSetMacro(ProduceVertexCellArray,
bool);
149 vtkGetMacro(ProduceVertexCellArray,
bool);
150 vtkBooleanMacro(ProduceVertexCellArray,
bool);
159 vtkSetMacro(OutputPointsPrecision,
int);
160 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