Struct arendur::component::transformed::TransformedComposable [] [src]

pub struct TransformedComposable<T> { /* fields omitted */ }

Component transformed from another component

Methods

impl<T> TransformedComposable<T>
[src]

Trait Implementations

impl<T: Clone> Clone for TransformedComposable<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for TransformedComposable<T>
[src]

Formats the value using the given formatter.

impl<T: Composable> Composable for TransformedComposable<T>
[src]

returns bounding box in parent frame.

test for intersection. Note that its guarantees are from Shape's: - ray is specified in parent frame, - if hit, returns surface interaction data in parent frame. - if hit, ray's tmax would be updated to the hitting t. Read more

test if an intersection can occur. Might be more efficient

impl<T: Primitive> Composable for TransformedComposable<T>
[src]

test for intersection. Note that its guarantees are from Shape's: - ray is specified in parent frame, - if hit, returns surface interaction data in parent frame. - if hit, ray's tmax would be updated to the hitting t. Read more

returns bounding box in parent frame.

test if an intersection can occur. Might be more efficient

impl<T: Primitive> Primitive for TransformedComposable<T>
[src]

return if the primitive can emit lights

return the material associated with this primitive

impl<T: Primitive> Light for TransformedComposable<T>
[src]

return the flags of the light

Given a position and an incoming direction in local coordinates, evaluate the light's radiance along that direction. This method takes an RayDifferential because some light implementations might found thouse differentials helpful. Read more

Given a position on surface and an direction in local coordinates, evaluate the light's emitted radiance along that direction. Read more

Given a pos in local frame with a uniform sample in $[0, 1)$, sample an incoming direction from the light to that location, returns the sampling result in a LightSample. Read more

Generate a photon path from the light source based on the sample info

Given position and direction of a photon path, and the light's normal return its pdfs as (pdfpos, pdfdir) Read more

Given a position and lighting ray wi of an interaction, return the pdf of it Read more

returns an estimation of total power of this light

preporcess with scene components, if necessary. renderers should respect this requirement. Read more

test if the light has delta distribution

impl<T: Composable> Composable for TransformedComposable<Arc<T>>
[src]

returns bounding box in parent frame.

test for intersection. Note that its guarantees are from Shape's: - ray is specified in parent frame, - if hit, returns surface interaction data in parent frame. - if hit, ray's tmax would be updated to the hitting t. Read more

test if an intersection can occur. Might be more efficient

impl<T: Primitive> Composable for TransformedComposable<Arc<T>>
[src]

test for intersection. Note that its guarantees are from Shape's: - ray is specified in parent frame, - if hit, returns surface interaction data in parent frame. - if hit, ray's tmax would be updated to the hitting t. Read more

returns bounding box in parent frame.

test if an intersection can occur. Might be more efficient

impl<T: Primitive> Primitive for TransformedComposable<Arc<T>>
[src]

return if the primitive can emit lights

return the material associated with this primitive

impl<T: Primitive> Light for TransformedComposable<Arc<T>>
[src]

return the flags of the light

Given a position and an incoming direction in local coordinates, evaluate the light's radiance along that direction. This method takes an RayDifferential because some light implementations might found thouse differentials helpful. Read more

Given a position on surface and an direction in local coordinates, evaluate the light's emitted radiance along that direction. Read more

Given a pos in local frame with a uniform sample in $[0, 1)$, sample an incoming direction from the light to that location, returns the sampling result in a LightSample. Read more

Generate a photon path from the light source based on the sample info

Given position and direction of a photon path, and the light's normal return its pdfs as (pdfpos, pdfdir) Read more

Given a position and lighting ray wi of an interaction, return the pdf of it Read more

returns an estimation of total power of this light

test if the light has delta distribution

preporcess with scene components, if necessary. renderers should respect this requirement. Read more

impl Composable for TransformedComposable<Arc<Composable>>
[src]

returns bounding box in parent frame.

test for intersection. Note that its guarantees are from Shape's: - ray is specified in parent frame, - if hit, returns surface interaction data in parent frame. - if hit, ray's tmax would be updated to the hitting t. Read more

test if an intersection can occur. Might be more efficient

impl Composable for TransformedComposable<Arc<Primitive>>
[src]

returns bounding box in parent frame.

test for intersection. Note that its guarantees are from Shape's: - ray is specified in parent frame, - if hit, returns surface interaction data in parent frame. - if hit, ray's tmax would be updated to the hitting t. Read more

test if an intersection can occur. Might be more efficient

impl Primitive for TransformedComposable<Arc<Primitive>>
[src]

return if the primitive can emit lights

return the material associated with this primitive

impl Light for TransformedComposable<Arc<Primitive>>
[src]

return the flags of the light

Given a position and an incoming direction in local coordinates, evaluate the light's radiance along that direction. This method takes an RayDifferential because some light implementations might found thouse differentials helpful. Read more

Given a position on surface and an direction in local coordinates, evaluate the light's emitted radiance along that direction. Read more

Given a pos in local frame with a uniform sample in $[0, 1)$, sample an incoming direction from the light to that location, returns the sampling result in a LightSample. Read more

Generate a photon path from the light source based on the sample info

Given position and direction of a photon path, and the light's normal return its pdfs as (pdfpos, pdfdir) Read more

Given a position and lighting ray wi of an interaction, return the pdf of it Read more

returns an estimation of total power of this light

test if the light has delta distribution

preporcess with scene components, if necessary. renderers should respect this requirement. Read more