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));
        }
Esempio n. 2
0
 public VolumeGraphic(TissueSettings tissueSettings)
 {
     _tissueSettings = tissueSettings;
     _tissueSettings.VolumeGraphic    = this;
     _tissueSettings.PropertyChanged += new PropertyChangedEventHandler(OnTissueSettingsChanged);
 }
Esempio n. 3
0
		public VolumeGraphic(TissueSettings tissueSettings)
		{
			_tissueSettings = tissueSettings;
			_tissueSettings.VolumeGraphic = this;
			_tissueSettings.PropertyChanged += new PropertyChangedEventHandler(OnTissueSettingsChanged);
		}
Esempio n. 4
0
 public VolumeGraphic(TissueSettings tissueSettings)
 {
     _tissueSettings = tissueSettings;
     _tissueSettings.VolumeGraphic    = this;
     _tissueSettings.PropertyChanged += OnTissueSettingsChanged;
 }
Esempio n. 5
0
		public VolumeGraphic(TissueSettings tissueSettings)
		{
			_tissueSettings = tissueSettings;
			_tissueSettings.VolumeGraphic = this;
			_tissueSettings.PropertyChanged += OnTissueSettingsChanged;
		}