View Source
Class RTDose
Inheritance
System.Object
RTDose
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:EvilDICOM.RT
Assembly:EvilDICOM.dll
Syntax
Constructors
View Source
RTDose(DICOMObject)
Declaration
public RTDose(DICOMObject dcm)
Parameters
Properties
View Source
DimensionX
Declaration
public int DimensionX { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
View Source
DimensionY
Declaration
public int DimensionY { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
View Source
DimensionZ
Declaration
public int DimensionZ { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
View Source
DirectionalCosines
Declaration
public double[] DirectionalCosines { get; }
Property Value
| Type |
Description |
| System.Double[] |
|
View Source
DoseValues
Declaration
public List<double> DoseValues { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.List<System.Double> |
|
View Source
MaxPointDose
Declaration
public DoseValue MaxPointDose { get; }
Property Value
View Source
Scaling
Declaration
public double Scaling { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
View Source
ValueSizeInBytes
Declaration
public int ValueSizeInBytes { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
View Source
X0
Declaration
public double X0 { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
View Source
XMax
Declaration
public double XMax { get; }
Property Value
| Type |
Description |
| System.Double |
|
View Source
XRes
Declaration
public double XRes { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
View Source
Y0
Declaration
public double Y0 { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
View Source
YMax
Declaration
public double YMax { get; }
Property Value
| Type |
Description |
| System.Double |
|
View Source
YRes
Declaration
public double YRes { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
View Source
Z0
Declaration
public double Z0 { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
View Source
ZMax
Declaration
public double ZMax { get; }
Property Value
| Type |
Description |
| System.Double |
|
View Source
ZRes
Declaration
public double ZRes { get; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
View Source
ConvertAbsToRel(Double)
Declaration
public void ConvertAbsToRel(double totalDose)
Parameters
| Type |
Name |
Description |
| System.Double |
totalDose |
|
View Source
ConvertRelToAbs(Double)
Declaration
public void ConvertRelToAbs(double totalDose)
Parameters
| Type |
Name |
Description |
| System.Double |
totalDose |
|
View Source
GetLineDose(Vector3, Vector3, Double)
Scrapes a dose matrix along the line from startXYZ in mm to endXYZ in mm
Declaration
public List<DoseValue> GetLineDose(Vector3 startXYZmm, Vector3 endXYZmm, double resolution_mm = 2)
Parameters
| Type |
Name |
Description |
| Vector3 |
startXYZmm |
the starting position of the line
|
| Vector3 |
endXYZmm |
the end position of the line
|
| System.Double |
resolution_mm |
the resolution to interoplate the line dose (default 2 mm)
|
Returns
| Type |
Description |
| System.Collections.Generic.List<DoseValue> |
a list of dose values at the specified resolution along the line
|
View Source
GetPointDose(Vector3)
Declaration
public DoseValue GetPointDose(Vector3 pt)
Parameters
Returns
View Source
GetPointDose(Double, Double, Double)
Declaration
public DoseValue GetPointDose(double x, double y, double z)
Parameters
| Type |
Name |
Description |
| System.Double |
x |
|
| System.Double |
y |
|
| System.Double |
z |
|
Returns
View Source
Load(String)
Declaration
public static RTDose Load(string dcmFile)
Parameters
| Type |
Name |
Description |
| System.String |
dcmFile |
|
Returns
View Source
Save(String)
Declaration
public void Save(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
View Source
ToDICOM()
Declaration
public DICOMObject ToDICOM()
Returns