Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

acrwrite.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "idsig.h"
#include "idcnt.h"
#include "idima.h"
#include "idvol.h"
#include "idseq.h"
#include "idacr.h"
#include "idacr-restricted.h"
#include "iderr.h"
#include "idio.h"
#include "idprint.h"

Go to the source code of this file.

Defines

#define DEBUG   0

Functions

int IdAcrWriteFile (char *nf, void *obj)
 Ecriture d'un objet libido ds un fichier ACR avec ajouts d'ACR_ELEMENT.

int IdAcrWriteFileExtended (char *nf, void *obj, ACR_ELEMENT *listeAAjouter)
 Ecriture d'un objet libido ds un fichier ACR avec ajouts d'ACR_ELEMENT.

int IdAcrWriteListeAcr (char *nf, ACR_ELEMENT *header)
 Ecriture d'un objet libido ds un fichier ACR avec ajouts d'ACR_ELEMENT.


Variables

char * _IdRecCode = "ACRNEMA_LIBIDO_1.1"


Define Documentation

#define DEBUG   0
 

Definition at line 79 of file acrwrite.c.

Referenced by _IdAcrAddElement(), _IdAcrAppendElement(), _IdAcrCheckSwap(), _IdAcrCheckType(), _IdAcrGetElementLength(), _IdAcrGetPixelOffset(), _IdAcrMakeElement(), _IdAcrModifElementLength(), _IdAcrModifyElement(), _IdAcrOverWriteElement(), _IdAcrOverWriteElementNumber(), _IdAcrReadElement_avec_creation(), _IdAcrReadElementFromLabel(), _IdAcrReadNextElement(), _IdAcrRecupLgr(), _IdAcrTestSwap(), _IdDcmCheckType(), _IdDcmGetElementLength(), _IdDcmReadElement(), _IdDcmReadElementFromLabel(), _IdDcmReadElementNoSQ(), _IdDcmReadElementUSHORT(), _IdDcmReadNextElement(), _IdDcmReadNextElementLeonardo(), _IdSeqFree(), IdAcrWriteFileExtended(), IdAcrWriteListeAcr(), IdDcmGetHeader(), IdDcmGetHeaderLeonardo(), IdDcmInquireInfoFromDcmHdr(), IdDcmInquireInfoFromFile(), IdDcmMultiFrameReadFile(), IdDcmMultiFrameReadFileFromDcmHdr(), IdDcmReadFile(), IdDcmReadFileFromDcmHdr(), IdDcmReadFileIntoVector(), IdDcmReadFileIntoVectorFromDcmHdr(), IdImaLabel(), IdSeqAlloc(), and IdVolAlloc().


Function Documentation

int IdAcrWriteFile char *  nf,
void *  obj
 

Ecriture d'un objet libido ds un fichier ACR avec ajouts d'ACR_ELEMENT.

Parameters:
nf nom du fichier a creer
obj pointeur sur une structure libido
Returns:
code retour (booleen)

Definition at line 131 of file acrwrite.c.

References IdAcrWriteFileExtended().

Referenced by DisplayVol(), SaveObjectAsVolFloat(), and WriteObject().

int IdAcrWriteFileExtended char *  nf,
void *  obj,
ACR_ELEMENT listeAAjouter
 

Ecriture d'un objet libido ds un fichier ACR avec ajouts d'ACR_ELEMENT.

Parameters:
nf nom du fichier a creer
obj pointeur sur une structure libido
listeAAjouter liste d'ACR_ELEMENT, fabriquee par l'utilisateur
Returns:
code retour (booleen)

Definition at line 204 of file acrwrite.c.

References _IdAcrAddElement(), _IdAcrAdjustLength(), _IdAcrAffListe(), _IdAcrFreeListe(), _IdAcrMakeElement(), _IdAcrMergeListes(), _IdCntPrivate, _IdRecCode, AN, AT, BD, BI, CNT, DEBUG, acr_element::group, ID_WFILE_BIN, IdCntDimX, IdCntUsedNbX, IDERR_OPEN_FAILED, IDERR_POINTER_IS_NULL, IDERR_WRONG_TYPE, IdErrno, IdErrPrintf(), IdImaDimX(), IdImaDimY(), IdImaUsedNbX(), IdImaUsedNbY(), IdLibidoDataType, IdLibidoType, IdPrintf(), IdSeqDimT, IdSeqDimX, IdSeqDimY, IdSeqDimZ, IdSeqUsedNbT, IdSeqUsedNbX, IdSeqUsedNbY, IdSeqUsedNbZ, IdSigDimX, IdSigUsedNbX, IdSizeOfType, IdVolDimX, IdVolDimY, IdVolDimZ, IdVolUsedNbX, IdVolUsedNbY, IdVolUsedNbZ, IMA, acr_element::length, NO, acr_element::number, PCONTOUR, PPIMAGE, PPPPSEQUENCE, PPPVOLUME, PSIGNAL, SEQ, SIG, acr_element::suiv, TY_CHAR, TY_COMPLEX_CHAR, TY_COMPLEX_DOUBLE, TY_COMPLEX_FLOAT, TY_COMPLEX_LONG, TY_COMPLEX_SHORT, TY_DOUBLE, TY_FLOAT, TY_LONG, TY_SHORT, acr_element::type, acr_element::value, and VOL.

Referenced by IdAcrWriteFile().

int IdAcrWriteListeAcr char *  nf,
ACR_ELEMENT header
 

Ecriture d'un objet libido ds un fichier ACR avec ajouts d'ACR_ELEMENT.

Parameters:
nf nom du fichier a creer
obj pointeur sur une structure libido
Returns:
code retour (booleen)

Definition at line 669 of file acrwrite.c.

References _IdAcrAdjustLength(), _IdAcrAffListe(), AN, AT, BD, BI, DEBUG, acr_element::group, ID_WFILE_BIN, IDERR_OPEN_FAILED, IdErrno, IdPrintf(), acr_element::length, NO, acr_element::number, acr_element::suiv, acr_element::type, and acr_element::value.


Variable Documentation

char* _IdRecCode = "ACRNEMA_LIBIDO_1.1"
 

Definition at line 81 of file acrwrite.c.

Referenced by IdAcrWriteFileExtended().


Generated on Wed Oct 19 09:28:35 2005 for SIMRI3D by doxygen 1.3.7