[−][src]Trait opencv::prelude::Widget3DTrait
Base class of all 3D widgets.
Required methods
pub fn as_raw_Widget3D(&self) -> *const c_void
[src]
pub fn as_raw_mut_Widget3D(&mut self) -> *mut c_void
[src]
Provided methods
pub fn set_pose(&mut self, pose: Affine3d) -> Result<()>
[src]
pub fn update_pose(&mut self, pose: Affine3d) -> Result<()>
[src]
Updates pose of the widget by pre-multiplying its current pose.
Parameters
- pose: The pose that the current pose of the widget will be pre-multiplied by.
pub fn get_pose(&self) -> Result<Affine3d>
[src]
Returns the current pose of the widget.
pub fn apply_transform(&mut self, transform: Affine3d) -> Result<()>
[src]
Transforms internal widget data (i.e. points, normals) using the given transform.
Parameters
- transform: Specified transformation to apply.