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

object-ki.c File Reference

#include "object-ki.h"
#include <idseq.h>
#include <idacr.h>
#include <string.h>
#include <idvol.h>
#include "display.h"

Go to the source code of this file.

Functions

void SetObjectFieldDefault1D (OBJECT3D *object, int posy, int posz, PPPVOLUME_FLOAT dech, int dimx)
 Set the field default value for a 1D object Values are given in tesla and normalised for a 1 Tesla B0 field.

void SetObjectFieldDefault2D (OBJECT3D *object, int pos, PPPVOLUME_FLOAT dech, int dimx, int dimy)
 Set the field default value for a 2D object Values are given in tesla and normalised for a 1 Tesla B0 field.

void SetObjectFieldDefault3D (OBJECT3D *object, PPPVOLUME_FLOAT dech, int dimx, int dimy, int dimz)
 Set the field default value for a 3D object Values are given in tesla and normalised for a 1 Tesla B0 field.

void SetObjectFieldDefault (OBJECT3D *object, PPPVOLUME_FLOAT dech)
 Set the field default value of an object.

void SetObjectPointSusceptibility (OBJECT3D *object, int x, int y, int z, int ro, int t1, int t2, int ki)
PVECTOR_FLOAT AllocInitVectFloat (int x)
 Allocate a 1D float vector initialized to zero.

PPPVOLUME_FLOAT GetParamFromDataFile (char *filein, PSIGNAL_FLOAT datatab)
 Allocate and set vales of a Float volume regarding a volume of unsigned char label and a table that gives the values associated to the label.

OBJECT3DCreateObject3DSphereKi (int dimx, int dimy, int dimz)
 Create an object which is a 3D homogeneous sphere in ro t1 t2 ki.

OBJECT3DCreateObject2DCircleKi (int dimx, int dimy)
 Create an object which is a 2D homogeneous circle in ro t1 t2 ki (part of a sphere).

OBJECT3DCreateObject1DSectionKi (int dimx)
 Create an object which is a 1D homogeneous segment in ro t1 t2 ki (part of a sphere).

OBJECT3DCreateObject2DKi (float RoExt, float RoInt, float T1Ext, float T1Int, float T2Ext, float T2Int, float KiExt, float KiInt, int dimx, int dimy, char *filelabel, char *filedech)
 Create an object with two regions homogeneous in ro, t1, t2, ki values.


Function Documentation

void SetObjectPointSusceptibility OBJECT3D object,
int  x,
int  y,
int  z,
int  ro,
int  t1,
int  t2,
int  ki
 

Definition at line 140 of file object-ki.c.

References object, and x.

Referenced by CreateObject1DSectionKi(), CreateObject2DCircleKi(), CreateObject2DKi(), and CreateObject3DSphereKi().


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