lux::LightPhoton Class Reference

#include <photonmap.h>

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

List of all members.

Public Member Functions

 LightPhoton (const TsPack *tspack, const Point &pp, const SWCSpectrum &wt, const Vector &wi_)
 LightPhoton ()
virtual ~LightPhoton ()
virtual void save (bool isLittleEndian, std::basic_ostream< char > &stream) const
virtual void load (bool isLittleEndian, std::basic_istream< char > &stream)

Public Attributes

Vector wi

Detailed Description

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


Constructor & Destructor Documentation

lux::LightPhoton::LightPhoton ( const TsPack tspack,
const Point pp,
const SWCSpectrum wt,
const Vector wi_ 
) [inline]

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

lux::LightPhoton::LightPhoton (  )  [inline]

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

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

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


Member Function Documentation

void lux::LightPhoton::load ( bool  isLittleEndian,
std::basic_istream< char > &  stream 
) [virtual]

Reimplemented from lux::BasicColorPhoton.

Definition at line 103 of file core/photonmap.cpp.

References lux::osReadLittleEndianFloat(), and lux::BasicColorPhoton::w.

void lux::LightPhoton::save ( bool  isLittleEndian,
std::basic_ostream< char > &  stream 
) const [virtual]

Reimplemented from lux::BasicColorPhoton.

Definition at line 93 of file core/photonmap.cpp.

References lux::osWriteLittleEndianFloat(), and wi.


Member Data Documentation

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

Referenced by lux::LightPhotonMap::LPhoton(), and save().


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