ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::pipelines::integration::TSDFVolume Class Referenceabstract

Base class of the Truncated Signed Distance Function (TSDF) volume. More...

#include <TSDFVolume.h>

Inheritance diagram for cloudViewer::pipelines::integration::TSDFVolume:

Public Member Functions

 TSDFVolume (double voxel_length, double sdf_trunc, TSDFVolumeColorType color_type)
 Default Constructor. More...
 
virtual ~TSDFVolume ()
 
virtual void Reset ()=0
 Function to reset the TSDFVolume. More...
 
virtual void Integrate (const geometry::RGBDImage &image, const camera::PinholeCameraIntrinsic &intrinsic, const Eigen::Matrix4d &extrinsic)=0
 Function to integrate an RGB-D image into the volume. More...
 
virtual std::shared_ptr< ccPointCloudExtractPointCloud ()=0
 Function to extract a point cloud with normals. More...
 
virtual std::shared_ptr< ccMeshExtractTriangleMesh ()=0
 Function to extract a triangle mesh, using the marching cubes algorithm. (https://en.wikipedia.org/wiki/Marching_cubes) More...
 

Public Attributes

double voxel_length_
 Length of the voxel in meters. More...
 
double sdf_trunc_
 Truncation value for signed distance function (SDF). More...
 
TSDFVolumeColorType color_type_
 Color type of the TSDF volume. More...
 

Detailed Description

Base class of the Truncated Signed Distance Function (TSDF) volume.

This volume is usually used to integrate surface data (e.g., a series of RGB-D images) into a Mesh or PointCloud. The basic technique is presented in the following paper:

B. Curless and M. Levoy A volumetric method for building complex models from range images In SIGGRAPH, 1996

Definition at line 43 of file TSDFVolume.h.

Constructor & Destructor Documentation

◆ TSDFVolume()

cloudViewer::pipelines::integration::TSDFVolume::TSDFVolume ( double  voxel_length,
double  sdf_trunc,
TSDFVolumeColorType  color_type 
)
inline

Default Constructor.

Parameters
voxel_lengthLength of the voxel in meters.
sdf_truncTruncation value for signed distance function (SDF).
color_typeColor type of the TSDF volume.

Definition at line 50 of file TSDFVolume.h.

◆ ~TSDFVolume()

virtual cloudViewer::pipelines::integration::TSDFVolume::~TSDFVolume ( )
inlinevirtual

Definition at line 56 of file TSDFVolume.h.

Member Function Documentation

◆ ExtractPointCloud()

virtual std::shared_ptr<ccPointCloud> cloudViewer::pipelines::integration::TSDFVolume::ExtractPointCloud ( )
pure virtual

◆ ExtractTriangleMesh()

virtual std::shared_ptr<ccMesh> cloudViewer::pipelines::integration::TSDFVolume::ExtractTriangleMesh ( )
pure virtual

◆ Integrate()

virtual void cloudViewer::pipelines::integration::TSDFVolume::Integrate ( const geometry::RGBDImage image,
const camera::PinholeCameraIntrinsic intrinsic,
const Eigen::Matrix4d &  extrinsic 
)
pure virtual

◆ Reset()

Member Data Documentation

◆ color_type_

◆ sdf_trunc_

double cloudViewer::pipelines::integration::TSDFVolume::sdf_trunc_

◆ voxel_length_


The documentation for this class was generated from the following file: