protected MprSliceSet(Volume volume) { Platform.CheckForNullReference(volume, "volume"); _volume = volume.CreateTransientReference(); _sliceSops = new ObservableDisposableList <MprSliceSop>(); _sliceSops.EnableEvents = true; _sliceSops.ItemAdded += OnItemAdded; _sliceSops.ItemChanged += OnItemChanged; _sliceSops.ItemChanging += OnItemChanging; _sliceSops.ItemRemoved += OnItemRemoved; }
public VolumeSliceSopDataSource(Volume volume, IVolumeSlicerParams slicerParams, IList <Vector3D> throughPoints) : this(volume.CreateTransientReference(), slicerParams, throughPoints) { }
public IVolumeReference Clone() { return(_volume.CreateTransientReference()); }
public VolumeSlicer(Volume vol, IVolumeSlicerParams slicerParams, string seriesInstanceUid) { _volume = vol.CreateTransientReference(); _slicerParams = slicerParams; _seriesInstanceUid = seriesInstanceUid; }