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

Display


Functions

void DisplayImage2D (PPIMAGE_UCHAR image)
 Display a 2D image This function just calls the library Libido function IdImaDisplay and checks if the DISPLAY is not broken (useful for test on grid architecture).

void DisplayObject3D (OBJECT3D *object, int deb, int nb, char *visuname)
 Display the two first components (ro, t1, t2) of a 3D object.

void DisplayObject2D (OBJECT3D *object, char *visuname)
 Display the two first components (ro, t1, t2) of a 2D object.

void DisplayObject1D (OBJECT3D *object, char *visuname)
 Display the two first components (ro, t1, t2) of a 1D object.

void DisplayVol (PPPVOLUME vol, int deb, int nb, int recad, int N, char *visuname, int save, char *filename)
 Display a volume plane by plane.

void DisplayVolXY (PPPVOLUME vol, int z, char *visuname)
 Display an XY plane of a 3D volume.

void DisplayVolX (PPPVOLUME vol, int y, int z, char *visuname, int save, char *filename)
 Display an X line of a 3D volume, and can save the corresponding signal.


Function Documentation

void DisplayImage2D PPIMAGE_UCHAR  image  ) 
 

Display a 2D image This function just calls the library Libido function IdImaDisplay and checks if the DISPLAY is not broken (useful for test on grid architecture).

Parameters:
vol Pointer on the volume to display
deb First plane to display
nb Number of planes to dispaly
visuname name for the figure title

Definition at line 48 of file display.c.

References IdImaDimX(), IdImaDimY(), IdImaDisplay(), and image.

Referenced by DisplayObject1D(), DisplayObject2D(), DisplayVol(), DisplayVolX(), and SetObjectFieldDefault2D().

void DisplayObject1D OBJECT3D object,
char *  visuname
 

Display the two first components (ro, t1, t2) of a 1D object.

Parameters:
vol Pointer on the volume to display
visuname name for the figure title

Definition at line 289 of file display.c.

References DisplayImage2D(), IdImaFree, IdImaSignalToImage(), IdSetFileName(), IdSigAlloc(), IdSigFree, object, PPIMAGE_UCHAR, PSIGNAL_USHORT, SIG_USHORT, and x.

void DisplayObject2D OBJECT3D object,
char *  visuname
 

Display the two first components (ro, t1, t2) of a 2D object.

Parameters:
vol Pointer on the volume to display
visuname name for the figure title

Definition at line 132 of file display.c.

References DisplayImage2D(), IdImaAlloc(), IdImaFree, IdImaMaxima(), IdImaMinima(), IdSetFileName(), IMA_SHORT, IMA_UCHAR, max, min, object, PPIMAGE, PPIMAGE_UCHAR, PPIMAGE_USHORT, RO, T1, T2, and x.

void DisplayObject3D OBJECT3D object,
int  deb,
int  nb,
char *  visuname
 

Display the two first components (ro, t1, t2) of a 3D object.

Parameters:
vol Pointer on the volume to display
deb First plane to display
nb Number of planes to dispaly
visuname name for the figure title

Definition at line 64 of file display.c.

References DisplayVol(), IdVolAlloc(), IdVolFree, object, OBJECT3D, PPPVOLUME, PPPVOLUME_USHORT, RO, T1, T2, VOL_USHORT, and x.

void DisplayVol PPPVOLUME  vol,
int  deb,
int  nb,
int  recad,
int  N,
char *  visuname,
int  save,
char *  filename
 

Display a volume plane by plane.

Warning:
Does not work for Complex volume
Parameters:
vol Pointer on the volume to display
deb First plane to display
nb Number of planes to dispaly
recad Gray level scaling used for display (linear (0), Abs (1) log (2))
n Scaling factor.
visuname Name of the figure title
save Set to 1 if you want to save the displayed signal
filename Name of the file used to save the signal

Definition at line 385 of file display.c.

References ABSO, deb, DisplayImage2D(), IdAcrWriteFile(), IdImaAlloc(), IdImaFree, IdSetFileName(), IdVolAlloc(), IdVolDimX, IdVolDimY, IdVolDimZ, IdVolFree, IdVolMaxima(), IdVolMinima(), IdVolType, IMA_UCHAR, LOG, PPIMAGE_UCHAR, PPPVOLUME_DOUBLE, PPPVOLUME_FLOAT, PPPVOLUME_LONG, PPPVOLUME_SHORT, PPPVOLUME_UCHAR, PPPVOLUME_ULONG, PPPVOLUME_USHORT, RABS, RECAD, RLOG, val, VOL_DOUBLE, VOL_FLOAT, VOL_LONG, VOL_SHORT, VOL_UCHAR, VOL_ULONG, VOL_USHORT, and x.

Referenced by DisplayObject3D(), and DisplayVolXY().

void DisplayVolX PPPVOLUME  vol,
int  y,
int  z,
char *  visuname,
int  save,
char *  filename
 

Display an X line of a 3D volume, and can save the corresponding signal.

/**********************************************************

Parameters:
vol Pointer on the volume to display
y Column number
z Plane number
visuname Name of the figure title
save Set to 1 if you want to save the displayed signal
filename Name of the file used to save the signal

Definition at line 634 of file display.c.

References DisplayImage2D(), IdImaFree, IdImaSignalToImage(), IdSetFileName(), IdSigAlloc(), IdSigFree, IdSigWriteRawFile(), IdVolDimX, IdVolType, PPIMAGE_UCHAR, PPPVOLUME_DOUBLE, PPPVOLUME_FLOAT, PPPVOLUME_UCHAR, PSIGNAL, PSIGNAL_DOUBLE, SIG_DOUBLE, VOL_DOUBLE, VOL_FLOAT, VOL_UCHAR, and x.

Referenced by TestEchoGradient1D(), TestEchoSpin1D(), and TestFID1D().

void DisplayVolXY PPPVOLUME  vol,
int  z,
char *  visuname
 

Display an XY plane of a 3D volume.

/**********************************************************

Parameters:
vol Pointer on the volume to display
z Plane number
visuname Name of the figure title

Definition at line 618 of file display.c.

References DisplayVol().

Referenced by TestSequence2D(), and TestSequence3D().


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