Virtual PhotonicsThe CustomRectangularSource type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CustomRectangularSource |
Returns an instance of Custom Rectangular Source with specified length and width, source profile (Flat/Gaussian),
polar and azimuthal angle range, translation, inward normal rotation, and source axis rotation
|
Methods
Name | Description | |
---|---|---|
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.) | |
GetFinalDirection |
Returns direction for a given position
(Overrides RectangularSourceBase GetFinalDirection(Position).) | |
GetFinalPosition |
returns final position
(Inherited from RectangularSourceBase.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetNextPhoton |
Implements Get next photon
(Inherited from RectangularSourceBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
_beamRotationFromInwardNormal |
Beam rotation from inward normal
(Inherited from RectangularSourceBase.) | |
_initialTissueRegionIndex |
Initial tissue region index
(Inherited from RectangularSourceBase.) | |
_newDirectionOfPrincipalSourceAxis |
New source axis direction
(Inherited from RectangularSourceBase.) | |
_rectLengthX |
The length of the Rectangular Source
(Inherited from RectangularSourceBase.) | |
_rectWidthY |
The width of the Rectangular Source
(Inherited from RectangularSourceBase.) | |
_rotationAndTranslationFlags |
Source rotation and translation flags
(Inherited from RectangularSourceBase.) | |
_sourceProfile |
Source profile type
(Inherited from RectangularSourceBase.) | |
_translationFromOrigin |
New source location
(Inherited from RectangularSourceBase.) |
Properties
Name | Description | |
---|---|---|
Rng |
The random number generator used to create photons. If not assigned externally,
a Mersenne Twister (MathNet.Numerics.Random.MersenneTwister) will be created with
a seed of zero.
(Inherited from RectangularSourceBase.) |
See Also