pub trait CameraTraitConst {
// Required method
fn as_raw_Camera(&self) -> *const c_void;
// Provided methods
fn get_clip(&self) -> Result<Vec2d> { ... }
fn get_window_size(&self) -> Result<Size> { ... }
fn get_fov(&self) -> Result<Vec2d> { ... }
fn get_principal_point(&self) -> Result<Vec2d> { ... }
fn get_focal_length(&self) -> Result<Vec2d> { ... }
fn compute_projection_matrix(&self, proj: &mut Matx44d) -> Result<()> { ... }
}
Expand description
Constant methods for crate::viz::Camera