[][src]Trait opencv::hub_prelude::Kinfu_VolumeParamsTrait

pub trait Kinfu_VolumeParamsTrait {
    pub fn as_raw_Kinfu_VolumeParams(&self) -> *const c_void;
pub fn as_raw_mut_Kinfu_VolumeParams(&mut self) -> *mut c_void; pub fn typ(&self) -> Kinfu_VolumeType { ... }
pub fn set_type(&mut self, val: Kinfu_VolumeType) { ... }
pub fn resolution(&self) -> Vec3i { ... }
pub fn set_resolution(&mut self, val: Vec3i) { ... }
pub fn unit_resolution(&self) -> i32 { ... }
pub fn set_unit_resolution(&mut self, val: i32) { ... }
pub fn pose(&self) -> Affine3f { ... }
pub fn set_pose(&mut self, val: Affine3f) { ... }
pub fn voxel_size(&self) -> f32 { ... }
pub fn set_voxel_size(&mut self, val: f32) { ... }
pub fn tsdf_trunc_dist(&self) -> f32 { ... }
pub fn set_tsdf_trunc_dist(&mut self, val: f32) { ... }
pub fn max_weight(&self) -> i32 { ... }
pub fn set_max_weight(&mut self, val: i32) { ... }
pub fn depth_trunc_threshold(&self) -> f32 { ... }
pub fn set_depth_trunc_threshold(&mut self, val: f32) { ... }
pub fn raycast_step_factor(&self) -> f32 { ... }
pub fn set_raycast_step_factor(&mut self, val: f32) { ... } }

Required methods

Loading content...

Provided methods

pub fn typ(&self) -> Kinfu_VolumeType[src]

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

pub fn set_type(&mut self, val: Kinfu_VolumeType)[src]

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

pub fn resolution(&self) -> Vec3i[src]

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

pub fn set_resolution(&mut self, val: Vec3i)[src]

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

pub fn unit_resolution(&self) -> i32[src]

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

pub fn set_unit_resolution(&mut self, val: i32)[src]

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

C++ default parameters

  • val: {0}

pub fn pose(&self) -> Affine3f[src]

Initial pose of the volume in meters

pub fn set_pose(&mut self, val: Affine3f)[src]

Initial pose of the volume in meters

pub fn voxel_size(&self) -> f32[src]

Length of voxels in meters

pub fn set_voxel_size(&mut self, val: f32)[src]

Length of voxels in meters

pub fn tsdf_trunc_dist(&self) -> f32[src]

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

pub fn set_tsdf_trunc_dist(&mut self, val: f32)[src]

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

pub fn max_weight(&self) -> i32[src]

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

pub fn set_max_weight(&mut self, val: i32)[src]

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

pub fn depth_trunc_threshold(&self) -> f32[src]

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

pub fn set_depth_trunc_threshold(&mut self, val: f32)[src]

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

pub fn raycast_step_factor(&self) -> f32[src]

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

pub fn set_raycast_step_factor(&mut self, val: f32)[src]

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

Loading content...

Implementors

Loading content...