Virtual PhotonicsThe Photon type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
Photon |
default constructor for Photon
| |
Photon(Position, Direction, ITissue, Int32, Random) |
Class that keeps a photon's data as it moves through the tissue
|
Methods
Name | Description | |
---|---|---|
AbsorbAnalog |
Method to check for absorption according to analog random walk process
| |
AbsorbContinuous |
Method to deweight for absorption according to continuous absorption weighting (CAW)
random walk process
| |
AbsorbDiscrete |
Method to deweight for absorption according to discrete absorption weighting (DAW)
random walk process
| |
CrossRegionOrReflect |
Method that determines whether photon reflects or refracts across interface. When this
method is called photon is sitting on boundary of region and CurrentRegionIndex is Index
of region photon had been in.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Move |
method to move the photon to its next location
| |
Scatter1D |
Method to scatter bidirectionally
| |
ScatterHenyeyGreenstein |
Method to scatter according to Henyey-Greenstein scatter function
| |
SetStepSize |
method that determines photon's step size based on the RegionScatterLength (1/mus or 1/mut depending on CAW or DAW)
| |
TestDeath |
Method to test for death of the photon
| |
TestWeightAndDistance |
Method that kills photon due to Russian Roulette, maximum path length, etc.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
ToUnmanagedPhoton | (Defined by UnmanagedPhotonExtension.) |
Properties
Name | Description | |
---|---|---|
Absorb |
absorb action: analog, discrete, continuous
| |
CurrentRegionIndex |
tissue region index where photon current is
| |
CurrentTrackIndex |
index of current track of photon
| |
DP |
photon data point has position, direction etc. info
| |
History |
PhotonHistory has list of PhotonDataPoints and SubRegionCollisionInfo
| |
S |
path length of current track, gets updated when passing tissue boundary
| |
Scatter |
scatter action: Henyey-Greenstein, bidirectional, Mie
| |
SLeft |
path length left after crossing tissue boundary
|
See Also