Trait opencv::hub_prelude::Plot2d[][src]

pub trait Plot2d: AlgorithmTrait + Plot2dConst {
Show 19 methods fn as_raw_mut_Plot2d(&mut self) -> *mut c_void; fn set_min_x(&mut self, _plot_min_x: f64) -> Result<()> { ... }
fn set_min_y(&mut self, _plot_min_y: f64) -> Result<()> { ... }
fn set_max_x(&mut self, _plot_max_x: f64) -> Result<()> { ... }
fn set_max_y(&mut self, _plot_max_y: f64) -> Result<()> { ... }
fn set_plot_line_width(&mut self, _plot_line_width: i32) -> Result<()> { ... }
fn set_need_plot_line(&mut self, _need_plot_line: bool) -> Result<()> { ... }
fn set_plot_line_color(&mut self, _plot_line_color: Scalar) -> Result<()> { ... }
fn set_plot_background_color(
        &mut self,
        _plot_background_color: Scalar
    ) -> Result<()> { ... }
fn set_plot_axis_color(&mut self, _plot_axis_color: Scalar) -> Result<()> { ... }
fn set_plot_grid_color(&mut self, _plot_grid_color: Scalar) -> Result<()> { ... }
fn set_plot_text_color(&mut self, _plot_text_color: Scalar) -> Result<()> { ... }
fn set_plot_size(
        &mut self,
        _plot_size_width: i32,
        _plot_size_height: i32
    ) -> Result<()> { ... }
fn set_show_grid(&mut self, need_show_grid: bool) -> Result<()> { ... }
fn set_show_text(&mut self, need_show_text: bool) -> Result<()> { ... }
fn set_grid_lines_number(&mut self, grid_lines_number: i32) -> Result<()> { ... }
fn set_invert_orientation(
        &mut self,
        _invert_orientation: bool
    ) -> Result<()> { ... }
fn set_point_idx_to_print(&mut self, point_idx: i32) -> Result<()> { ... }
fn render(&mut self, _plot_result: &mut dyn ToOutputArray) -> Result<()> { ... }
}

Required methods

Provided methods

Switches data visualization mode

Parameters
  • _needPlotLine: if true then neighbour plot points will be connected by lines. In other case data will be plotted as a set of standalone points.

Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).

Parameters
  • pointIdx: index of the required point in data array.

Implementations

Creates Plot2d object

Parameters
  • data: inline formula or inline formula matrix containing inline formula values of points to plot. inline formula values will be equal to indexes of correspondind elements in data matrix.

Creates Plot2d object

Parameters
  • dataX: inline formula or inline formula matrix inline formula values of points to plot.
  • dataY: inline formula or inline formula matrix containing inline formula values of points to plot.

Implementors