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§
fn as_raw_Kinfu_VolumeParams(&self) -> *const c_void
Provided Methods§
Sourcefn typ(&self) -> Kinfu_VolumeType
fn typ(&self) -> Kinfu_VolumeType
Type of Volume Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units)
Sourcefn resolution(&self) -> Vec3i
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
Sourcefn unit_resolution(&self) -> i32
fn unit_resolution(&self) -> i32
Resolution of volumeUnit in voxel space Number of voxels in each dimension for volumeUnit Applicable only for hashTSDF.
Sourcefn voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Length of voxels in meters
Sourcefn tsdf_trunc_dist(&self) -> f32
fn tsdf_trunc_dist(&self) -> f32
TSDF truncation distance Distances greater than value from surface will be truncated to 1.0
Sourcefn max_weight(&self) -> i32
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
Sourcefn depth_trunc_threshold(&self) -> f32
fn depth_trunc_threshold(&self) -> f32
Threshold for depth truncation in meters Truncates the depth greater than threshold to 0
Sourcefn raycast_step_factor(&self) -> f32
fn raycast_step_factor(&self) -> f32
Length of single raycast step Describes the percentage of voxel length that is skipped per march