[−][src]Trait pbrt::core::primitive::Primitive
Required Methods
fn world_bound(&self) -> Bounds3f
fn intersect(&self, ray: &mut Ray) -> Option<SurfaceInteraction>
fn intersect_p(&self, r: &Ray) -> bool
fn get_area_light(&self) -> Option<Arc<dyn AreaLight + Send + Sync>>
fn get_material(&self) -> Option<Arc<dyn Material + Send + Sync>>
Provided Methods
fn compute_scattering_functions(
&self,
isect: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool
)
&self,
isect: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool
)
Implementors
impl Primitive for BVHAccel
[src]
impl Primitive for BVHAccel
fn world_bound(&self) -> Bounds3f
[src]
fn world_bound(&self) -> Bounds3f
fn intersect(&self, ray: &mut Ray) -> Option<SurfaceInteraction>
[src]
fn intersect(&self, ray: &mut Ray) -> Option<SurfaceInteraction>
fn intersect_p(&self, ray: &Ray) -> bool
[src]
fn intersect_p(&self, ray: &Ray) -> bool
fn get_material(&self) -> Option<Arc<dyn Material + Send + Sync>>
[src]
fn get_material(&self) -> Option<Arc<dyn Material + Send + Sync>>
fn get_area_light(&self) -> Option<Arc<dyn AreaLight + Send + Sync>>
[src]
fn get_area_light(&self) -> Option<Arc<dyn AreaLight + Send + Sync>>
fn compute_scattering_functions(
&self,
isect: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool
)
[src]
fn compute_scattering_functions(
&self,
isect: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool
)
impl Primitive for GeometricPrimitive
[src]
impl Primitive for GeometricPrimitive
fn world_bound(&self) -> Bounds3f
[src]
fn world_bound(&self) -> Bounds3f
fn intersect(&self, ray: &mut Ray) -> Option<SurfaceInteraction>
[src]
fn intersect(&self, ray: &mut Ray) -> Option<SurfaceInteraction>
fn intersect_p(&self, r: &Ray) -> bool
[src]
fn intersect_p(&self, r: &Ray) -> bool
fn get_material(&self) -> Option<Arc<dyn Material + Send + Sync>>
[src]
fn get_material(&self) -> Option<Arc<dyn Material + Send + Sync>>
fn get_area_light(&self) -> Option<Arc<dyn AreaLight + Send + Sync>>
[src]
fn get_area_light(&self) -> Option<Arc<dyn AreaLight + Send + Sync>>
fn compute_scattering_functions(
&self,
isect: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool
)
[src]
fn compute_scattering_functions(
&self,
isect: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool
)
impl Primitive for TransformedPrimitive
[src]
impl Primitive for TransformedPrimitive
fn world_bound(&self) -> Bounds3f
[src]
fn world_bound(&self) -> Bounds3f
fn intersect(&self, r: &mut Ray) -> Option<SurfaceInteraction>
[src]
fn intersect(&self, r: &mut Ray) -> Option<SurfaceInteraction>
fn intersect_p(&self, r: &Ray) -> bool
[src]
fn intersect_p(&self, r: &Ray) -> bool
fn get_material(&self) -> Option<Arc<dyn Material + Send + Sync>>
[src]
fn get_material(&self) -> Option<Arc<dyn Material + Send + Sync>>
fn get_area_light(&self) -> Option<Arc<dyn AreaLight + Send + Sync>>
[src]
fn get_area_light(&self) -> Option<Arc<dyn AreaLight + Send + Sync>>
fn compute_scattering_functions(
&self,
isect: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool
)
[src]
fn compute_scattering_functions(
&self,
isect: &mut SurfaceInteraction,
mode: TransportMode,
allow_multiple_lobes: bool
)