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

idcnt-base.h File Reference

#include "idgen.h"
#include "idima-base.h"
#include "idcnt-ido.h"

Go to the source code of this file.

Defines

#define IdCntSameType(i1, i2)   ((i1) &&(i2) && (IdCntType(i1)==IdCntType(i2)) )
#define IdCntFree(pi)   _IdCntFree((PCONTOUR*)&(pi))
#define IdCntAddPoint(contour_, valx, valy)   _IdCntAddPoint(&(contour_),(valx),(valy))
#define IdCntInsertPoint(contour_, numPoint, valx, valy)   _IdCntInsertPoint(&(contour_),(numPoint),(valx),(valy))

Functions

PCONTOUR IdCntAlloc (int, int)
PCONTOUR IdCntClear (PCONTOUR)
PCONTOUR IdCntCopy (PCONTOUR, PCONTOUR)
PCONTOUR IdCntCast (PCONTOUR, PCONTOUR)
void IdCntSwap (PCONTOUR, int)


Define Documentation

#define IdCntAddPoint contour_,
valx,
valy   )     _IdCntAddPoint(&(contour_),(valx),(valy))
 

Definition at line 68 of file idcnt-base.h.

Referenced by _IdCntAddPointsOfSegment(), _IdCntConnexPts(), _IdCntInsertPoint(), _IdCntInsertPointsOfSegment(), and IdCntPointsOfSegment().

#define IdCntFree pi   )     _IdCntFree((PCONTOUR*)&(pi))
 

Definition at line 66 of file idcnt-base.h.

Referenced by _IdCntConnexPts().

#define IdCntInsertPoint contour_,
numPoint,
valx,
valy   )     _IdCntInsertPoint(&(contour_),(numPoint),(valx),(valy))
 

Definition at line 70 of file idcnt-base.h.

#define IdCntSameType i1,
i2   )     ((i1) &&(i2) && (IdCntType(i1)==IdCntType(i2)) )
 

Definition at line 64 of file idcnt-base.h.

Referenced by IdCntConcat().


Function Documentation

PCONTOUR IdCntAlloc int  ,
int 
 

Definition at line 125 of file cntallo.c.

References PRIVATE_CONTOUR::_fichier, PRIVATE_CONTOUR::_message, CNT, PRIVATE_CONTOUR::DimX, IDERR_ALLOC_CNT, IDERR_WRONG_TYPE, IdErrno, IdErrPrintf(), IDO_TYPE, IdTypeSize, PCONTOUR, and PRIVATE_CONTOUR::Type.

Referenced by _IdCntConnexPts(), IdCntPointsOfSegment(), and IdDcmReadFileIntoVectorFromDcmHdr().

PCONTOUR IdCntCast PCONTOUR  ,
PCONTOUR 
 

Definition at line 763 of file cntutil.c.

References CFR, CNT_CHAR, CNT_DOUBLE, CNT_FLOAT, CNT_LONG, CNT_SHORT, CNT_UCHAR, CNT_ULONG, CNT_USHORT, IdCntCopy(), IdCntGetUsedNbX, IdCntSameSize, IdCntSetUsedNbX, IdCntType, IDERR_WRONG_DIM, IDERR_WRONG_TYPE, IdErrno, IdPrintf(), PCONTOUR, PCONTOUR_CHAR, PCONTOUR_FLOAT, PCONTOUR_LONG, PCONTOUR_SHORT, PCONTOUR_UCHAR, and PCONTOUR_ULONG.

PCONTOUR IdCntClear PCONTOUR   ) 
 

Definition at line 671 of file cntutil.c.

References CNT, IdCntDimX, IdCntSetUsedNbX, IDERR_POINTER_IS_NULL, IDERR_WRONG_TYPE, IdErrno, IdLibidoType, IdSizeOfType, and PCONTOUR.

PCONTOUR IdCntCopy PCONTOUR  ,
PCONTOUR 
 

Definition at line 719 of file cntutil.c.

References IdCntDimX, IdCntGetUsedNbX, IdCntSameSizeAndType, IdCntSetUsedNbX, IDERR_WRONG_DIM, IdErrno, IdSizeOfType, and PCONTOUR.

Referenced by IdCntCast().

void IdCntSwap PCONTOUR  ,
int 
 


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