pub trait CUDA_SparsePyrLKOpticalFlowTrait: CUDA_SparseOpticalFlowTrait + CUDA_SparsePyrLKOpticalFlowTraitConst {
// Required method
fn as_raw_mut_CUDA_SparsePyrLKOpticalFlow(&mut self) -> *mut c_void;
// Provided methods
fn set_win_size(&mut self, win_size: Size) -> Result<()> { ... }
fn set_max_level(&mut self, max_level: i32) -> Result<()> { ... }
fn set_num_iters(&mut self, iters: i32) -> Result<()> { ... }
fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::cudaoptflow::CUDA_SparsePyrLKOpticalFlow
Required Methods§
fn as_raw_mut_CUDA_SparsePyrLKOpticalFlow(&mut self) -> *mut c_void
Provided Methods§
fn set_win_size(&mut self, win_size: Size) -> Result<()>
fn set_max_level(&mut self, max_level: i32) -> Result<()>
fn set_num_iters(&mut self, iters: i32) -> Result<()>
fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>
Object Safety§
This trait is not object safe.