From: jpr Date: Fri, 17 Mar 2006 14:53:14 +0000 (+0000) Subject: Fix some comments X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2b5ddcb309843e22272eca54f9cc19970e3d1fd9;p=gdcm.git Fix some comments --- diff --git a/gdcmPython/CMakeLists.txt b/gdcmPython/CMakeLists.txt index e25d0d95..c54b80a8 100644 --- a/gdcmPython/CMakeLists.txt +++ b/gdcmPython/CMakeLists.txt @@ -29,6 +29,11 @@ SET_SOURCE_FILES_PROPERTIES(gdcm.i PROPERTIES CPLUSPLUS ON) # BUG: This is only needed with cmake <= 2.0.5 SET_SOURCE_FILES_PROPERTIES(gdcm.i PROPERTIES SWIG_FLAGS "") # END OF BUG +#FIXME : +#where must we put the keyword SHARED +#- just like in ADD_LIBRARY(vtkgdcmPython SHARED ${gdcmWrapSOURCES}) - +#to allow use of a static/shared libray ? +# JPRx SWIG_ADD_MODULE(gdcm python gdcm.i) #gdcm_wrap.cxx, or gdcmPYTHON_wrap.cxx SWIG_LINK_LIBRARIES(gdcm gdcm ${PYTHON_LIBRARIES}) diff --git a/gdcmPython/demo/vtkGdcmReader.py.in b/gdcmPython/demo/vtkGdcmReader.py.in index 0b0018c9..9070727d 100644 --- a/gdcmPython/demo/vtkGdcmReader.py.in +++ b/gdcmPython/demo/vtkGdcmReader.py.in @@ -40,7 +40,7 @@ viewer.SetColorLevel(0.5 * (rng[1] + rng[0])) dim = reader.GetOutput().GetDimensions() viewer.SetSize(dim[0],dim[1]) if(dim[2] != 1): - # For multifame dicom, take a snapshot of the center slice (+/- 1) + # For multiframe dicom, take a snapshot of the center slice (+/- 1) viewer.SetZSlice(dim[2] / 2) else: viewer.SetZSlice(0) diff --git a/gdcmPython/demo/vtkGdcmWriter.py.in b/gdcmPython/demo/vtkGdcmWriter.py.in index 999035e8..a45b239e 100644 --- a/gdcmPython/demo/vtkGdcmWriter.py.in +++ b/gdcmPython/demo/vtkGdcmWriter.py.in @@ -51,7 +51,7 @@ viewer.SetColorLevel(0.5 * (rng[1] + rng[0])) dim = reader.GetOutput().GetDimensions() viewer.SetSize(dim[0],dim[1]) if(dim[2] != 1): - # For multifame dicom, take a snapshot of the center slice (+/- 1) + # For multiframe dicom, take a snapshot of the center slice (+/- 1) viewer.SetZSlice(dim[2] / 2) else: viewer.SetZSlice(0)