Ejemplo n.º 1
0
        public void ApplySetting(string setting)
        {
            if (setting == "Visible")
            {
                if (_volumeLayer.TissueSettings.Visible)
                {
                    _vtkVolume.VisibilityOn();
                }
                else
                {
                    _vtkVolume.VisibilityOff();
                }
            }
            else
            {
                SetOpacityTransferFunction();

                if (setting != "Opacity")
                {
                    SetColorTransferFunction();
                }
            }
            _vtkVolume.Update();
        }