lux::BasicColorPhoton Class Reference

#include <photonmap.h>

Inheritance diagram for lux::BasicColorPhoton:
[legend]
Collaboration diagram for lux::BasicColorPhoton:
[legend]

List of all members.

Public Member Functions

 BasicColorPhoton (const TsPack *tspack, const Point &pp, const SWCSpectrum &wt)
 BasicColorPhoton ()
virtual ~BasicColorPhoton ()
SWCSpectrum GetSWCSpectrum (const TsPack *tspack, u_int nb) const
virtual void save (bool isLittleEndian, std::basic_ostream< char > &stream) const
virtual void load (bool isLittleEndian, std::basic_istream< char > &stream)

Public Attributes

SWCSpectrum alpha
float w [WAVELENGTH_SAMPLES]

Detailed Description

Definition at line 60 of file core/photonmap.h.


Constructor & Destructor Documentation

lux::BasicColorPhoton::BasicColorPhoton ( const TsPack tspack,
const Point pp,
const SWCSpectrum wt 
) [inline]
lux::BasicColorPhoton::BasicColorPhoton (  )  [inline]

Definition at line 74 of file core/photonmap.h.

virtual lux::BasicColorPhoton::~BasicColorPhoton (  )  [inline, virtual]

Definition at line 75 of file core/photonmap.h.


Member Function Documentation

SWCSpectrum lux::BasicColorPhoton::GetSWCSpectrum ( const TsPack tspack,
u_int  nb 
) const
void lux::BasicColorPhoton::load ( bool  isLittleEndian,
std::basic_istream< char > &  stream 
) [virtual]
void lux::BasicColorPhoton::save ( bool  isLittleEndian,
std::basic_ostream< char > &  stream 
) const [virtual]

Member Data Documentation

Definition at line 82 of file core/photonmap.h.

Referenced by BasicColorPhoton(), GetSWCSpectrum(), load(), and save().

float lux::BasicColorPhoton::w[WAVELENGTH_SAMPLES]

Definition at line 83 of file core/photonmap.h.

Referenced by BasicColorPhoton(), GetSWCSpectrum(), lux::LightPhoton::load(), load(), and save().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208