[][src]Enum pbrt::core::camera::Camera

pub enum Camera {
    Environment(Box<EnvironmentCamera>),
    Orthographic(Box<OrthographicCamera>),
    Perspective(Box<PerspectiveCamera>),
    Realistic(Box<RealisticCamera>),
}

Variants

Environment(Box<EnvironmentCamera>)
Orthographic(Box<OrthographicCamera>)
Perspective(Box<PerspectiveCamera>)
Realistic(Box<RealisticCamera>)

Implementations

impl Camera[src]

pub fn generate_ray_differential(
    &self,
    sample: &CameraSample,
    ray: &mut Ray
) -> Float
[src]

pub fn we(&self, ray: &Ray, p_raster2: Option<&mut Point2f>) -> Spectrum[src]

pub fn pdf_we(&self, ray: &Ray) -> (Float, Float)[src]

pub fn sample_wi<'a, 'b>(
    &self,
    iref: &'a InteractionCommon,
    lens_intr: &'b mut InteractionCommon,
    u: Point2f,
    wi: &mut Vector3f,
    pdf: &mut Float,
    p_raster: &mut Point2f,
    vis: &mut VisibilityTester<'a, 'b>
) -> Spectrum
[src]

pub fn get_shutter_open(&self) -> Float[src]

pub fn get_shutter_close(&self) -> Float[src]

pub fn get_film(&self) -> Arc<Film>[src]

pub fn get_clipping_start(&self) -> Float[src]

Auto Trait Implementations

impl RefUnwindSafe for Camera

impl Send for Camera

impl Sync for Camera

impl Unpin for Camera

impl UnwindSafe for Camera

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.