70#include <vip/volume/volume_gen.h>
71#include <vip/volume/subvolume_gen.h>
88#define STATE_DECLARED 1
89#define STATE_ALLOCATED 2
96#define VIP_DEC_VOLUME(aVolumePtr) Volume *aVolumePtr = NULL
308#define mVipVolName(vol) ((vol)->name)
309#define mVipVolSizeX(vol) ((vol)->size.x)
310#define mVipVolSizeY(vol) ((vol)->size.y)
311#define mVipVolSizeZ(vol) ((vol)->size.z)
312#define mVipVolSizeT(vol) ((vol)->size.t)
313#define mVipVolType(vol) ((vol)->type)
314#define mVipVolVoxSizeX(vol) ((vol)->voxelSize.x)
315#define mVipVolVoxSizeY(vol) ((vol)->voxelSize.y)
316#define mVipVolVoxSizeZ(vol) ((vol)->voxelSize.z)
317#define mVipVolVoxSizeT(vol) ((vol)->voxelSize.t)
318#define mVipVolBorderWidth(vol) ((vol)->borderWidth)
319#define mVipVolShfjUnite(vol) ((vol)->shfj->unite)
320#define mVipVolShfjVmdType(vol) ((vol)->shfj->VmdType)
321#define mVipVolShfjScale(vol) ((vol)->shfj->scale)
322#define mVipVolShfjOffset(vol) ((vol)->shfj->offset)
562 Volume *volume,
int frameNumber
572 Volume *volume,
int frameNumber
1022 const char *ima_name
1031 const char *ima_name
1070 const char *ima_name
1080 const char *ima_name,
1091 const char *ima_name
1101 const char *ima_name,
1112 const char *ima_name
1122 const char *ima_name,
1133 const char *ima_name,
1143 const char *ima_name
1152 const char *ima_name,
1164 const char *ima_name,
1175 const char *ima_name
1185 const char *ima_name
1196 const char *ima_name
1206 const char *ima_name
1214 const char *ima_name
struct swapfileNode * next
int VipTestTypeN(Volume *volume, int n,...)
Volume * VipCreate3DVolume(int xSize, int ySize, int zSize, float xVoxelSize, float yVoxelSize, float zVoxelSize, int type, char *name, int borderWidth)
long VipOffsetVolume(Volume *volume)
int VipSetShfjUnite(Volume *volume, int unite)
Volume * VipAllocVolumeStructure()
int VipBorderWidthOf(Volume *volume)
Volume * VipDeclare3DVolumeStructure(int xSize, int ySize, int zSize, float xVoxelSize, float yVoxelSize, float zVoxelSize, int type, char *name, int borderWidth)
long VipOffsetLastPoint(Volume *volume)
int VipTransferVolumeData(Volume *volumeR, Volume *volumeW)
long VipOffsetLine(Volume *volume)
long VipOffsetLineBetweenSlice(Volume *volume)
int VipTestState(Volume *volume, int state)
int VipSizeofType(Volume *volume)
int VipWriteVolume(Volume *volume, const char *ima_name)
Volume * VipCreate4DVolume(int xSize, int ySize, int zSize, int tSize, float xVoxelSize, float yVoxelSize, float zVoxelSize, float tVoxelSize, int type, char *name, int borderWidth)
Volume * VipReadVidaFloatFrame(const char *ima_name, int fr1, int fr2)
int VipVerifyAll(Volume *volume)
int VipShfjVmdType(Volume *volume)
int VipTestEqualBorderWidth(Volume *volume1, Volume *volume2)
int VipShfjUnite(Volume *volume)
void VipCopyVolumeHeader(Volume *sourceVolume, Volume *destVolume)
int VipResizeBorder(Volume *volume, int borderWidth)
int VipSetSizeX(Volume *volume, int nx)
Volume * VipReadVolume(const char *name)
int VIP_EXIT_IN_PRINTFEXIT
int VipAllocateVolumeData(Volume *volume)
int VipSet3DVoxelSize(Volume *volume, float dx, float dy, float dz)
int VipGet3DSize(Volume *volume, int *sizeX, int *sizeY, int *sizeZ)
int VipWriteSPMVolume(Volume *volume, const char *ima_name)
long VipOffsetPointBetweenLine(Volume *volume)
int VipSet4DVoxelSize(Volume *volume, float dx, float dy, float dz, float dt)
float VipShfjOffset(Volume *volume)
int VipGetImageFormat(const char *ima_name)
char * VipGetRTConfigString(const char *name)
char * VipGetVolumeName(Volume *volume)
int VipTypeOf(Volume *volume)
int VipGet3DVoxelSize(Volume *volume, float *voxelSizeX, float *voxelSizeY, float *voxelSizeZ)
char * VipTypeName(int type)
Volume * VipCopyVolume(Volume *volume, char *name)
int VipTestEqual4DSize(Volume *volume1, Volume *volume2)
int VipShfjDurationTime(Volume *volume, int frameNumber)
Volume * VipReadSPMVolumeWithBorder(const char *ima_name, int borderWidth)
int VipSetSizeZ(Volume *volume, int nz)
Volume * VipReadVidaVolume(const char *ima_name)
long VipGet3DSizeInVoxels(Volume *volume)
Volume * VipReadVidaFloatVolume(const char *ima_name)
int VipTestExistN(int n,...)
int VipFreeVolumeData(Volume *volume)
int VipTestExist(Volume *volume)
int VipSetShfjOffset(Volume *volume, float offset)
int VipSizetOf(Volume *volume)
Volume * VipReadVidaFrame(const char *ima_name, int fr1, int fr2)
Volume * VipReadTivoliVolumeWithBorder(const char *ima_name, int borderWidth)
long VipOffsetSlice(Volume *volume)
VipOffsetStruct * VipGetOffsetStructure(Volume *volume)
Volume * VipReadTivoliVolume(const char *ima_name)
int VipTestImageFileExist(const char *ima_name)
int VipSet3DSize(Volume *volume, int nx, int ny, int nz)
Volume * VipReadSPMVolume(const char *ima_name)
int VipGet4DSize(Volume *volume, int *sizeX, int *sizeY, int *sizeZ, int *sizeT)
Volume * VipDeclare4DVolumeStructure(int xSize, int ySize, int zSize, int tSize, float xVoxelSize, float yVoxelSize, float zVoxelSize, float tVoxelSize, int type, char *name, int borderWidth)
int VipFreeVolume(Volume *volume)
int VipVerify2Dformat(Volume *volume)
int VipGet4DVoxelSize(Volume *volume, float *voxelSizeX, float *voxelSizeY, float *voxelSizeZ, float *voxelSizeT)
Volume * VipReadVidaVolumeWithBorder(const char *ima_name, int borderWidth)
int VipSizeyOf(Volume *volume)
int VipTestEqualType(Volume *volume1, Volume *volume2)
Volume * VipDuplicateVolumeStructure(Volume *volume, char *name)
float VipShfjScale(Volume *volume)
int VipTestType(Volume *volume, int type)
Volume * VipReadVidaFloatVolumeWithBorder(const char *ima_name, int borderWidth)
int VipSetShfjVmdType(Volume *volume, int vmdtype)
int VipWriteVidaScaledVolume(Volume *volume, const char *ima_name)
int VipSizexOf(Volume *volume)
int VipWriteTivoliVolume(Volume *volume, const char *ima_name)
int VipGetRTConfigLong(const char *name, long *value)
long VipGet3DSizeInBytes(Volume *volume)
int VipSetShfjScale(Volume *volume, float scale)
int VipSizezOf(Volume *volume)
int VipShfjStartTime(Volume *volume, int frameNumber)
int VipTestEqual3DSize(Volume *volume1, Volume *volume2)
int VipSetSizeY(Volume *volume, int ny)
Volume * VipReadVidaHeader(const char *ima_name)
int VipAddBorder(Volume *volume)
int VipTestEqual2DSize(Volume *volume1, Volume *volume2)
int VipSetBorderWidth(Volume *volume, int borderWidth)
int VipSetState(Volume *volume, int state)
int VipTestStateN(Volume *volume, int n,...)
int VipSetSizeT(Volume *volume, int nt)
Volume * VipReadVolumeWithBorder(const char *name, int borderWidth)
int VipSetVolumeName(Volume *volume, char *name)
long VipOffsetFirstPoint(Volume *volume)
long VipOffsetSliceBetweenVolume(Volume *volume)
int VipSet4DSize(Volume *volume, int nx, int ny, int nz, int nt)
int VipSetType(Volume *volume, int type)