Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

toxic::ISurfaceShader Class Reference

#include <isurfaceshader.h>

Inheritance diagram for toxic::ISurfaceShader:

sheep::IClonable< ISurfaceShader > toxic::BasicSurfaceShader List of all members.

Public Member Functions

 ISurfaceShader (const IEDF *edf, const Color3 &radiant_exitance)
virtual ~ISurfaceShader ()
const IEDFGetEDF () const
const Color3GetRadiantExitance () const
virtual void Shade (const Hit &hit, ShadingData *shadingdata) const=0

Protected Attributes

const IEDFm_edf
 Emittance Distribution Function, expressed in sr^-1.

const Color3 m_radiant_exitance
 Radiant exitance, expressed in W.m^-2.


Constructor & Destructor Documentation

ISurfaceShader::ISurfaceShader const IEDF edf,
const Color3 radiant_exitance
 

Definition at line 27 of file isurfaceshader.cpp.

virtual toxic::ISurfaceShader::~ISurfaceShader  )  [inline, virtual]
 

Definition at line 51 of file isurfaceshader.h.


Member Function Documentation

const IEDF * ISurfaceShader::GetEDF  )  const [inline]
 

Definition at line 90 of file isurfaceshader.h.

Referenced by toxic::Sphere::ComputeIrradiance(), toxic::IAreaLight::ComputeIrradiance(), toxic::IAreaLight::GeneratePhotonRay(), toxic::SceneBuilder::object_builder(), toxic::SceneBuilder::surface_shader_builder(), and toxic::Renderer::trace().

const Color3 & ISurfaceShader::GetRadiantExitance  )  const [inline]
 

Definition at line 95 of file isurfaceshader.h.

Referenced by toxic::Sphere::ComputeIrradiance(), toxic::IAreaLight::ComputeIrradiance(), toxic::IAreaLight::Finalize(), toxic::SceneBuilder::object_builder(), toxic::SceneBuilder::surface_shader_builder(), and toxic::Renderer::trace().

virtual void toxic::ISurfaceShader::Shade const Hit hit,
ShadingData shadingdata
const [pure virtual]
 

Implemented in toxic::BasicSurfaceShader.

Referenced by toxic::Renderer::final_gathering(), toxic::Renderer::trace(), toxic::GlobalPhotonTracer::trace_photon(), and toxic::CausticsPhotonTracer::trace_photon().


Member Data Documentation

const IEDF* toxic::ISurfaceShader::m_edf [protected]
 

Emittance Distribution Function, expressed in sr^-1.

Definition at line 63 of file isurfaceshader.h.

const Color3 toxic::ISurfaceShader::m_radiant_exitance [protected]
 

Radiant exitance, expressed in W.m^-2.

Definition at line 64 of file isurfaceshader.h.


The documentation for this class was generated from the following files:
Generated on Tue May 11 01:31:57 2004 for toxic by doxygen 1.3.6