#include <Photon.h>
Public Member Functions | |
Photon () | |
Photon (const Vector3 &pos, const Vector3 &dir, const Vector3 &pow) | |
Photon (const Photon &src) | |
Photon & | operator= (const Photon &) |
virtual | ~Photon () |
Vector3 | getDirection () const |
Vector3 | getLocation () const |
Vector3 | getPower () const |
void | setLocation (const Vector3 &loc) |
Protected Attributes | |
float | _position [3] |
Vector3 | _power |
unsigned char | _phi |
azimuth angle with respect to Z coord !!! | |
unsigned char | _theta |
elevation angle with respect to Z coord !!! | |
short | _plane |
Static Protected Attributes | |
static const double | COS_THETA [256] |
static const double | SIN_THETA [256] |
static const double | COS_PHI [256] |
static const double | SIN_PHI [256] |
Friends | |
class | PhotonMap |
ostream & | operator<< (ostream &out, const Photon &photon) |
Definition at line 14 of file Photon.h.
|
Implicit constructor sets all values to zero Definition at line 194 of file Photon.cc. References Photon::_phi, Photon::_plane, Photon::_position, Photon::_power, and Photon::_theta. |
|
Constructor.
Definition at line 205 of file Photon.cc. References Photon::_phi, Photon::_plane, Photon::_position, Photon::_power, Photon::_theta, and M_PI. |
|
Cloning constructor
Definition at line 223 of file Photon.cc. References Photon::_phi, Photon::_plane, Photon::_position, Photon::_power, and Photon::_theta. |
|
|
|
Definition at line 58 of file Photon.h. References Photon::_phi, Photon::_theta, Photon::COS_PHI, Photon::COS_THETA, Photon::SIN_PHI, and Photon::SIN_THETA. |
|
Definition at line 68 of file Photon.h. References Photon::_position. |
|
Definition at line 75 of file Photon.h. References Photon::_power. |
|
Definition at line 234 of file Photon.cc. References Photon::_phi, Photon::_plane, Photon::_position, Photon::_power, and Photon::_theta. |
|
Sets nre location.
Definition at line 82 of file Photon.h. References Photon::_position. |
|
|
|
|
|
azimuth angle with respect to Z coord !!!
Definition at line 25 of file Photon.h. Referenced by Photon::getDirection(), Photon::operator=(), and Photon::Photon(). |
|
Definition at line 27 of file Photon.h. Referenced by PhotonMap::_balance_segment(), PhotonMap::_locate_photons(), Photon::operator=(), and Photon::Photon(). |
|
Definition at line 23 of file Photon.h. Referenced by PhotonMap::_balance_segment(), PhotonMap::_locate_photons(), PhotonMap::_median_split(), Photon::getLocation(), Photon::operator=(), Photon::Photon(), and Photon::setLocation(). |
|
Definition at line 24 of file Photon.h. Referenced by Photon::getPower(), Photon::operator=(), and Photon::Photon(). |
|
elevation angle with respect to Z coord !!!
Definition at line 26 of file Photon.h. Referenced by Photon::getDirection(), Photon::operator=(), and Photon::Photon(). |
|
Definition at line 20 of file Photon.h. Referenced by Photon::getDirection(). |
|
Definition at line 18 of file Photon.h. Referenced by Photon::getDirection(). |
|
Definition at line 21 of file Photon.h. Referenced by Photon::getDirection(). |
|
Definition at line 19 of file Photon.h. Referenced by Photon::getDirection(). |