[−][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 BVHAccelfn world_bound(&self) -> Bounds3f[src]
fn world_bound(&self) -> Bounds3ffn 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) -> boolfn 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 GeometricPrimitivefn world_bound(&self) -> Bounds3f[src]
fn world_bound(&self) -> Bounds3ffn 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) -> boolfn 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 TransformedPrimitivefn world_bound(&self) -> Bounds3f[src]
fn world_bound(&self) -> Bounds3ffn 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) -> boolfn 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
)