World::PointLight Class Reference

#include <Light.hh>

Inheritance diagram for World::PointLight:

Inheritance graph
[legend]
Collaboration diagram for World::PointLight:

Collaboration graph
[legend]

List of all members.


Detailed Description

Scene point light.

Definition at line 56 of file Light.hh.


Public Member Functions

 PointLight (const Math::Vector &Position, const Color &C=ColLib::White())
const Math::VectorGetPosition () const

Protected Member Functions

virtual std::string Dump () const

Protected Attributes

const Math::Vector Position

Constructor & Destructor Documentation

World::PointLight::PointLight ( const Math::Vector Position,
const Color C = ColLib::White() 
) [inline]

Construct point light

Definition at line 64 of file Light.hh.


Member Function Documentation

std::string World::PointLight::Dump (  )  const [protected, virtual]

Debug function

Implements World::Light.

Definition at line 29 of file Light.cc.

References World::Light::C, and Position.

const Math::Vector& World::PointLight::GetPosition (  )  const [inline]

Position accessor

Definition at line 71 of file Light.hh.

Referenced by Render::Raytracer::TraceLights().

Here is the caller graph for this function:


Member Data Documentation

Point light position

Definition at line 59 of file Light.hh.

Referenced by Dump().


The documentation for this class was generated from the following files:

Generated on Wed Mar 12 00:36:22 2008 for blaRAY by  doxygen 1.5.5