Program: gdcm
Module: $RCSfile: gdcmDocument.cxx,v $
Language: C++
- Date: $Date: 2004/06/25 12:56:39 $
- Version: $Revision: 1.33 $
+ Date: $Date: 2004/06/25 17:48:45 $
+ Version: $Revision: 1.34 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* (ACR-NEMA, ExplicitVR, ImplicitVR)
* \return Always true.
*/
-bool gdcmDocument::WriteF(FileType filetype) {
-/// \todo
+void gdcmDocument::Write(FILE* fp,FileType filetype) {
+///
/// ==============
/// The stuff is rewritten using the SeQuence based
/// tree-like stucture (cf : Print )
/// WARNING : Si on veut ecrire du DICOM V3 a partir d'un DcmHeader ACR-NEMA
/// no way (check : FileType est un champ de gdcmDocument ...)
/// a moins de se livrer a un tres complique ajout des champs manquants.
- /// faire un CheckAndCorrectHeader (?)
-
+ /// faire un CheckAndCorrectHeader (?)
+
if (filetype == gdcmImplicitVR)
{
std::string implicitVRTransfertSyntax = UI1_2_840_10008_1_2;
* UpdateGroupLength(true,ACR);
*/
- gdcmElementSet::Write(fp,filetype);
+ gdcmElementSet::Write(fp,filetype);
- return true;
+ // return true;
}
/**
Program: gdcm
Module: $RCSfile: gdcmDocument.h,v $
Language: C++
- Date: $Date: 2004/06/24 18:03:14 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2004/06/25 17:48:45 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// Write (used in gdcmFile, gdcmDicomDir)
- virtual bool WriteF(FileType type); // New stuff, with recursive exploration
+ void Write(FILE * fp,FileType type); // New stuff, with recursive exploration
gdcmValEntry * ReplaceOrCreateByNumber(std::string Value,
guint16 Group, guint16 Elem);
void SetMaxSizeLoadEntry(long);
void SetMaxSizePrintEntry(long);
-
+
// DocEntry related utilities
gdcmDocEntry *ReadNextDocEntry ();
Program: gdcm
Module: $RCSfile: gdcmFile.cxx,v $
Language: C++
- Date: $Date: 2004/06/23 16:22:21 $
- Version: $Revision: 1.109 $
+ Date: $Date: 2004/06/25 17:48:45 $
+ Version: $Revision: 1.110 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
void * gdcmFile::GetImageDataRaw () {
if (Header->HasLUT())
- /// \todo Let gdcmHeadar user a chance to get the right value
+ /// \todo Let gdcmHeader user a chance to get the right value
/// Create a member lgrTotaleRaw ???
lgrTotale /= 3;
PixelData = new unsigned char[lgrTotale];