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

pub trait Camera {
    fn generate_ray_differential(
        &self,
        sample: &CameraSample,
        ray: &mut Ray
    ) -> Float;
fn we(&self, ray: &Ray, p_raster2: Option<&mut Point2f>) -> Spectrum;
fn pdf_we(&self, ray: &Ray) -> (Float, Float);
fn sample_wi(
        &self,
        iref: &InteractionCommon,
        u: &Point2f,
        wi: &mut Vector3f,
        pdf: &mut Float,
        p_raster: &mut Point2f,
        vis: &mut VisibilityTester
    ) -> Spectrum;
fn get_film(&self) -> Arc<Film>; }

Required Methods

Implementors

impl Camera for EnvironmentCamera
[src]

impl Camera for OrthographicCamera
[src]

impl Camera for PerspectiveCamera
[src]

impl Camera for RealisticCamera
[src]