예제 #1
0
        private void AddTissueLayers(VolumePresentationImage image)
        {
            GraphicCollection layers = image.TissueLayers;

            TissueSettings tissue = new TissueSettings();

            tissue.SelectPreset("Bone");
            layers.Add(new VolumeGraphic(tissue));

            tissue = new TissueSettings();
            tissue.SelectPreset("Blood");
            layers.Add(new VolumeGraphic(tissue));
        }
예제 #2
0
 public VolumeGraphic(TissueSettings tissueSettings)
 {
     _tissueSettings = tissueSettings;
     _tissueSettings.VolumeGraphic    = this;
     _tissueSettings.PropertyChanged += new PropertyChangedEventHandler(OnTissueSettingsChanged);
 }