Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
PhotonStateType is a bitmap of Photon.StateFlag. Combinations of bits indicate
the current state of the photon. These states communicate what to do with the photon.
ref: http://www.codeproject.com/Articles/37921/Enums-Flags-and-Csharp-Oh-my-bad-pun.aspx
or http://stackoverflow.com/questions/93744/most-common-c-bitwise-operations
Namespace: Vts.MonteCarloAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
None | 0 | no bits set | |
Alive | 1 | photon alive | |
ExitedDomain | 2 | photon exited domain | |
Absorbed | 4 | photon was absorbed, used only in analog random walk process | |
KilledOverMaximumPathLength | 8 | photon killed because path length too long | |
KilledOverMaximumCollisions | 16 | photon killed because number of collisions over maximum | |
KilledRussianRoulette | 32 | photon killed by Russian Roulette | |
PseudoReflectedTissueBoundary | 64 | photon pseudo-collision at reflected tissue boundary | |
PseudoTransmittedTissueBoundary | 128 | photon pseudo-collision at transmitted tissue boundary | |
PseudoSpecularTissueBoundary | 256 | photon pseudo-collision at specular tissue boundary | |
PseudoDiffuseReflectanceVirtualBoundary | 65536 | photon pseudo-collision at DiffuseReflectance Virtual Boundary (VB) | |
PseudoDiffuseTransmittanceVirtualBoundary | 131072 | photon pseudo-collision at DiffuseTransmittance Virtual Boundary (VB) | |
PseudoSpecularReflectanceVirtualBoundary | 262144 | photon pseudo-collision at SpecularReflectance Virtual Boundary (VB) | |
PseudoGenericVolumeVirtualBoundary | 524288 | photon pseudo-collision at Generic Volume Virtual Boundary (VB) | |
PseudoSurfaceRadianceVirtualBoundary | 1048576 | photon pseudo-collision at SurfaceRadiance Virtual Boundary (VB) |
See Also