Trait opencv::core::ArraysTrait[][src]

pub trait ArraysTrait: ArraysTraitConst {
    fn as_raw_mut_Arrays(&mut self) -> *mut c_void;

    fn set_vertex_array(&mut self, vertex: &dyn ToInputArray) -> Result<()> { ... }
fn reset_vertex_array(&mut self) -> Result<()> { ... }
fn set_color_array(&mut self, color: &dyn ToInputArray) -> Result<()> { ... }
fn reset_color_array(&mut self) -> Result<()> { ... }
fn set_normal_array(&mut self, normal: &dyn ToInputArray) -> Result<()> { ... }
fn reset_normal_array(&mut self) -> Result<()> { ... }
fn set_tex_coord_array(
        &mut self,
        tex_coord: &dyn ToInputArray
    ) -> Result<()> { ... }
fn reset_tex_coord_array(&mut self) -> Result<()> { ... }
fn release(&mut self) -> Result<()> { ... }
fn set_auto_release(&mut self, flag: bool) -> Result<()> { ... } }

Required methods

Provided methods

Sets an array of vertex coordinates.

Parameters
  • vertex: array with vertex coordinates, can be both host and device memory.

Resets vertex coordinates.

Sets an array of vertex colors.

Parameters
  • color: array with vertex colors, can be both host and device memory.

Resets vertex colors.

Sets an array of vertex normals.

Parameters
  • normal: array with vertex normals, can be both host and device memory.

Resets vertex normals.

Sets an array of vertex texture coordinates.

Parameters
  • texCoord: array with vertex texture coordinates, can be both host and device memory.

Resets vertex texture coordinates.

Releases all inner buffers.

Sets auto release mode all inner buffers.

Parameters
  • flag: Auto release mode.

Implementors