Trait GPCPatchSampleTraitConst

Source
pub trait GPCPatchSampleTraitConst {
    // Required method
    fn as_raw_GPCPatchSample(&self) -> *const c_void;

    // Provided methods
    fn ref_(&self) -> GPCPatchDescriptor { ... }
    fn pos(&self) -> GPCPatchDescriptor { ... }
    fn neg(&self) -> GPCPatchDescriptor { ... }
    fn get_directions(
        &self,
        refdir: &mut bool,
        posdir: &mut bool,
        negdir: &mut bool,
        coef: VecN<f64, 18>,
        rhs: f64,
    ) -> Result<()> { ... }
}
Expand description

Constant methods for crate::optflow::GPCPatchSample

Required Methods§

Provided Methods§

Source

fn ref_(&self) -> GPCPatchDescriptor

Source

fn pos(&self) -> GPCPatchDescriptor

Source

fn neg(&self) -> GPCPatchDescriptor

Source

fn get_directions( &self, refdir: &mut bool, posdir: &mut bool, negdir: &mut bool, coef: VecN<f64, 18>, rhs: f64, ) -> Result<()>

Implementors§