#include <photonmap.h>
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 |
Definition at line 86 of file core/photonmap.h.
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.
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.
Definition at line 98 of file core/photonmap.h.
Referenced by lux::LightPhotonMap::LPhoton(), and save().