]> Creatis software - clitk.git/blobdiff - common/vvImageReader.cxx
Open Dicom with imaging machine coordinate system (Identity matrix) by default
[clitk.git] / common / vvImageReader.cxx
index 5e7d90364dc6ee28e067cfd18c7aa0a8169a07a4..a2fc4e964ab8edeeef1e57cb0f6a4b742c371d44 100644 (file)
@@ -33,6 +33,7 @@ vvImageReader::vvImageReader()
   mLastError = "";
   mType = UNDEFINEDIMAGETYPE;
   mSlice = 0;
+  mPatientCoordinateSystem = false;
 }
 //------------------------------------------------------------------------------
 
@@ -50,6 +51,14 @@ void vvImageReader::Update()
 //------------------------------------------------------------------------------
 
 
+//------------------------------------------------------------------------------
+void vvImageReader::SetPatientCoordinateSystem(bool patientCoordinateSystem)
+{
+  mPatientCoordinateSystem = patientCoordinateSystem;
+}
+//------------------------------------------------------------------------------
+
+
 //------------------------------------------------------------------------------
 void vvImageReader::Update(LoadedImageType type)
 {