]> Creatis software - gdcm.git/commitdiff
Fix some comments
authorjpr <jpr>
Fri, 17 Mar 2006 14:53:14 +0000 (14:53 +0000)
committerjpr <jpr>
Fri, 17 Mar 2006 14:53:14 +0000 (14:53 +0000)
gdcmPython/CMakeLists.txt
gdcmPython/demo/vtkGdcmReader.py.in
gdcmPython/demo/vtkGdcmWriter.py.in

index e25d0d9..c54b80a 100644 (file)
@@ -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})
 
index 0b0018c..9070727 100644 (file)
@@ -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)
index 999035e..a45b239 100644 (file)
@@ -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)