EMVolume Class Reference
Kilian turn around dimension so it is y,x,z like in matlab !
More...
#include <vtkDataDef.h>
List of all members.
Public Member Functions |
| void | Conv (double *v, int vLen) |
| | Kilian : Just to be compatible with older version.
|
| void | Conv (float *v, int vLen) |
| void | ConvX (EMVolume &src, float v[], int vLen) |
| | Same as above only sorce and target Volume are different => Slower.
|
| void | ConvX (float *v, int vLen) |
| void | ConvY (float *v, int vLen) |
| | End - Multi Thread Function.
|
| void | ConvZ (EMVolume &src, float v[], int vLen) |
| | Same as above only sorce and target Volume are different => Slower.
|
| void | ConvZ (float *v, int vLen) |
| | EMVolume (int initZ, int initY, int initX) |
| | EMVolume () |
| void | EraseDataFile (char *FileName) |
| float * | GetData () |
| int | GetMaxX () |
| int | GetMaxY () |
| int | GetMaxZ () |
| const float & | operator() (int z, int y, int x) const |
| float & | operator() (int z, int y, int x) |
| EMVolume & | operator= (const EMVolume &trg) |
| void | Print (char name[]) |
| void | ReadDataFromFile (char *FileName) |
| void | Resize (int DimZ, int DimY, int DimX) |
| void | SaveDataToFile (char *FileName) |
| void | SetValue (float val) |
| void | Test (int Vdim) |
| | ~EMVolume () |
Protected Member Functions |
| void | allocate (int initZ, int initY, int initX) |
| void | deallocate () |
Protected Attributes |
| float * | Data |
| int | MaxX |
| int | MaxXY |
| int | MaxXYZ |
| int | MaxY |
| int | MaxZ |
Detailed Description
Kilian turn around dimension so it is y,x,z like in matlab !
Definitions for 3D float array EMVolume ----------------------------------------------------------------------------------------------/
Constructor & Destructor Documentation
| EMVolume::EMVolume |
( |
|
) |
[inline] |
| EMVolume::EMVolume |
( |
int |
initZ, |
|
|
int |
initY, |
|
|
int |
initX | |
|
) |
| | [inline] |
| EMVolume::~EMVolume |
( |
|
) |
[inline] |
Member Function Documentation
| void EMVolume::allocate |
( |
int |
initZ, |
|
|
int |
initY, |
|
|
int |
initX | |
|
) |
| | [inline, protected] |
| void EMVolume::Conv |
( |
double * |
v, |
|
|
int |
vLen | |
|
) |
| | |
Kilian : Just to be compatible with older version.
References Conv().
| void EMVolume::Conv |
( |
float * |
v, |
|
|
int |
vLen | |
|
) |
| | [inline] |
Convolution in all three direction Can be made using less memory but then it will be probably be slower
Referenced by Conv().
| void EMVolume::ConvX |
( |
EMVolume & |
src, |
|
|
float |
v[], |
|
|
int |
vLen | |
|
) |
| | |
Same as above only sorce and target Volume are different => Slower.
| void EMVolume::ConvX |
( |
float * |
v, |
|
|
int |
vLen | |
|
) |
| | |
| void EMVolume::ConvY |
( |
float * |
v, |
|
|
int |
vLen | |
|
) |
| | |
| void EMVolume::ConvZ |
( |
EMVolume & |
src, |
|
|
float |
v[], |
|
|
int |
vLen | |
|
) |
| | |
Same as above only sorce and target Volume are different => Slower.
| void EMVolume::ConvZ |
( |
float * |
v, |
|
|
int |
vLen | |
|
) |
| | |
| void EMVolume::deallocate |
( |
|
) |
[inline, protected] |
| void EMVolume::EraseDataFile |
( |
char * |
FileName |
) |
[inline] |
| float* EMVolume::GetData |
( |
|
) |
[inline] |
| int EMVolume::GetMaxX |
( |
|
) |
[inline] |
| int EMVolume::GetMaxY |
( |
|
) |
[inline] |
| int EMVolume::GetMaxZ |
( |
|
) |
[inline] |
| const float& EMVolume::operator() |
( |
int |
z, |
|
|
int |
y, |
|
|
int |
x | |
|
) |
| | const [inline] |
| float& EMVolume::operator() |
( |
int |
z, |
|
|
int |
y, |
|
|
int |
x | |
|
) |
| | [inline] |
| void EMVolume::Print |
( |
char |
name[] |
) |
|
| void EMVolume::ReadDataFromFile |
( |
char * |
FileName |
) |
[inline] |
First uncompress file
Do not quit here bc could have been unzipped before - if file does not exist next check will catch it
Could not open file
terminate
Compress it back
References fclose, FILE, fopen, and fread.
| void EMVolume::Resize |
( |
int |
DimZ, |
|
|
int |
DimY, |
|
|
int |
DimX | |
|
) |
| | [inline] |
| void EMVolume::SaveDataToFile |
( |
char * |
FileName |
) |
[inline] |
| void EMVolume::SetValue |
( |
float |
val |
) |
[inline] |
| void EMVolume::Test |
( |
int |
Vdim |
) |
|
Member Data Documentation
The documentation for this class was generated from the following files: