pub struct Kinfu_VolumeParams { /* private fields */ }

Implementations§

source§

impl Kinfu_VolumeParams

source

pub fn default_params( _volume_type: Kinfu_VolumeType ) -> Result<Ptr<Kinfu_VolumeParams>>

Default set of parameters that provide higher quality reconstruction at the cost of slow performance.

source

pub fn coarse_params( _volume_type: Kinfu_VolumeType ) -> Result<Ptr<Kinfu_VolumeParams>>

Coarse set of parameters that provides relatively higher performance at the cost of reconstrution quality.

Trait Implementations§

source§

impl Boxed for Kinfu_VolumeParams

source§

unsafe fn from_raw(ptr: *mut c_void) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> *mut c_void

Return an the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> *const c_void

Return the underlying raw pointer. Read more
source§

fn as_raw_mut(&mut self) -> *mut c_void

Return the underlying mutable raw pointer Read more
source§

impl Drop for Kinfu_VolumeParams

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Kinfu_VolumeParamsTrait for Kinfu_VolumeParams

source§

fn as_raw_mut_Kinfu_VolumeParams(&mut self) -> *mut c_void

source§

fn set_type(&mut self, val: Kinfu_VolumeType)

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

fn set_resolution(&mut self, val: 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 set_unit_resolution(&mut self, val: i32)

Resolution of volumeUnit in voxel space Number of voxels in each dimension for volumeUnit Applicable only for hashTSDF. Read more
source§

fn set_pose(&mut self, val: Affine3f)

Initial pose of the volume in meters
source§

fn set_voxel_size(&mut self, val: f32)

Length of voxels in meters
source§

fn set_tsdf_trunc_dist(&mut self, val: f32)

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

fn set_max_weight(&mut self, val: 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 set_depth_trunc_threshold(&mut self, val: f32)

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

fn set_raycast_step_factor(&mut self, val: f32)

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

impl Kinfu_VolumeParamsTraitConst for Kinfu_VolumeParams

source§

fn as_raw_Kinfu_VolumeParams(&self) -> *const c_void

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
source§

impl Send for Kinfu_VolumeParams

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.