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

idcnt-ido.h File Reference

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

Go to the source code of this file.

Data Structures

struct  PRIVATE_CONTOUR

Defines

#define CNT_CHAR   (CNT | TY_CHAR)
#define CNT_UCHAR   (CNT | TY_UCHAR)
#define CNT_SHORT   (CNT | TY_SHORT)
#define CNT_USHORT   (CNT | TY_USHORT)
#define CNT_LONG   (CNT | TY_LONG)
#define CNT_ULONG   (CNT | TY_ULONG)
#define CNT_FLOAT   (CNT | TY_FLOAT)
#define CNT_DOUBLE   (CNT | TY_DOUBLE)
#define _IdCntPrivate(cnt)   (((PRIVATE_CONTOUR*)(cnt))-1)
#define IdCntType(cnt_)   ( _IdCntPrivate(cnt_)->Type)
#define IdCntDimX(cnt_)   ( _IdCntPrivate(cnt_)->DimX)
#define IdCntSetX(contour_, i, val)   (contour_)[(i)].x=(val)
#define IdCntSetY(contour_, i, val)   (contour_)[(i)].y=(val)
#define IdCntGetX(contour_, i)   (contour_)[(i)].x
#define IdCntGetY(contour_, i)   (contour_)[(i)].y
#define IdCntModifyPoint(contour_, i, valx, valy)   (contour_)[(i)].x=(valx),(contour_)[(i)].y=(valy)
#define IdCntSameSizeAndType(i1, i2)
#define IdCntSameSize(i1, i2)   ( (i1)&&(i2) && (IdCntDimX(i1)==IdCntDimX(i2)) )
#define IdCntNbPts(cnt_)   ( _IdCntPrivate(cnt_)->DimX)
#define IdCntUsedNbX(cnt_)   ( _IdCntPrivate(cnt_)->UsedNbX)
#define IdCntUsedNbPts(cnt_)   ( _IdCntPrivate(cnt_)->UsedNbX)
#define IdCntSetUsedNbX(cnt_, nb)   ( _IdCntPrivate(cnt_)->UsedNbX=(nb))
#define IdCntSetUsedNbPts(cnt_, nb)   ( _IdCntPrivate(cnt_)->UsedNbX=(nb))
#define IdCntGetUsedNbX(cnt_)   ( _IdCntPrivate(cnt_)->UsedNbX)
#define IdCntGetUsedNbPts(cnt_)   ( _IdCntPrivate(cnt_)->UsedNbX)

Typedefs

typedef void * PCONTOUR
typedef IDXPOINT_CHARPCONTOUR_CHAR
typedef IDXPOINT_UCHARPCONTOUR_UCHAR
typedef IDXPOINT_FLOATPCONTOUR_FLOAT
typedef IDXPOINT_DOUBLEPCONTOUR_DOUBLE
typedef IDXPOINT_SHORTPCONTOUR_SHORT
typedef IDXPOINT_USHORTPCONTOUR_USHORT
typedef IDXPOINT_LONGPCONTOUR_LONG
typedef IDXPOINT_ULONGPCONTOUR_ULONG


Define Documentation

#define _IdCntPrivate cnt   )     (((PRIVATE_CONTOUR*)(cnt))-1)
 

Definition at line 78 of file idcnt-ido.h.

Referenced by _IdCntFree(), IdAcrWriteFileExtended(), IdCntModifLongueur(), IdDcmReadFileIntoVectorFromDcmHdr(), IdGetFileName(), IdGetMessage(), IdSetFileName(), and IdSetMessage().

#define CNT_CHAR   (CNT | TY_CHAR)
 

Definition at line 44 of file idcnt-ido.h.

Referenced by IdCntCast().

#define CNT_DOUBLE   (CNT | TY_DOUBLE)
 

Definition at line 51 of file idcnt-ido.h.

Referenced by IdCntCast().

#define CNT_FLOAT   (CNT | TY_FLOAT)
 

Definition at line 50 of file idcnt-ido.h.

Referenced by IdCntCast().

#define CNT_LONG   (CNT | TY_LONG)
 

