pub trait CUDA_OpticalFlowDual_TVL1Trait: CUDA_DenseOpticalFlowTrait + CUDA_OpticalFlowDual_TVL1TraitConst {
// Required method
fn as_raw_mut_CUDA_OpticalFlowDual_TVL1(&mut self) -> *mut c_void;
// Provided methods
fn set_tau(&mut self, tau: f64) -> Result<()> { ... }
fn set_lambda(&mut self, lambda: f64) -> Result<()> { ... }
fn set_gamma(&mut self, gamma: f64) -> Result<()> { ... }
fn set_theta(&mut self, theta: f64) -> Result<()> { ... }
fn set_num_scales(&mut self, nscales: i32) -> Result<()> { ... }
fn set_num_warps(&mut self, warps: i32) -> Result<()> { ... }
fn set_epsilon(&mut self, epsilon: f64) -> Result<()> { ... }
fn set_num_iterations(&mut self, iterations: i32) -> Result<()> { ... }
fn set_scale_step(&mut self, scale_step: f64) -> Result<()> { ... }
fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::cudaoptflow::CUDA_OpticalFlowDual_TVL1
Required Methods§
fn as_raw_mut_CUDA_OpticalFlowDual_TVL1(&mut self) -> *mut c_void
Provided Methods§
fn set_tau(&mut self, tau: f64) -> Result<()>
fn set_lambda(&mut self, lambda: f64) -> Result<()>
fn set_gamma(&mut self, gamma: f64) -> Result<()>
fn set_theta(&mut self, theta: f64) -> Result<()>
fn set_num_scales(&mut self, nscales: i32) -> Result<()>
fn set_num_warps(&mut self, warps: i32) -> Result<()>
fn set_epsilon(&mut self, epsilon: f64) -> Result<()>
fn set_num_iterations(&mut self, iterations: i32) -> Result<()>
fn set_scale_step(&mut self, scale_step: f64) -> Result<()>
fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.