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)); }
public VolumeGraphic(TissueSettings tissueSettings) { _tissueSettings = tissueSettings; _tissueSettings.VolumeGraphic = this; _tissueSettings.PropertyChanged += new PropertyChangedEventHandler(OnTissueSettingsChanged); }