Definition at line 48 of file idcnt-ido.h.

Referenced by IdCntCast().

#define CNT_SHORT   (CNT | TY_SHORT)
 

Definition at line 46 of file idcnt-ido.h.

Referenced by IdCntCast().

#define CNT_UCHAR   (CNT | TY_UCHAR)
 

Definition at line 45 of file idcnt-ido.h.

Referenced by IdCntCast().

#define CNT_ULONG   (CNT | TY_ULONG)
 

Definition at line 49 of file idcnt-ido.h.

Referenced by IdCntCast().

#define CNT_USHORT   (CNT | TY_USHORT)
 

Definition at line 47 of file idcnt-ido.h.

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

#define IdCntDimX cnt_   )     ( _IdCntPrivate(cnt_)->DimX)
 

Definition at line 81 of file idcnt-ido.h.

Referenced by _IdCntAddPoint(), _IdCntInsertPoint(), _IdCntInsertPointsOfSegment(), IdAcrWriteFileExtended(), IdCntClear(), IdCntConcat(), and IdCntCopy().

#define IdCntGetUsedNbPts cnt_   )     ( _IdCntPrivate(cnt_)->UsedNbX)
 

Definition at line 103 of file idcnt-ido.h.

#define IdCntGetUsedNbX cnt_   )     ( _IdCntPrivate(cnt_)->UsedNbX)
 

Definition at line 102 of file idcnt-ido.h.

Referenced by _IdCntInsertPoint(), IdCntCast(), IdCntCopy(), IdCntDelPoint(), and IdCntDelPoints().

#define IdCntGetX contour_,
 )     (contour_)[(i)].x
 

Definition at line 84 of file idcnt-ido.h.

Referenced by _IdCntClean(), _IdCntCleanFromStart(), _IdCntConnexPts(), _IdCntDrawPolygonOffset(), _IdCntInsertPoint(), _IdCntInsertPointsOfSegment(), IdCntCentreGravite(), IdCntMoveContour(), IdCntRectEnglob(), IdCntRotateContour(), IdCntRotateContourDouble(), and IdCntZoomContourDouble().

#define IdCntGetY contour_,
 )     (contour_)[(i)].y
 

Definition at line 85 of file idcnt-ido.h.

Referenced by _IdCntClean(), _IdCntCleanFromStart(), _IdCntConnexPts(), _IdCntDrawPolygonOffset(), _IdCntInsertPoint(), _IdCntInsertPointsOfSegment(), IdCntCentreGravite(), IdCntMoveContour(), IdCntRectEnglob(), IdCntRotateContour(), IdCntRotateContourDouble(), and IdCntZoomContourDouble().

#define IdCntModifyPoint contour_,
i,
valx,
valy   )     (contour_)[(i)].x=(valx),(contour_)[(i)].y=(valy)
 

Definition at line 86 of file idcnt-ido.h.

#define IdCntNbPts cnt_   )     ( _IdCntPrivate(cnt_)->DimX)
 

Definition at line 97 of file idcnt-ido.h.

#define IdCntSameSize i1,
i2   )     ( (i1)&&(i2) && (IdCntDimX(i1)==IdCntDimX(i2)) )
 

Definition at line 91 of file idcnt-ido.h.

Referenced by IdCntCast().

#define IdCntSameSizeAndType i1,
i2   ) 
 

Value:

( (i1)&&(i2) \ && (IdCntDimX(i1)==IdCntDimX(i2)) \ && (IdCntType(i1)==IdCntType(i2)) )

Definition at line 88 of file idcnt-ido.h.

Referenced by IdCntCopy().

#define IdCntSetUsedNbPts cnt_,
nb   )     ( _IdCntPrivate(cnt_)->UsedNbX=(nb))
 

Definition at line 101 of file idcnt-ido.h.

#define IdCntSetUsedNbX cnt_,
nb   )     ( _IdCntPrivate(cnt_)->UsedNbX=(nb))
 

Definition at line 100 of file idcnt-ido.h.

