Struct Kinfu_VolumeParams

Source
pub struct Kinfu_VolumeParams { /* private fields */ }

Implementations§

Source§

impl Kinfu_VolumeParams

Source

pub fn default() -> Kinfu_VolumeParams

Creates a default instance of the class by calling the default constructor

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: <Kinfu_VolumeParams as OpenCVFromExtern>::ExternReceive, ) -> Self

Wrap the specified raw pointer Read more
Source§

fn into_raw( self, ) -> <Kinfu_VolumeParams as OpenCVTypeExternContainer>::ExternSendMut

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

fn as_raw( &self, ) -> <Kinfu_VolumeParams as OpenCVTypeExternContainer>::ExternSend

Return the underlying raw pointer. Read more
Source§

fn as_raw_mut( &mut self, ) -> <Kinfu_VolumeParams as OpenCVTypeExternContainer>::ExternSendMut

Return the underlying mutable raw pointer Read more
Source§

impl Debug for Kinfu_VolumeParams

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Kinfu_VolumeParams

Source§

fn default() -> Self

Forwards to infallible Self::default()

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 T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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<Mat> ModifyInplace for Mat
where Mat: Boxed,

Source§

unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res, ) -> Res

Helper function to call OpenCV functions that allow in-place modification of a Mat or another similar object. By passing a mutable reference to the Mat to this function your closure will get called with the read reference and a write references to the same Mat. This is unsafe in a general case as it leads to having non-exclusive mutable access to the internal data, but it can be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place modification is imgproc::threshold. Read more
Source§

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

Source§

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 T
where U: TryFrom<T>,

Source§

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.