[−][src]Trait opencv::plot::prelude::Plot2d
Required methods
pub fn as_raw_Plot2d(&self) -> *const c_void
[src]
pub fn as_raw_mut_Plot2d(&mut self) -> *mut c_void
[src]
Provided methods
pub fn set_min_x(&mut self, _plot_min_x: f64) -> Result<()>
[src]
pub fn set_min_y(&mut self, _plot_min_y: f64) -> Result<()>
[src]
pub fn set_max_x(&mut self, _plot_max_x: f64) -> Result<()>
[src]
pub fn set_max_y(&mut self, _plot_max_y: f64) -> Result<()>
[src]
pub fn set_plot_line_width(&mut self, _plot_line_width: i32) -> Result<()>
[src]
pub fn set_need_plot_line(&mut self, _need_plot_line: bool) -> Result<()>
[src]
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.
pub fn set_plot_line_color(&mut self, _plot_line_color: Scalar) -> Result<()>
[src]
pub fn set_plot_background_color(
&mut self,
_plot_background_color: Scalar
) -> Result<()>
[src]
&mut self,
_plot_background_color: Scalar
) -> Result<()>
pub fn set_plot_axis_color(&mut self, _plot_axis_color: Scalar) -> Result<()>
[src]
pub fn set_plot_grid_color(&mut self, _plot_grid_color: Scalar) -> Result<()>
[src]
pub fn set_plot_text_color(&mut self, _plot_text_color: Scalar) -> Result<()>
[src]
pub fn set_plot_size(
&mut self,
_plot_size_width: i32,
_plot_size_height: i32
) -> Result<()>
[src]
&mut self,
_plot_size_width: i32,
_plot_size_height: i32
) -> Result<()>
pub fn set_show_grid(&mut self, need_show_grid: bool) -> Result<()>
[src]
pub fn set_show_text(&mut self, need_show_text: bool) -> Result<()>
[src]
pub fn set_grid_lines_number(&mut self, grid_lines_number: i32) -> Result<()>
[src]
pub fn set_invert_orientation(
&mut self,
_invert_orientation: bool
) -> Result<()>
[src]
&mut self,
_invert_orientation: bool
) -> Result<()>
pub fn set_point_idx_to_print(&mut self, point_idx: i32) -> Result<()>
[src]
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.
pub fn render(&mut self, _plot_result: &mut dyn ToOutputArray) -> Result<()>
[src]
Implementations
impl<'_> dyn Plot2d + '_
[src]
pub fn create(data: &dyn ToInputArray) -> Result<Ptr<dyn Plot2d>>
[src]
Creates Plot2d object
Parameters
- data: or matrix containing values of points to plot. values will be equal to indexes of correspondind elements in data matrix.
pub fn create_1(
data_x: &dyn ToInputArray,
data_y: &dyn ToInputArray
) -> Result<Ptr<dyn Plot2d>>
[src]
data_x: &dyn ToInputArray,
data_y: &dyn ToInputArray
) -> Result<Ptr<dyn Plot2d>>
Creates Plot2d object
Parameters
- dataX: or matrix values of points to plot.
- dataY: or matrix containing values of points to plot.