pub(crate) struct Projected {
name: &'static str,
projection: Projection<4>,
slice: f32,
}Fields§
§name: &'static str§projection: Projection<4>§slice: f32Implementations§
Trait Implementations§
Source§impl ViewMapping<EuclideanR4> for Projected
impl ViewMapping<EuclideanR4> for Projected
fn name(&self) -> &'static str
fn image_point(&self, eye: &Pose<EuclideanR4>, point: Vec4) -> Option<[f32; 3]>
fn image_local( &self, space: &EuclideanR4, _eye: &Pose<EuclideanR4>, _pose: &Pose<EuclideanR4>, relative: &<EuclideanR4 as DomainSpace>::Relative, local: Vec4, ) -> Option<[f32; 3]>
Source§fn image_segment(
&self,
space: &EuclideanR4,
eye: &Pose<EuclideanR4>,
pose: &Pose<EuclideanR4>,
relative: &<EuclideanR4 as DomainSpace>::Relative,
segment: [Vec4; 2],
emit: &mut dyn FnMut(f32, Option<[f32; 3]>),
)
fn image_segment( &self, space: &EuclideanR4, eye: &Pose<EuclideanR4>, pose: &Pose<EuclideanR4>, relative: &<EuclideanR4 as DomainSpace>::Relative, segment: [Vec4; 2], emit: &mut dyn FnMut(f32, Option<[f32; 3]>), )
Emits an ordered image polyline;
None breaks the line.fn section( &self, eye: &Pose<EuclideanR4>, pose: &Pose<EuclideanR4>, ) -> Option<SectionCut>
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 depth_envelope(&self) -> DepthEnvelope
fn image_radius( &self, _eye: &Pose<S>, _point: <S as Space>::Point, radius: f32, ) -> f32
fn depth_envelope_at(&self, _eye: &Pose<S>) -> DepthEnvelope
Auto Trait Implementations§
impl Freeze for Projected
impl RefUnwindSafe for Projected
impl Send for Projected
impl Sync for Projected
impl Unpin for Projected
impl UnsafeUnpin for Projected
impl UnwindSafe for Projected
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.