pub struct Projection4 {
pub focal: f32,
}Fields§
§focal: f32Trait Implementations§
Source§impl ViewMapping<EuclideanR4> for Projection4
impl ViewMapping<EuclideanR4> for Projection4
fn name(&self) -> &'static str
fn image_point( &self, eye: &Pose<EuclideanR4>, point: <EuclideanR4 as Space>::Point, ) -> Option<[f32; 3]>
fn image_local( &self, space: &EuclideanR4, _eye: &Pose<EuclideanR4>, _pose: &Pose<EuclideanR4>, relative: &<EuclideanR4 as DomainSpace>::Relative, local: <EuclideanR4 as Space>::Point, ) -> Option<[f32; 3]>
fn lift( &self, _eye: &Pose<EuclideanR4>, _ray: &ImageRay, ) -> Option<DomainRay<EuclideanR4>>
Source§fn ray_lift(&self) -> bool
fn ray_lift(&self) -> bool
True when
lift recovers a domain ray from any image ray; a map without one refuses grabs and field bridges by name.fn image_radius( &self, eye: &Pose<EuclideanR4>, point: <EuclideanR4 as Space>::Point, radius: f32, ) -> f32
fn depth_envelope(&self) -> DepthEnvelope
Source§fn image_segment(
&self,
space: &S,
eye: &Pose<S>,
pose: &Pose<S>,
relative: &S::Relative,
segment: [S::Point; 2],
emit: &mut dyn FnMut(f32, Option<[f32; 3]>),
)
fn image_segment( &self, space: &S, eye: &Pose<S>, pose: &Pose<S>, relative: &S::Relative, segment: [S::Point; 2], emit: &mut dyn FnMut(f32, Option<[f32; 3]>), )
Emits an ordered image polyline;
None breaks the line.fn section(&self, _eye: &Pose<S>, _pose: &Pose<S>) -> Option<SectionCut>
fn depth_envelope_at(&self, _eye: &Pose<S>) -> DepthEnvelope
Auto Trait Implementations§
impl Freeze for Projection4
impl RefUnwindSafe for Projection4
impl Send for Projection4
impl Sync for Projection4
impl Unpin for Projection4
impl UnsafeUnpin for Projection4
impl UnwindSafe for Projection4
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more