VPPhotonStateType EnumerationVirtual Photonics - VTS Library
Virtual Photonics
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.MonteCarlo
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

[FlagsAttribute]
public enum PhotonStateType
Members

  Member nameValueDescription
None0 no bits set
Alive1 photon alive
ExitedDomain2 photon exited domain
Absorbed4 photon was absorbed, used only in analog random walk process
KilledOverMaximumPathLength8 photon killed because path length too long
KilledOverMaximumCollisions16 photon killed because number of collisions over maximum
KilledRussianRoulette32 photon killed by Russian Roulette
PseudoReflectedTissueBoundary64 photon pseudo-collision at reflected tissue boundary
PseudoTransmittedTissueBoundary128 photon pseudo-collision at transmitted tissue boundary
PseudoSpecularTissueBoundary256 photon pseudo-collision at specular tissue boundary
PseudoDiffuseReflectanceVirtualBoundary65536 photon pseudo-collision at DiffuseReflectance Virtual Boundary (VB)
PseudoDiffuseTransmittanceVirtualBoundary131072 photon pseudo-collision at DiffuseTransmittance Virtual Boundary (VB)
PseudoSpecularReflectanceVirtualBoundary262144 photon pseudo-collision at SpecularReflectance Virtual Boundary (VB)
PseudoGenericVolumeVirtualBoundary524288 photon pseudo-collision at Generic Volume Virtual Boundary (VB)
PseudoSurfaceRadianceVirtualBoundary1048576 photon pseudo-collision at SurfaceRadiance Virtual Boundary (VB)
See Also