Table of Contents

Class Volume

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Custom volume (TSDF, HashTSDF or ColorTSDF) 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 the volume (only for ColorTSDF).

GetBoundingBox(OutputArray, VolumeBoundingBoxPrecision)

Gets bounding box in volume coordinates with given precision.

GetEnableGrowth()

Returns whether new volume units are allocated during integration (HashTSDF only).

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 the input data to the volume (only for ColorTSDF).

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 the volume contents into an image, also outputting colors (only for ColorTSDF).

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 the volume contents into an image of the given size with the given intrinsics, also outputting colors (only for ColorTSDF).

Release()

Clean up any resources being used.

Reset()

Clears all data in volume.

SetEnableGrowth(bool)

Enables or disables new volume unit allocation during integration (HashTSDF only).