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

object.c File Reference

#include "object.h"
#include "object-simple.h"
#include "object-ki.h"
#include "object-compound.h"
#include "object-brain.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

OBJECT3DGetTestObject2D (int obj, int x, int y, double db0)
 Create a 2D object for testing a sequence.

OBJECT3DGetTestObject3D (int obj, int x, int y, int z, double db0)
 Create a 3D object for testing a sequence.

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

OBJECT3DAllocObject (int x, int y, int z, int nbcomp, int nbparam)
 Virtual object allocation.

void FreeObject (OBJECT3D *object)
 Object free.

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

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

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

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

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

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

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


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