[−][src]Trait pbrt::core::shape::Shape
Required Methods
fn object_bound(&self) -> Bounds3f
fn world_bound(&self) -> Bounds3f
fn intersect(&self, r: &Ray) -> Option<(SurfaceInteraction, Float)>
fn intersect_p(&self, r: &Ray) -> bool
fn get_reverse_orientation(&self) -> bool
fn get_transform_swaps_handedness(&self) -> bool
fn area(&self) -> Float
fn sample(&self, u: &Point2f, pdf: &mut Float) -> InteractionCommon
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
Provided Methods
fn pdf(&self, _iref: &InteractionCommon) -> Float
Implementors
impl Shape for Curve
[src]
impl Shape for Curve
fn object_bound(&self) -> Bounds3f
[src]
fn object_bound(&self) -> Bounds3f
fn world_bound(&self) -> Bounds3f
[src]
fn world_bound(&self) -> Bounds3f
fn intersect(&self, r: &Ray) -> Option<(SurfaceInteraction, Float)>
[src]
fn intersect(&self, r: &Ray) -> Option<(SurfaceInteraction, Float)>
fn intersect_p(&self, r: &Ray) -> bool
[src]
fn intersect_p(&self, r: &Ray) -> bool
fn get_reverse_orientation(&self) -> bool
[src]
fn get_reverse_orientation(&self) -> bool
fn get_transform_swaps_handedness(&self) -> bool
[src]
fn get_transform_swaps_handedness(&self) -> bool
fn area(&self) -> Float
[src]
fn area(&self) -> Float
fn sample(&self, _u: &Point2f, _pdf: &mut Float) -> InteractionCommon
[src]
fn sample(&self, _u: &Point2f, _pdf: &mut Float) -> InteractionCommon
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
[src]
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
[src]
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
fn pdf(&self, _iref: &InteractionCommon) -> Float
[src]
fn pdf(&self, _iref: &InteractionCommon) -> Float
impl Shape for Cylinder
[src]
impl Shape for Cylinder
fn object_bound(&self) -> Bounds3f
[src]
fn object_bound(&self) -> Bounds3f
fn world_bound(&self) -> Bounds3f
[src]
fn world_bound(&self) -> Bounds3f
fn intersect(&self, r: &Ray) -> Option<(SurfaceInteraction, Float)>
[src]
fn intersect(&self, r: &Ray) -> Option<(SurfaceInteraction, Float)>
fn intersect_p(&self, r: &Ray) -> bool
[src]
fn intersect_p(&self, r: &Ray) -> bool
fn get_reverse_orientation(&self) -> bool
[src]
fn get_reverse_orientation(&self) -> bool
fn get_transform_swaps_handedness(&self) -> bool
[src]
fn get_transform_swaps_handedness(&self) -> bool
fn area(&self) -> Float
[src]
fn area(&self) -> Float
fn sample(&self, u: &Point2f, pdf: &mut Float) -> InteractionCommon
[src]
fn sample(&self, u: &Point2f, pdf: &mut Float) -> InteractionCommon
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
[src]
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
[src]
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
fn pdf(&self, _iref: &InteractionCommon) -> Float
[src]
fn pdf(&self, _iref: &InteractionCommon) -> Float
impl Shape for Disk
[src]
impl Shape for Disk
fn object_bound(&self) -> Bounds3f
[src]
fn object_bound(&self) -> Bounds3f
fn world_bound(&self) -> Bounds3f
[src]
fn world_bound(&self) -> Bounds3f
fn intersect(&self, r: &Ray) -> Option<(SurfaceInteraction, Float)>
[src]
fn intersect(&self, r: &Ray) -> Option<(SurfaceInteraction, Float)>
fn intersect_p(&self, r: &Ray) -> bool
[src]
fn intersect_p(&self, r: &Ray) -> bool
fn get_reverse_orientation(&self) -> bool
[src]
fn get_reverse_orientation(&self) -> bool
fn get_transform_swaps_handedness(&self) -> bool
[src]
fn get_transform_swaps_handedness(&self) -> bool
fn area(&self) -> Float
[src]
fn area(&self) -> Float
fn sample(&self, u: &Point2f, pdf: &mut Float) -> InteractionCommon
[src]
fn sample(&self, u: &Point2f, pdf: &mut Float) -> InteractionCommon
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
[src]
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
[src]
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
fn pdf(&self, _iref: &InteractionCommon) -> Float
[src]
fn pdf(&self, _iref: &InteractionCommon) -> Float
impl Shape for Sphere
[src]
impl Shape for Sphere
fn object_bound(&self) -> Bounds3f
[src]
fn object_bound(&self) -> Bounds3f
fn world_bound(&self) -> Bounds3f
[src]
fn world_bound(&self) -> Bounds3f
fn intersect(&self, r: &Ray) -> Option<(SurfaceInteraction, Float)>
[src]
fn intersect(&self, r: &Ray) -> Option<(SurfaceInteraction, Float)>
fn intersect_p(&self, r: &Ray) -> bool
[src]
fn intersect_p(&self, r: &Ray) -> bool
fn get_reverse_orientation(&self) -> bool
[src]
fn get_reverse_orientation(&self) -> bool
fn get_transform_swaps_handedness(&self) -> bool
[src]
fn get_transform_swaps_handedness(&self) -> bool
fn area(&self) -> Float
[src]
fn area(&self) -> Float
fn sample(&self, u: &Point2f, pdf: &mut Float) -> InteractionCommon
[src]
fn sample(&self, u: &Point2f, pdf: &mut Float) -> InteractionCommon
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
[src]
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
[src]
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
fn pdf(&self, _iref: &InteractionCommon) -> Float
[src]
fn pdf(&self, _iref: &InteractionCommon) -> Float
impl Shape for Triangle
[src]
impl Shape for Triangle
fn object_bound(&self) -> Bounds3f
[src]
fn object_bound(&self) -> Bounds3f
fn world_bound(&self) -> Bounds3f
[src]
fn world_bound(&self) -> Bounds3f
fn intersect(&self, ray: &Ray) -> Option<(SurfaceInteraction, Float)>
[src]
fn intersect(&self, ray: &Ray) -> Option<(SurfaceInteraction, Float)>
fn intersect_p(&self, ray: &Ray) -> bool
[src]
fn intersect_p(&self, ray: &Ray) -> bool
fn get_reverse_orientation(&self) -> bool
[src]
fn get_reverse_orientation(&self) -> bool
fn get_transform_swaps_handedness(&self) -> bool
[src]
fn get_transform_swaps_handedness(&self) -> bool
fn area(&self) -> Float
[src]
fn area(&self) -> Float
fn sample(&self, u: &Point2f, pdf: &mut Float) -> InteractionCommon
[src]
fn sample(&self, u: &Point2f, pdf: &mut Float) -> InteractionCommon
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
[src]
fn sample_with_ref_point(
&self,
iref: &InteractionCommon,
u: &Point2f,
pdf: &mut Float
) -> InteractionCommon
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
[src]
fn pdf_with_ref_point(&self, iref: &dyn Interaction, wi: &Vector3f) -> Float
fn pdf(&self, _iref: &InteractionCommon) -> Float
[src]
fn pdf(&self, _iref: &InteractionCommon) -> Float