Table of Contents

Class Volume

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Custom volume (TSDF, HashTSDF, ColorTSDF or ColorHashTSDF) for point cloud integration and raycasting.

public class Volume : CvObject, IDisposable
Inheritance
Volume
Implements
Inherited Members

Constructors

Volume(VolumeType, VolumeSettings?)

Constructor of custom volume.

Methods

FetchNormals(InputArray, OutputArray)

Extracts the normals corresponding to the given existing points.

FetchPointsNormals(OutputArray, OutputArray)

Extracts all points and corresponding normals from the volume.

FetchPointsNormalsColors(OutputArray, OutputArray, OutputArray)

Extracts all points, normals and colors from a ColorTSDF or ColorHashTSDF volume.

GetBoundingBox(OutputArray, VolumeBoundingBoxPrecision)

Gets bounding box in volume coordinates with given precision.

GetEnableGrowth()

Returns whether new volume units are allocated during integration for HashTSDF and ColorHashTSDF.

GetTotalVolumeUnits()

Returns number of volume units in volume.

GetVisibleBlocks()

Returns visible blocks in volume.

Integrate(InputArray, InputArray)

Integrates the input data to the volume.

IntegrateColor(InputArray, InputArray, InputArray)

Integrates depth and color into a ColorTSDF or ColorHashTSDF volume.

IntegrateFrame(OdometryFrame, InputArray)

Integrates the input data to the volume.

Raycast(InputArray, OutputArray, OutputArray)

Renders the volume contents into an image.

RaycastColor(InputArray, OutputArray, OutputArray, OutputArray)

Renders a ColorTSDF or ColorHashTSDF volume, including colors.

RaycastEx(InputArray, int, int, InputArray, OutputArray, OutputArray)

Renders the volume contents into an image of the given size with the given intrinsics.

RaycastExColor(InputArray, int, int, InputArray, OutputArray, OutputArray, OutputArray)

Renders a ColorTSDF or ColorHashTSDF volume with the given image size and intrinsics, including colors.

Release()

Clean up any resources being used.

Reset()

Clears all data in volume.

SetEnableGrowth(bool)

Enables or disables new volume unit allocation during integration for HashTSDF and ColorHashTSDF.