Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Returns an instance of Custom Cuboidal Source with a given source profile (Flat/Gaussian),
polar and azimuthal angle range, new source axis direction, and translation.
Namespace: Vts.MonteCarlo.SourcesAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
public CustomVolumetricCuboidalSource( double cubeLengthX, double cubeWidthY, double cubeHeightZ, ISourceProfile sourceProfile, DoubleRange polarAngleEmissionRange, DoubleRange azimuthalAngleEmissionRange, Direction newDirectionOfPrincipalSourceAxis = null, Position translationFromOrigin = null, int initialTissueRegionIndex = 0 )
Parameters
- cubeLengthX
- Type:
System Double
The length of the cuboid
- cubeWidthY
- Type:
System Double
The width of the cuboid
- cubeHeightZ
- Type:
System Double
The height of the cuboid
- sourceProfile
- Type: Vts.MonteCarlo.Interfaces ISourceProfile
Source Profile {Flat / Gaussian}
- polarAngleEmissionRange
- Type: Vts.Common DoubleRange
Polar angle emission range
- azimuthalAngleEmissionRange
- Type: Vts.Common DoubleRange
Azimuthal angle emission range
- newDirectionOfPrincipalSourceAxis (Optional)
- Type: Vts.Common Direction
New source axis direction
- translationFromOrigin (Optional)
- Type: Vts.Common Position
New source location
- initialTissueRegionIndex (Optional)
- Type:
System Int32
Initial tissue region index
See Also