Search Results for

    Show / Hide Table of Contents

    Class IonPlanSetup

    Represents a proton treatment plan.

    Inheritance
    System.Object
    SerializableObject
    ApiDataObject
    PlanningItem
    PlanSetup
    IonPlanSetup
    Implements
    System.Xml.Serialization.IXmlSerializable
    Inherited Members
    PlanSetup.GetProtocolPrescriptionsAndMeasures(List<ProtocolPhasePrescription>, List<ProtocolPhaseMeasure>)
    PlanSetup.AddReferencePoint(Structure, Nullable<VVector>, String, String)
    PlanSetup.ClearCalculationModel(CalculationType)
    PlanSetup.GetCalculationModel(CalculationType)
    PlanSetup.GetCalculationOption(String, String, String)
    PlanSetup.GetCalculationOptions(String)
    PlanSetup.SetCalculationModel(CalculationType, String)
    PlanSetup.SetCalculationOption(String, String, String)
    PlanSetup.SetPrescription(Int32, DoseValue, Double)
    PlanSetup.Id
    PlanSetup.PlanNormalizationValue
    PlanSetup.PlanUncertainties
    PlanSetup.PlanObjectiveStructures
    PlanSetup.ApprovalHistory
    PlanSetup.DosePerFractionInPrimaryRefPoint
    PlanSetup.PrescribedDosePerFraction
    PlanSetup.PrescribedPercentage
    PlanSetup.TotalPrescribedDose
    PlanSetup.ApplicationScriptLogs
    PlanSetup.ApprovalStatus
    PlanSetup.Beams
    PlanSetup.Course
    PlanSetup.CreationUserName
    PlanSetup.DosePerFraction
    PlanSetup.DVHEstimates
    PlanSetup.ElectronCalculationModel
    PlanSetup.ElectronCalculationOptions
    PlanSetup.IsDoseValid
    PlanSetup.IsTreated
    PlanSetup.NumberOfFractions
    PlanSetup.OptimizationSetup
    PlanSetup.PhotonCalculationModel
    PlanSetup.PhotonCalculationOptions
    PlanSetup.PlanIntent
    PlanSetup.PlannedDosePerFraction
    PlanSetup.PlanningApprovalDate
    PlanSetup.PlanningApprover
    PlanSetup.PlanningApproverDisplayName
    PlanSetup.PlanNormalizationMethod
    PlanSetup.PlanNormalizationPoint
    PlanSetup.PlanType
    PlanSetup.PredecessorPlan
    PlanSetup.PrimaryReferencePoint
    PlanSetup.ProtocolID
    PlanSetup.ProtocolPhaseID
    PlanSetup.ProtonCalculationModel
    PlanSetup.ProtonCalculationOptions
    PlanSetup.ReferencePoints
    PlanSetup.RTPrescription
    PlanSetup.Series
    PlanSetup.SeriesUID
    PlanSetup.TargetVolumeID
    PlanSetup.TotalDose
    PlanSetup.TreatmentApprovalDate
    PlanSetup.TreatmentApprover
    PlanSetup.TreatmentApproverDisplayName
    PlanSetup.TreatmentOrientation
    PlanSetup.TreatmentPercentage
    PlanSetup.TreatmentSessions
    PlanSetup.UID
    PlanSetup.UseGating
    PlanSetup.VerifiedPlan
    PlanningItem.GetDVHCumulativeData(Structure, DoseValuePresentation, VolumePresentation, Double)
    PlanningItem.GetDoseAtVolume(Structure, Double, VolumePresentation, DoseValuePresentation)
    PlanningItem.GetVolumeAtDose(Structure, DoseValue, VolumePresentation)
    PlanningItem.CreationDateTime
    PlanningItem.Dose
    PlanningItem.DoseValuePresentation
    PlanningItem.StructureSet
    PlanningItem.StructuresSelectedForDvh
    ApiDataObject.ToString()
    ApiDataObject.Equals(Object)
    ApiDataObject.GetHashCode()
    ApiDataObject.Name
    ApiDataObject.Comment
    ApiDataObject.HistoryUserName
    ApiDataObject.HistoryUserDisplayName
    ApiDataObject.HistoryDateTime
    SerializableObject.GetSchema()
    SerializableObject.ReadXml(XmlReader)
    SerializableObject.ClearSerializationHistory()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: VMS.TPS.Common.Model.API
    Assembly: VMS.TPS.Common.Model.API.dll
    Syntax
    public class IonPlanSetup : PlanSetup

    Properties

    DoseAsEvaluationDose

    The evaluation dose is connected to the plan and contains voxels that are set by SetVoxels instead of the dose calculation algorithm. Returns null if the plan has no evaluation dose.

    Declaration
    public EvaluationDose DoseAsEvaluationDose { get; }
    Property Value
    Type Description
    EvaluationDose

    IonBeams

    Gets the proton beams of the plan.

    Declaration
    public IEnumerable<IonBeam> IonBeams { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IonBeam>

    IsPostProcessingNeeded

    Instructs whether to include the post-processing of scanning spots in proton dose calculation.

    Declaration
    public bool IsPostProcessingNeeded { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    CalculateDose()

    [Availability of this method depends on your Eclipse Scripting API license] Calculates the dose for the proton plan.

    Declaration
    public CalculationResult CalculateDose()
    Returns
    Type Description
    CalculationResult

    The calculation result. See calculation details from the calculation logs.

    CalculateDoseWithoutPostProcessing()

    Calculates the dose for a proton plan without post-processing. The existing final spot list is used, and no new list is created during the calculation.

    Declaration
    public CalculationResult CalculateDoseWithoutPostProcessing()
    Returns
    Type Description
    CalculationResult

    The calculation result. See calculation details from the calculation logs.

    CopyEvaluationDose(Dose)

    [Availability of this method depends on your Eclipse Scripting API license] Creates an evaluation dose for the plan. The voxels in an evaluation dose are copied from the existing dose matrix. To create an evaluation dose, the plan must not contain any beams.

    Declaration
    public EvaluationDose CopyEvaluationDose(Dose existing)
    Parameters
    Type Name Description
    Dose existing

    The dose matrix is copied from this object.

    Returns
    Type Description
    EvaluationDose

    A new evaluation dose object.

    CreateEvaluationDose()

    [Availability of this method depends on your Eclipse Scripting API license] Creates an evaluation dose for the plan. The voxels in an evaluation dose can be set using the Eclipse Scripting API instead of a dose calculation algorithm. To create an evaluation dose, the plan must not contain any beams. To set the evaluation dose voxels, retrieve the dose matrix using the DoseAsEvaluationDose property of the plan and then use SetVoxels.

    Declaration
    public EvaluationDose CreateEvaluationDose()
    Returns
    Type Description
    EvaluationDose

    A new evaluation dose object.

    Remarks

    Saving modifications to the database is not possible if the evaluation dose has been created but voxels have not been set.

    GetModelsForCalculationType(CalculationType)

    Returns a list of calculation models for the given calculation type.

    Declaration
    public IEnumerable<string> GetModelsForCalculationType(CalculationType calculationType)
    Parameters
    Type Name Description
    CalculationType calculationType

    The type of calculation.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.String>

    The list of calculation models.

    PostProcessAndCalculateDose()

    ost-processes the proton plan by creating a final spot list, and calculates the dose.

    Declaration
    public CalculationResult PostProcessAndCalculateDose()
    Returns
    Type Description
    CalculationResult

    The calculation result. See calculation details from the calculation logs.

    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.

    Overrides
    PlanSetup.WriteXml(XmlWriter)

    Implements

    System.Xml.Serialization.IXmlSerializable
    In This Article
    Back to top