Trait Kinfu_VolumeParamsTraitConst

Source
pub trait Kinfu_VolumeParamsTraitConst {
    // Required method
    fn as_raw_Kinfu_VolumeParams(&self) -> *const c_void;

    // Provided methods
    fn typ(&self) -> Kinfu_VolumeType { ... }
    fn resolution(&self) -> Vec3i { ... }
    fn unit_resolution(&self) -> i32 { ... }
    fn pose(&self) -> Affine3f { ... }
    fn voxel_size(&self) -> f32 { ... }
    fn tsdf_trunc_dist(&self) -> f32 { ... }
    fn max_weight(&self) -> i32 { ... }
    fn depth_trunc_threshold(&self) -> f32 { ... }
    fn raycast_step_factor(&self) -> f32 { ... }
}
Expand description

Constant methods for crate::rgbd::Kinfu_VolumeParams

Required Methods§

Provided Methods§

Source

fn typ(&self) -> Kinfu_VolumeType

Type of Volume Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units)

Source

fn resolution(&self) -> Vec3i

Resolution of voxel space Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions

Source

fn unit_resolution(&self) -> i32

Resolution of volumeUnit in voxel space Number of voxels in each dimension for volumeUnit Applicable only for hashTSDF.

Source

fn pose(&self) -> Affine3f

Initial pose of the volume in meters

Source

fn voxel_size(&self) -> f32

Length of voxels in meters

Source

fn tsdf_trunc_dist(&self) -> f32

TSDF truncation distance Distances greater than value from surface will be truncated to 1.0

Source

fn max_weight(&self) -> i32

Max number of frames to integrate per voxel Represents the max number of frames over which a running average of the TSDF is calculated for a voxel

Source

fn depth_trunc_threshold(&self) -> f32

Threshold for depth truncation in meters Truncates the depth greater than threshold to 0

Source

fn raycast_step_factor(&self) -> f32

Length of single raycast step Describes the percentage of voxel length that is skipped per march

Implementors§