Class DRRCalculationParameters
Parameters for DRR calculation.
Inheritance
Inherited Members
Namespace: VMS.TPS.Common.Model.Types
Assembly: VMS.TPS.Common.Model.Types.dll
Syntax
public class DRRCalculationParameters
Constructors
DRRCalculationParameters()
Creates a new set of DRR calculation parameters with default values.
Declaration
public DRRCalculationParameters()
DRRCalculationParameters(Double)
Creates a new set of DRR calculation parameters with a specified DRR size.
Declaration
public DRRCalculationParameters(double drrSize)
Parameters
Type | Name | Description |
---|---|---|
System.Double | drrSize | DRR size in mm. |
DRRCalculationParameters(Double, Double, Double, Double)
Creates a new set of DRR calculation parameters.
Declaration
public DRRCalculationParameters(double drrSize, double weight, double ctFrom, double ctTo)
Parameters
Type | Name | Description |
---|---|---|
System.Double | drrSize | DRR size in mm. Value must be between 5 and 5120 mm. |
System.Double | weight | DRR layer weight. Value must be between -100.0 and 100.0. |
System.Double | ctFrom | Lower end of the CT window. Value must be between -1024.0 and 6000.0. |
System.Double | ctTo | Upper end of the CT window. Value must be between -1024.0 and 6000.0. |
DRRCalculationParameters(Double, Double, Double, Double, Double, Double)
Creates a new set of DRR calculation parameters.
Declaration
public DRRCalculationParameters(double drrSize, double weight, double ctFrom, double ctTo, double geoFrom, double geoTo)
Parameters
Type | Name | Description |
---|---|---|
System.Double | drrSize | DRR size in mm. Value must be between 5 and 5120 mm. |
System.Double | weight | DRR layer weight. Value must be between -100.0 and 100.0. |
System.Double | ctFrom | Lower end of the CT window. Value must be between -1024.0 and 6000.0. |
System.Double | ctTo | Upper end of the CT window. Value must be between -1024.0 and 6000.0. |
System.Double | geoFrom | Starting distance from the isocenter. Value must be between -10000 and 10000 mm. |
System.Double | geoTo | Ending distance from the isocenter. Value must be between -10000 and 10000 mm. |
Properties
DRRSize
DRR size. Decreasing the size of the DRR effectively increases the resolution of the DRR. Value must be between 5 and 5120 mm.
Declaration
public double DRRSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
FieldOutlines
Defines if field outlines (MLC, CIAO etc.) are added as layers in the DRR.
Declaration
public bool FieldOutlines { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
StructureOutlines
Defines if structure outlines are added as layers in the DRR.
Declaration
public bool StructureOutlines { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetLayerParameters(Int32)
Gets a single layer of editable DRR calculation parameters.
Declaration
public SingleLayerParameters GetLayerParameters(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Layer index. Value must be between 0 and 2. |
Returns
Type | Description |
---|---|
SingleLayerParameters | Layer of parameters. |
SetLayerParameters(Int32, Double, Double, Double)
Sets parameters for
SingleLayerParameters
.
Declaration
public void SetLayerParameters(int index, double weight, double ctFrom, double ctTo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Layer index. |
System.Double | weight | DRR layer weight. Value must be between -100.0 and 100.0. |
System.Double | ctFrom | Lower end of the CT window. Value must be between -1024.0 and 6000.0. |
System.Double | ctTo | Upper end of the CT window. Value must be between -1024.0 and 6000.0. |
SetLayerParameters(Int32, Double, Double, Double, Double, Double)
Sets parameters for
SingleLayerParameters
.
Declaration
public void SetLayerParameters(int index, double weight, double ctFrom, double ctTo, double geoFrom, double geoTo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Layer index. |
System.Double | weight | DRR layer weight. Value must be between -100.0 and 100.0. |
System.Double | ctFrom | Lower end of the CT window. Value must be between -1024.0 and 6000.0. |
System.Double | ctTo | Upper end of the CT window. Value must be between -1024.0 and 6000.0. |
System.Double | geoFrom | Starting distance from the isocenter. Value must be between -10000 and 10000 mm. |
System.Double | geoTo | Ending distance from the isocenter. Value must be between -10000 and 10000 mm. |