Referenced by _IdCntClean(), _IdCntCleanFromStart(), _IdCntInsertPoint(), _IdCntInsertPointsOfSegment(), IdCntCast(), IdCntClear(), IdCntConcat(), IdCntCopy(), IdCntDelPoint(), IdCntDelPoints(), and IdDcmReadFileIntoVectorFromDcmHdr().

#define IdCntSetX contour_,
i,
val   )     (contour_)[(i)].x=(val)
 

Definition at line 82 of file idcnt-ido.h.

Referenced by _IdCntAddPoint(), _IdCntClean(), _IdCntCleanFromStart(), _IdCntInsertPoint(), IdCntMoveContour(), IdCntRotateContour(), IdCntRotateContourDouble(), and IdCntZoomContourDouble().

#define IdCntSetY contour_,
i,
val   )     (contour_)[(i)].y=(val)
 

Definition at line 83 of file idcnt-ido.h.

Referenced by _IdCntAddPoint(), _IdCntClean(), _IdCntCleanFromStart(), _IdCntInsertPoint(), IdCntMoveContour(), IdCntRotateContour(), IdCntRotateContourDouble(), and IdCntZoomContourDouble().

#define IdCntType cnt_   )     ( _IdCntPrivate(cnt_)->Type)
 

Definition at line 80 of file idcnt-ido.h.

Referenced by IdCntCast().

#define IdCntUsedNbPts cnt_   )     ( _IdCntPrivate(cnt_)->UsedNbX)
 

Definition at line 99 of file idcnt-ido.h.

#define IdCntUsedNbX cnt_   )     ( _IdCntPrivate(cnt_)->UsedNbX)
 

Definition at line 98 of file idcnt-ido.h.

Referenced by _IdCntAddPoint(), _IdCntClean(), _IdCntCleanFromStart(), _IdCntConnexPts(), _IdCntDrawPolygonOffset(), _IdCntInsertPoint(), _IdCntInsertPointsOfSegment(), IdAcrWriteFileExtended(), IdCntCentreGravite(), IdCntConcat(), IdCntDelPoint(), IdCntDelPoints(), IdCntFillPolygon(), IdCntFillPolygonXXX(), IdCntMoveContour(), IdCntRectEnglob(), IdCntRotateContour(), IdCntRotateContourDouble(), IdCntSurfacePoly(), and IdCntZoomContourDouble().


Typedef Documentation

typedef void* PCONTOUR
 

Definition at line 53 of file idcnt-ido.h.

Referenced by _IdCntInsertPointsOfSegment(), IdAcrWriteFileExtended(), IdCntAlloc(), IdCntCast(), IdCntClear(), IdCntConcat(), IdCntCopy(), IdCntModifLongueur(), IdCntVecteurToContour(), and IdDcmReadFileIntoVectorFromDcmHdr().

typedef IDXPOINT_CHAR* PCONTOUR_CHAR
 

Definition at line 54 of file idcnt-ido.h.

Referenced by IdCntCast().

typedef IDXPOINT_DOUBLE* PCONTOUR_DOUBLE
 

Definition at line 57 of file idcnt-ido.h.

Referenced by IdCntRotateContourDouble().

typedef IDXPOINT_FLOAT* PCONTOUR_FLOAT
 

Definition at line 56 of file idcnt-ido.h.

Referenced by IdCntCast().

typedef IDXPOINT_LONG* PCONTOUR_LONG
 

Definition at line 60 of file idcnt-ido.h.

Referenced by IdCntCast().

typedef IDXPOINT_SHORT* PCONTOUR_SHORT
 

Definition at line 58 of file idcnt-ido.h.

Referenced by IdCntCast().

typedef IDXPOINT_UCHAR* PCONTOUR_UCHAR
 

Definition at line 55 of file idcnt-ido.h.

Referenced by IdCntCast().

typedef IDXPOINT_ULONG* PCONTOUR_ULONG
 

Definition at line 61 of file idcnt-ido.h.

Referenced by IdCntCast().

typedef IDXPOINT_USHORT* PCONTOUR_USHORT
 

Definition at line 59 of file idcnt-ido.h.

Referenced by IdCntCentreGravite().


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