Module: $RCSfile: gdcmFileHelper.cxx,v $
Language: C++
- Date: $Date: 2005/07/30 18:27:00 $
- Version: $Revision: 1.51 $
+ Date: $Date: 2005/08/19 13:12:15 $
+ Version: $Revision: 1.52 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
FileInternal = new File( );
SelfHeader = true;
- UserFunction = 0;
Initialize();
}
{
FileInternal = header;
SelfHeader = false;
- UserFunction = 0;
Initialize();
}
return GetRaw();
}
+#ifndef GDCM_LEGACY_REMOVE
/**
- * \brief
- * Read the pixels from disk (uncompress if necessary),
+ * \brief Useless function, since PixelReadConverter forces us
+ * copy the Pixels anyway.
+ * Reads the pixels from disk (uncompress if necessary),
* Transforms YBR pixels, if any, into RGB pixels
* Transforms 3 planes R, G, B, if any, into a single RGB Plane
* Transforms single Grey plane + 3 Palettes into a RGB Plane
PixelReadConverter->GetRawSize() );
return PixelReadConverter->GetRawSize();
}
+#endif
/**
* \brief Points the internal pointer to the callers inData
*/
void FileHelper::Initialize()
{
+ UserFunction = 0;
+
WriteMode = WMODE_RAW;
WriteType = ExplicitVR;
#ifndef GDCM_LEGACY_REMOVE
/**
- * \brief
+ * \brief DEPRECATED : use SetFilename() + Load() methods
* Constructor dedicated to deal with the *pixels* area of a ACR/DICOMV3
* file (gdcm::File only deals with the ... header)
* Opens (in read only and when possible) an existing file and checks