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

cntcdg.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "idcnt.h"
#include "iderr.h"

Go to the source code of this file.

Functions

void IdCntCentreGravite (PCONTOUR_USHORT Pts, int *GravX, int *GravY)
void IdCntRectEnglob (PCONTOUR_USHORT Pts, int *Xmin, int *Ymin, int *Xmax, int *Ymax)
int _IdCntClean (PCONTOUR_USHORT *cnt1)
int _IdCntCleanFromStart (PCONTOUR_USHORT *cnt1, int stP)
int _IdCntConnexPts (PCONTOUR_USHORT *cnt1, int ferme)
double IdCntSurfacePoly (PCONTOUR_USHORT cntSource)
int IdCntFillExtPolygon (PCONTOUR_USHORT cntSource, PPIMAGE_UCHAR im, int nivGris)
int IdCntFillPolygon (PCONTOUR_USHORT cntSource, PPIMAGE_UCHAR im, int nivGris)
int IdCntFillPolygonXXX (PCONTOUR_USHORT cntSource, PPIMAGE_UCHAR im, int nivGris)
int IdImaFillContour (PPIMAGE_UCHAR im, int nivGris)


Function Documentation

int _IdCntClean PCONTOUR_USHORT cnt1  ) 
 

Definition at line 173 of file cntcdg.c.

References IdCntGetX, IdCntGetY, IdCntSetUsedNbX, IdCntSetX, IdCntSetY, and IdCntUsedNbX.

int _IdCntCleanFromStart PCONTOUR_USHORT cnt1,
int  stP
 

Definition at line 230 of file cntcdg.c.

References IdCntGetX, IdCntGetY, IdCntSetUsedNbX, IdCntSetX, IdCntSetY, and IdCntUsedNbX.

int _IdCntConnexPts PCONTOUR_USHORT cnt1,
int  ferme
 

Definition at line 289 of file cntcdg.c.

References CNT_USHORT, IdCntAddPoint, IdCntAddPointsOfSegment, IdCntAlloc(), IdCntClean, IdCntFree, IdCntGetX, IdCntGetY, and IdCntUsedNbX.

void IdCntCentreGravite PCONTOUR_USHORT  Pts,
int *  GravX,
int *  GravY
 

Definition at line 82 of file cntcdg.c.

References IdCntGetX, IdCntGetY, IdCntUsedNbX, and PCONTOUR_USHORT.

int IdCntFillExtPolygon PCONTOUR_USHORT  cntSource,
PPIMAGE_UCHAR  im,
int  nivGris
 

Definition at line 469 of file cntcdg.c.

References IdCntFillPolygon(), IdImaAllocLikeImage(), IdImaClear(), IdImaDimX(), IdImaDimY(), PPIMAGE, and PPIMAGE_UCHAR.

int IdCntFillPolygon PCONTOUR_USHORT  cntSource,
PPIMAGE_UCHAR  im,
int  nivGris
 

Definition at line 518 of file cntcdg.c.

References IdCntClean, IdCntDrawPolygon(), IdCntUsedNbX, IdImaAllocLikeImage(), IdImaClear(), IdImaDimX(), IdImaDimY(), IdImaFill(), IdImaFree, PPIMAGE, and PPIMAGE_UCHAR.

Referenced by IdCntFillExtPolygon().

int IdCntFillPolygonXXX PCONTOUR_USHORT  cntSource,
PPIMAGE_UCHAR  im,
int  nivGris
 

Definition at line 555 of file cntcdg.c.

References IdCntClean, IdCntDrawPolygonOffset(), IdCntRectEnglob(), IdCntUsedNbX, IdImaAlloc(), IdImaClear(), IdImaDimX(), IdImaDimY(), IMA_UCHAR, PPIMAGE, and PPIMAGE_UCHAR.

void IdCntRectEnglob PCONTOUR_USHORT  Pts,
int *  Xmin,
int *  Ymin,
int *  Xmax,
int *  Ymax
 

Definition at line 127 of file cntcdg.c.

References IdCntGetX, IdCntGetY, and IdCntUsedNbX.

Referenced by IdCntFillPolygonXXX(), IdCntSurfacePoly(), and IdCntZoomContourDouble().

double IdCntSurfacePoly PCONTOUR_USHORT  cntSource  ) 
 

Definition at line 363 of file cntcdg.c.

References IdCntClean, IdCntDrawPolygonOffset(), IdCntRectEnglob(), IdCntUsedNbX, IdImaAlloc(), IdImaClear(), IdImaDimX(), IdImaDimY(), IMA_UCHAR, PPIMAGE, and PPIMAGE_UCHAR.

int IdImaFillContour PPIMAGE_UCHAR  im,
int  nivGris
 

Definition at line 739 of file cntcdg.c.

References IdImaAllocLikeImage(), IdImaClear(), IdImaDimX(), IdImaDimY(), PPIMAGE, and PPIMAGE_UCHAR.


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