[−][src]Struct opencv::viz::WCloudNormals
This 3D Widget represents normals of a point cloud. :
Implementations
impl WCloudNormals
[src]
pub fn as_raw_WCloudNormals(&self) -> *const c_void
[src]
pub fn as_raw_mut_WCloudNormals(&mut self) -> *mut c_void
[src]
impl WCloudNormals
[src]
pub fn new(
cloud: &dyn ToInputArray,
normals: &dyn ToInputArray,
level: i32,
scale: f64,
color: &Color
) -> Result<WCloudNormals>
[src]
cloud: &dyn ToInputArray,
normals: &dyn ToInputArray,
level: i32,
scale: f64,
color: &Color
) -> Result<WCloudNormals>
Constructs a WCloudNormals.
Parameters
- cloud: Point set which can be of type: CV_32FC3, CV_32FC4, CV_64FC3, CV_64FC4.
- normals: A set of normals that has to be of same type with cloud.
- level: Display only every level th normal.
- scale: Scale of the arrows that represent normals.
- color: Color of the arrows that represent normals.
Note: In case there are four channels in the cloud, fourth channel is ignored.
C++ default parameters
- level: 64
- scale: 0.1
- color: Color::white()
Trait Implementations
impl Boxed for WCloudNormals
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for WCloudNormals
[src]
impl Send for WCloudNormals
[src]
impl WCloudNormalsTrait for WCloudNormals
[src]
pub fn as_raw_WCloudNormals(&self) -> *const c_void
[src]
pub fn as_raw_mut_WCloudNormals(&mut self) -> *mut c_void
[src]
impl Widget3DTrait for WCloudNormals
[src]
pub fn as_raw_Widget3D(&self) -> *const c_void
[src]
pub fn as_raw_mut_Widget3D(&mut self) -> *mut c_void
[src]
pub fn set_pose(&mut self, pose: Affine3d) -> Result<()>
[src]
pub fn update_pose(&mut self, pose: Affine3d) -> Result<()>
[src]
pub fn get_pose(&self) -> Result<Affine3d>
[src]
pub fn apply_transform(&mut self, transform: Affine3d) -> Result<()>
[src]
pub fn set_color(&mut self, color: &Color) -> Result<()>
[src]
impl WidgetTrait for WCloudNormals
[src]
pub fn as_raw_Widget(&self) -> *const c_void
[src]
pub fn as_raw_mut_Widget(&mut self) -> *mut c_void
[src]
pub fn set_rendering_property(
&mut self,
property: i32,
value: f64
) -> Result<()>
[src]
&mut self,
property: i32,
value: f64
) -> Result<()>
pub fn get_rendering_property(&self, property: i32) -> Result<f64>
[src]
Auto Trait Implementations
impl RefUnwindSafe for WCloudNormals
[src]
impl !Sync for WCloudNormals
[src]
impl Unpin for WCloudNormals
[src]
impl UnwindSafe for WCloudNormals
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,