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

object.h File Reference

#include <stdlib.h>
#include <idseq.h>
#include <idvol.h>
#include <idsig.h>
#include <idmatric.h>

Go to the source code of this file.

Data Structures

struct  _Object3D

Defines

#define WATER   0
#define FAT   1
#define DECWATER   0.0
#define DECFAT   150.0
#define RO   0
#define T1   1
#define T2   2

Typedefs

typedef OBJECT3D Data structure
for th virtual object struct
_Object3D 
OBJECT3D

Functions

OBJECT3DGetTestObject2D (int, int, int, double)
 Create a 2D object for testing a sequence.

OBJECT3DGetTestObject3D (int, int, int, int, double)
 Create a 3D object for testing a sequence.

OBJECT3DAllocObject (int, int, int, int, int)
 Virtual object allocation.

void FreeObject (OBJECT3D *)
 Object free.

void WriteObject (OBJECT3D *, char *)
 Save an object within a file.

void SaveObjectAsVolFloat (OBJECT3D *)
 Save a virtual object within a set of float volumes.

OBJECT3DReadObject (char *)
 Allocate and read a virtual object from file.

void SetObjectSize (OBJECT3D *, float, float, float)
 Define the size in meter of a virtual object.

void SetObjectDeltaB0 (OBJECT3D *, double)
 Set the T2* weight by definig an intra spin deltab0 value For now, this value is constant all over the volume.

void SetObjectChemicalShift (OBJECT3D *, float, int)
 Fix the chemical shift value of each component.

void SetObjectActiveComponent (OBJECT3D *, int)
 Define the component that will be considered for acquisition.

void SetObjectPoint (OBJECT3D *, int, int, int, int, int, int, int)
 Set the ro t1 t2 values of one point (voxel) of an object component.


Define Documentation

#define DECFAT   150.0
 

150.0 Chemical shift (in Hertz) from fat to water at 1 Tesla

Definition at line 51 of file object.h.

Referenced by CreateObjectBiComponent1D(), CreateObjectBiComponent2DCircle(), CreateObjectBiComponent2DCircleEllipse(), and CreateObjectBiComponent3DSphere().

#define DECWATER   0.0
 

0.0 Chemical shift from water :-)

Definition at line 50 of file object.h.

Referenced by CreateObjectBiComponent1D(), CreateObjectBiComponent2DCircle(), CreateObjectBiComponent2DCircleEllipse(), and CreateObjectBiComponent3DSphere().

#define FAT   1
 

1 Number of fat component

Definition at line 47 of file object.h.

Referenced by CreateObjectBiComponent1D(), CreateObjectBiComponent2DCircle(), CreateObjectBiComponent2DCircleEllipse(), CreateObjectBiComponent3DSphere(), and SetObjectExperienceComponent().

#define RO   0
 

Definition at line 53 of file object.h.

Referenced by DisplayObject2D(), and DisplayObject3D().

#define T1   1
 

Definition at line 54 of file object.h.

Referenced by DisplayObject2D(), and DisplayObject3D().

#define T2   2
 

Definition at line 55 of file object.h.

Referenced by DisplayObject2D(), and DisplayObject3D().

#define WATER   0
 

0 Number of water component

Definition at line 46 of file object.h.

Referenced by ClearZplane(), Create2DTestObjectCircleEllipseSquare(), Create2DTestObjectRectangleRoGradient(), CreateHomogeneousObject(), CreateObject3DSphereEllipse(), CreateObjectBiComponent1D(), CreateObjectBiComponent2DCircle(), CreateObjectBiComponent2DCircleEllipse(), CreateObjectBiComponent3DSphere(), LabelToObject(), SetEllipticalCylindricObject(), SetEllipticalObject(), SetObjectCone(), SetObjectEllipseComponent(), SetObjectExperienceComponent(), SetSphericalCylindricObject(), SetSphericalObject(), TestEchoGradient1D(), TestEchoSpin1D(), TestFID1D(), TestSimulatedEcho(), TestTrainEchoGradient1D(), and TestTrainEchoSpin1D().


Typedef Documentation

typedef OBJECT3D Data structure for th virtual object struct _Object3D OBJECT3D
 

Referenced by AllocObject(), Create2DTestObjectCircleEllipseSquare(), Create2DTestObjectRectangleRoGradient(), CreateEllipticalObject(), CreateHomogeneousObject(), CreateObject1DSectionKi(), CreateObject2DCircleKi(), CreateObject2DKi(), CreateObject3DSphereEllipse(), CreateObject3DSphereKi(), CreateObjectBiComponent1D(), CreateObjectBiComponent2DCircle(), CreateObjectBiComponent2DCircleEllipse(), CreateObjectBiComponent3DSphere(), CreateSphericalObject(), DisplayObject3D(), GetTestObject2D(), GetTestObject3D(), LabelToObject(), ReadObject(), TestEchoGradient1D(), TestEchoSpin1D(), TestFID1D(), TestSequence2D(), TestSequence3D(), TestSimulatedEcho(), TestTrainEchoGradient1D(), and TestTrainEchoSpin1D().


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