[][src]Struct pbrt::cameras::environment::EnvironmentCamera

pub struct EnvironmentCamera {
    pub camera_to_world: AnimatedTransform,
    pub shutter_open: Float,
    pub shutter_close: Float,
    pub film: Arc<Film>,
    pub medium: Option<Arc<Medium>>,


camera_to_world: AnimatedTransformshutter_open: Floatshutter_close: Floatfilm: Arc<Film>medium: Option<Arc<Medium>>


impl EnvironmentCamera[src]

pub fn new(
    camera_to_world: AnimatedTransform,
    shutter_open: Float,
    shutter_close: Float,
    film: Arc<Film>,
    medium: Option<Arc<Medium>>
) -> Self

pub fn create(
    params: &ParamSet,
    cam2world: AnimatedTransform,
    film: Arc<Film>,
    medium: Option<Arc<Medium>>
) -> Arc<Camera>

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

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(
    _iref: &InteractionCommon,
    _u: &Point2f,
    _wi: &mut Vector3f,
    _pdf: &mut Float,
    _p_raster: &mut Point2f,
    _vis: &mut VisibilityTester
) -> Spectrum

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

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

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

Auto Trait Implementations

impl Send for EnvironmentCamera

impl Unpin for EnvironmentCamera

impl Sync for EnvironmentCamera

impl UnwindSafe for EnvironmentCamera

impl RefUnwindSafe for EnvironmentCamera

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

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

impl<T> SetParameter for T[src]