Class Catheter
Represents a brachytherapy catheter or an applicator channel centerline. Catheters are associated with a BrachyTreatmentUnit, a ChannelNumber, and possibly a BrachySolidApplicatorPartID of the BrachySolidApplicator they belong to. Most notably, catheters encapsulate the Shape of the applicator channel centerline and its SourcePositions.
Implements
Inherited Members
Namespace: VMS.TPS.Common.Model.API
Assembly: VMS.TPS.Common.Model.API.dll
Syntax
public class Catheter : ApiDataObject, IXmlSerializable
Properties
ApplicatorLength
The total length from the tip of the catheter to the treatment unit in millimeters.
Declaration
public double ApplicatorLength { get; }
Property Value
Type | Description |
---|---|
System.Double |
BrachyFieldReferencePoints
A collection of brachy field reference points.
Declaration
public IEnumerable<BrachyFieldReferencePoint> BrachyFieldReferencePoints { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<BrachyFieldReferencePoint> |
BrachySolidApplicatorPartID
The unique identifier of the BrachySolidApplicator part associated with the channel.
Declaration
public int BrachySolidApplicatorPartID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ChannelNumber
The channel number of this catheter.
Declaration
public int ChannelNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Color
The color of the catheter in 2D views.
Declaration
public Color Color { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Color |
DeadSpaceLength
The total length from the tip of the catheter to the start of the inner lumen in millimeters.
Declaration
public double DeadSpaceLength { get; }
Property Value
Type | Description |
---|---|
System.Double |
GroupNumber
Catheter Group number.
Declaration
public int GroupNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Shape
The DICOM coordinates of the applicator shape starting from the tip.
Declaration
public VVector[] Shape { get; }
Property Value
Type | Description |
---|---|
VVector[] |
SourcePositions
The source positions in the catheter starting from the tip.
Declaration
public IEnumerable<SourcePosition> SourcePositions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<SourcePosition> |
StepSize
The step size of the catheter in millimeters.
Declaration
public double StepSize { get; }
Property Value
Type | Description |
---|---|
System.Double |
TreatmentUnit
The brachytherapy treatment unit associated with this catheter.
Declaration
public BrachyTreatmentUnit TreatmentUnit { get; }
Property Value
Type | Description |
---|---|
BrachyTreatmentUnit |
Methods
GetSourcePosCenterDistanceFromTip(SourcePosition)
The distance (in millimeters) from the tip of the catheter (in the first possible source position) to the center of the source position. This is an offset from the actual catheter inner lumen tip by half of the source length and encapsulation.
Declaration
public double GetSourcePosCenterDistanceFromTip(SourcePosition sourcePosition)
Parameters
Type | Name | Description |
---|---|---|
SourcePosition | sourcePosition | The source position for which the distance from the catheter tip is got. |
Returns
Type | Description |
---|---|
System.Double | The distance from the tip of the catheter to the source position center, in millimeters. |
See Also
GetTotalDwellTime()
The total dwell time in this catheter in seconds.
Declaration
public double GetTotalDwellTime()
Returns
Type | Description |
---|---|
System.Double | The total dwell time in this catheter in seconds. |
WriteXml(XmlWriter)
Converts an object into its XML representation. For more information on how to serialize an object into an XML document, see System.Xml.Serialization.XmlSerializer.
Declaration
public override void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter stream, to which the object is serialized. |