[][src]Trait opencv::structured_light::SinusoidalPattern_ParamsTrait

pub trait SinusoidalPattern_ParamsTrait {
    pub fn as_raw_SinusoidalPattern_Params(&self) -> *const c_void;
pub fn as_raw_mut_SinusoidalPattern_Params(&mut self) -> *mut c_void; pub fn width(&self) -> i32 { ... }
pub fn set_width(&mut self, val: i32) { ... }
pub fn height(&self) -> i32 { ... }
pub fn set_height(&mut self, val: i32) { ... }
pub fn nbr_of_periods(&self) -> i32 { ... }
pub fn set_nbr_of_periods(&mut self, val: i32) { ... }
pub fn shift_value(&self) -> f32 { ... }
pub fn set_shift_value(&mut self, val: f32) { ... }
pub fn method_id(&self) -> i32 { ... }
pub fn set_method_id(&mut self, val: i32) { ... }
pub fn nbr_of_pixels_between_markers(&self) -> i32 { ... }
pub fn set_nbr_of_pixels_between_markers(&mut self, val: i32) { ... }
pub fn horizontal(&self) -> bool { ... }
pub fn set_horizontal(&mut self, val: bool) { ... }
pub fn set_markers(&self) -> bool { ... }
pub fn set_set_markers(&mut self, val: bool) { ... }
pub fn markers_location(&mut self) -> Vector<Point2f> { ... }
pub fn set_markers_location(&mut self, val: Vector<Point2f>) { ... } }

Parameters of SinusoidalPattern constructor

Parameters

  • width: Projector's width.
  • height: Projector's height.
  • nbrOfPeriods: Number of period along the patterns direction.
  • shiftValue: Phase shift between two consecutive patterns.
  • methodId: Allow to choose between FTP, PSP and FAPS.
  • nbrOfPixelsBetweenMarkers: Number of pixels between two consecutive markers on the same row.
  • setMarkers: Allow to set markers on the patterns.
  • markersLocation: vector used to store markers location on the patterns.

Required methods

Loading content...

Provided methods

pub fn width(&self) -> i32[src]

pub fn set_width(&mut self, val: i32)[src]

pub fn height(&self) -> i32[src]

pub fn set_height(&mut self, val: i32)[src]

pub fn nbr_of_periods(&self) -> i32[src]

pub fn set_nbr_of_periods(&mut self, val: i32)[src]

pub fn shift_value(&self) -> f32[src]

pub fn set_shift_value(&mut self, val: f32)[src]

pub fn method_id(&self) -> i32[src]

pub fn set_method_id(&mut self, val: i32)[src]

pub fn nbr_of_pixels_between_markers(&self) -> i32[src]

pub fn set_nbr_of_pixels_between_markers(&mut self, val: i32)[src]

pub fn horizontal(&self) -> bool[src]

pub fn set_horizontal(&mut self, val: bool)[src]

pub fn set_markers(&self) -> bool[src]

pub fn set_set_markers(&mut self, val: bool)[src]

pub fn markers_location(&mut self) -> Vector<Point2f>[src]

pub fn set_markers_location(&mut self, val: Vector<Point2f>)[src]

Loading content...

Implementors

Loading content...