[−][src]Trait pbrt::core::camera::Camera
Required Methods
fn generate_ray_differential(
&self,
sample: &CameraSample,
ray: &mut Ray
) -> Float
&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
&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>
Implementors
impl Camera for EnvironmentCamera
[src]
impl Camera for EnvironmentCamera
fn generate_ray_differential(
&self,
sample: &CameraSample,
ray: &mut Ray
) -> Float
[src]
fn generate_ray_differential(
&self,
sample: &CameraSample,
ray: &mut Ray
) -> Float
fn we(&self, _ray: &Ray, _p_raster2: Option<&mut Point2f>) -> Spectrum
[src]
fn we(&self, _ray: &Ray, _p_raster2: Option<&mut Point2f>) -> Spectrum
fn pdf_we(&self, _ray: &Ray) -> (Float, Float)
[src]
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
[src]
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>
[src]
fn get_film(&self) -> Arc<Film>
impl Camera for OrthographicCamera
[src]
impl Camera for OrthographicCamera
fn generate_ray_differential(
&self,
sample: &CameraSample,
ray: &mut Ray
) -> Float
[src]
fn generate_ray_differential(
&self,
sample: &CameraSample,
ray: &mut Ray
) -> Float
fn we(&self, _ray: &Ray, _p_raster2: Option<&mut Point2f>) -> Spectrum
[src]
fn we(&self, _ray: &Ray, _p_raster2: Option<&mut Point2f>) -> Spectrum
fn pdf_we(&self, _ray: &Ray) -> (Float, Float)
[src]
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
[src]
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>
[src]
fn get_film(&self) -> Arc<Film>
impl Camera for PerspectiveCamera
[src]
impl Camera for PerspectiveCamera
fn generate_ray_differential(
&self,
sample: &CameraSample,
ray: &mut Ray
) -> Float
[src]
fn generate_ray_differential(
&self,
sample: &CameraSample,
ray: &mut Ray
) -> Float
fn we(&self, ray: &Ray, p_raster2: Option<&mut Point2f>) -> Spectrum
[src]
fn we(&self, ray: &Ray, p_raster2: Option<&mut Point2f>) -> Spectrum
fn pdf_we(&self, ray: &Ray) -> (Float, Float)
[src]
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
[src]
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>
[src]
fn get_film(&self) -> Arc<Film>
impl Camera for RealisticCamera
[src]
impl Camera for RealisticCamera
fn generate_ray_differential(
&self,
sample: &CameraSample,
ray: &mut Ray
) -> Float
[src]
fn generate_ray_differential(
&self,
sample: &CameraSample,
ray: &mut Ray
) -> Float
fn we(&self, _ray: &Ray, _p_raster2: Option<&mut Point2f>) -> Spectrum
[src]
fn we(&self, _ray: &Ray, _p_raster2: Option<&mut Point2f>) -> Spectrum
fn pdf_we(&self, _ray: &Ray) -> (Float, Float)
[src]
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
[src]
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>
[src]
fn get_film(&self) -> Arc<Film>