#include <PhotonPacket.hpp>
|
bool | dipole |
|
int | species |
|
bool | valid |
|
Vec | velocity |
|
This class defines the scattering information record maintained by a photon packet for each medium component that needs it. The following data members have public scope so that they can be directly accessed by client code:
- valid: boolean flag, initially false; should be set to true once this record holds valid values.
- dipole: boolean flag, initially false, indicating the selected scattering phase function: true means dipole, false means isotropic.
- species: integer identifier of the scattering particle species, initially zero
- velocity: velocity vector of the scattering particle in the local frame, initially the null vector.
Apart from initialization by the getScatteringInfo() function as indicated above, the client code is fully responsible for writing and reading these fields.
The documentation for this class was generated from the following file: