Slicer merge requestshttps://gitlab.kitware.com/sjh26/Slicer/-/merge_requests2016-03-03T11:50:39-05:00https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/328ENH: Create function GetValue()2016-03-03T11:50:39-05:00Sam HorvathENH: Create function GetValue()*Created by: agirault*
Until now vtkMRMLDoubleArrayNode values could only be obtained
using GetXYValue(int, double_, double_), by passing the index
as a copy and the values we want to get as pointers. In python
such a method can not be ...*Created by: agirault*
Until now vtkMRMLDoubleArrayNode values could only be obtained
using GetXYValue(int, double_, double_), by passing the index
as a copy and the values we want to get as pointers. In python
such a method can not be wrapped if it passes pointers.
The function double GetValue(int, int, int&) allows to return
one value by giving its index, and specifying the component
number. The last parameter is a reference to indicate if the
method succeeded or not, so that we can use GetValue() within
GetXYValue(). We also apply more robust conditions on the index
and the component number.
We were interested in creating this method for vtkMRMLDoubleArrayNode
because this node can be used to transfer double vectors between
CLIs and Slicer [1]. The needs we had were :
(1) Getting the returned values in a python module running the CLIs
(2) Being able to get a specified component (not limited to X and Y)
[1] https://github.com/Slicer/Slicer/blob/866900a/Modules/CLI/ExecutionModelTour/ExecutionModelTour.xml#L183-L199
https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/329ENH: update DCMTK to use snapshot DCMTK-3.6.1_201509242015-09-29T21:42:26-04:00Sam HorvathENH: update DCMTK to use snapshot DCMTK-3.6.1_20150924*Created by: fedorov*
The important improvements provided by the current DCMTK is the introduction of
dcmiod, dcmfg and dcmseg classes that will be helpful in creating multiframe
DICOM objects, such as segmentation and parametric map ob...*Created by: fedorov*
The important improvements provided by the current DCMTK is the introduction of
dcmiod, dcmfg and dcmseg classes that will be helpful in creating multiframe
DICOM objects, such as segmentation and parametric map objects. This updated
version also includes the feature to embed standard and private DICOM dictionaries.
This makes it unnecessary to use DCMDICTPATH for loading dictionaries from external
file, thus that functionality is removed.
https://gitlab.kitware.com/sjh26/Slicer/-/merge_requests/306STYLE: SimpleMarkupsWidget: Add Markups logic setter/getter.2016-02-22T00:57:15-05:00Sam HorvathSTYLE: SimpleMarkupsWidget: Add Markups logic setter/getter.*Created by: jcfr*
Allow the widget to be used with any given Markups logic
*Created by: jcfr*
Allow the widget to be used with any given Markups logic