Example #1
0
        internal void Set(PedigreeParameters pedigreeParameters)
        {
            verticalSpacing = pedigreeParameters.verticalSpacing;
            horizontalSpacing = pedigreeParameters.horizontalSpacing;
            coupleNodeRadius = pedigreeParameters.coupleNodeRadius;
            individualSize = pedigreeParameters.individualSize;
            drawCouplesGraph = pedigreeParameters.drawCouplesGraph;
            drawVisualDebugging = pedigreeParameters.drawVisualDebugging;
            drawIdLabels = pedigreeParameters.drawIdLabels;

            //ShowName = pedigreeParameters.ShowName;
            //ShowUnitnum = pedigreeParameters.ShowUnitnum;
            //ShowDob = pedigreeParameters.ShowDob;
            //ShowSymbol = pedigreeParameters.ShowSymbol;

            dampeningFactor = pedigreeParameters.dampeningFactor;
            centeringForceStrength = pedigreeParameters.centeringForceStrength;
            verticalPositioningForceStrength = pedigreeParameters.verticalPositioningForceStrength;
            layoutCouplesStrength = pedigreeParameters.layoutCouplesStrength;
            layoutSibshipsStrength = pedigreeParameters.layoutSibshipsStrength;
            halfSibsArcHeight = pedigreeParameters.halfSibsArcHeight;
            repelIndividualSetsStrength = pedigreeParameters.repelIndividualSetsStrength;
            //couplesAttractionStrength = pedigreeParameters.couplesAttractionStrength;
            sibshipShrinkingFacor = pedigreeParameters.sibshipShrinkingFacor;
            PositionHistoryDepth = pedigreeParameters.PositionHistoryDepth;
            avgVelocityThreshold = pedigreeParameters.avgVelocityThreshold;
            ControllerMode = pedigreeParameters.ControllerMode;

            scale = pedigreeParameters.scale;
            vOffset = pedigreeParameters.vOffset;
            hOffset = pedigreeParameters.hOffset;

            gridWidth = pedigreeParameters.gridWidth;
            gridHeight = pedigreeParameters.gridHeight;

            saveAndClose = pedigreeParameters.saveAndClose;
            allRelativesAccountedFor = pedigreeParameters.allRelativesAccountedFor;

            annotationFontSize = pedigreeParameters.annotationFontSize;

            HoldingPenOrigin.X = pedigreeParameters.HoldingPenOrigin.X;
            HoldingPenOrigin.Y = pedigreeParameters.HoldingPenOrigin.Y;
            //annotation_areas = pedigreeParameters.annotation_areas;

            hideNonBloodRelatives = pedigreeParameters.hideNonBloodRelatives;

            multiSelect = pedigreeParameters.multiSelect;

            annotation_areas = pedigreeParameters.annotation_areas;

            BackgroundBrush = pedigreeParameters.BackgroundBrush;

            nameWidth = pedigreeParameters.nameWidth;

            limitedEthnicity = pedigreeParameters.limitedEthnicity;

            this.VariantFoundText = pedigreeParameters.VariantFoundText;
            this.VariantFoundVusText = pedigreeParameters.VariantFoundVusText;
            this.VariantNotFoundText = pedigreeParameters.VariantNotFoundText;
            this.VariantUnknownText = pedigreeParameters.VariantUnknownText;
            this.VariantNotTestedText = pedigreeParameters.VariantNotTestedText;
            this.VariantHeteroText = pedigreeParameters.VariantHeteroText;

            this.hideNonBloodRelatives = pedigreeParameters.hideNonBloodRelatives;
        }
Example #2
0
        internal void Set(PedigreeParameters pedigreeParameters)
        {
            verticalSpacing     = pedigreeParameters.verticalSpacing;
            horizontalSpacing   = pedigreeParameters.horizontalSpacing;
            coupleNodeRadius    = pedigreeParameters.coupleNodeRadius;
            individualSize      = pedigreeParameters.individualSize;
            drawCouplesGraph    = pedigreeParameters.drawCouplesGraph;
            drawVisualDebugging = pedigreeParameters.drawVisualDebugging;
            drawIdLabels        = pedigreeParameters.drawIdLabels;

            //ShowName = pedigreeParameters.ShowName;
            //ShowUnitnum = pedigreeParameters.ShowUnitnum;
            //ShowDob = pedigreeParameters.ShowDob;
            //ShowSymbol = pedigreeParameters.ShowSymbol;

            dampeningFactor                  = pedigreeParameters.dampeningFactor;
            centeringForceStrength           = pedigreeParameters.centeringForceStrength;
            verticalPositioningForceStrength = pedigreeParameters.verticalPositioningForceStrength;
            layoutCouplesStrength            = pedigreeParameters.layoutCouplesStrength;
            layoutSibshipsStrength           = pedigreeParameters.layoutSibshipsStrength;
            halfSibsArcHeight                = pedigreeParameters.halfSibsArcHeight;
            repelIndividualSetsStrength      = pedigreeParameters.repelIndividualSetsStrength;
            //couplesAttractionStrength = pedigreeParameters.couplesAttractionStrength;
            sibshipShrinkingFacor = pedigreeParameters.sibshipShrinkingFacor;
            PositionHistoryDepth  = pedigreeParameters.PositionHistoryDepth;
            avgVelocityThreshold  = pedigreeParameters.avgVelocityThreshold;
            ControllerMode        = pedigreeParameters.ControllerMode;

            scale   = pedigreeParameters.scale;
            vOffset = pedigreeParameters.vOffset;
            hOffset = pedigreeParameters.hOffset;

            gridWidth  = pedigreeParameters.gridWidth;
            gridHeight = pedigreeParameters.gridHeight;

            saveAndClose             = pedigreeParameters.saveAndClose;
            allRelativesAccountedFor = pedigreeParameters.allRelativesAccountedFor;

            annotationFontSize = pedigreeParameters.annotationFontSize;

            HoldingPenOrigin.X = pedigreeParameters.HoldingPenOrigin.X;
            HoldingPenOrigin.Y = pedigreeParameters.HoldingPenOrigin.Y;
            //annotation_areas = pedigreeParameters.annotation_areas;

            hideNonBloodRelatives = pedigreeParameters.hideNonBloodRelatives;

            multiSelect = pedigreeParameters.multiSelect;

            annotation_areas = pedigreeParameters.annotation_areas;

            BackgroundBrush = pedigreeParameters.BackgroundBrush;

            nameWidth = pedigreeParameters.nameWidth;

            limitedEthnicity = pedigreeParameters.limitedEthnicity;

            this.VariantFoundText     = pedigreeParameters.VariantFoundText;
            this.VariantFoundVusText  = pedigreeParameters.VariantFoundVusText;
            this.VariantNotFoundText  = pedigreeParameters.VariantNotFoundText;
            this.VariantUnknownText   = pedigreeParameters.VariantUnknownText;
            this.VariantNotTestedText = pedigreeParameters.VariantNotTestedText;
            this.VariantHeteroText    = pedigreeParameters.VariantHeteroText;

            this.hideNonBloodRelatives = pedigreeParameters.hideNonBloodRelatives;
        }