Example #1
0
        private static double QueryComplementVolume(DVHPoint[] dvh, MayoQuery query)
        {
            var doseUnit  = query.GetDoseUnit();
            var doseValue = new DoseValue(query.QueryValue, doseUnit);

            return(dvh.GetComplementVolumeAtDose(doseValue));
        }
Example #2
0
        private static double QueryMeanDose(DVHPoint[] dvh, MayoQuery query)
        {
            var mean     = dvh.MeanDose();
            var doseUnit = query.GetDoseUnit();

            return(mean.GetDose(doseUnit));
        }
Example #3
0
        private static double QueryDoseComplement(DVHPoint[] dvh, MayoQuery query)
        {
            var dose     = dvh.GetDoseComplement(query.QueryValue);
            var doseUnit = query.GetDoseUnit();

            return(dose.GetDose(doseUnit));
        }
Example #4
0
        private static double QueryMaxDose(DVHPoint[] dvh, MayoQuery query)
        {
            var max      = dvh.MaxDose();
            var doseUnit = query.GetDoseUnit();

            return(max.GetDose(doseUnit));
        }