#include <mitkCoherentVolume.h>
Inherits mitkDataObject.
Inheritance diagram for mitkCoherentVolume:
Public Member Functions | |
virtual void | Initialize () |
virtual int | GetDataObjectType () const |
virtual unsigned long long | GetActualMemorySize () const |
virtual void | ShallowCopy (mitkDataObject *src) |
virtual void | DeepCopy (mitkDataObject *src) |
void | SetBlockSize (const int bs[3]) |
void | GetBlcokSize (int bs[3]) |
void | SetDimensions (const int dims[3]) |
void | GetDimensions (int dims[3]) const |
void | SetSpacings (const float s[3]) |
void | GetSpacings (float s[3]) const |
void | GetBlockNum (int bn[3]) |
int | GetDataTypeSize () const |
void | SetDataType (int data_type) |
int | GetDataType () const |
void | AllocateBlocks () |
void | SetBlockSlice (void *sliceData, int sliceID, int dimz=-1) |
void | SetData (void *data) |
void | SetICVolume (mitkICVolume *icv) |
float | GetValue (int x, int y, int z) |
void | GetMinMaxValue (double &minValue, double &maxValue) |
mitkCoherentVolume encapsulates a blocked volume data structure Call SetDimensions, SetSpacings, SetDataType, before you call AllocateBlocks There are three methods to fill contents into this structure Call SetData if you have the sequentially stored data as a whole block Call SetBlockSlice if you want to set the data content using a block slice as the unit. A block slice is part of the whole volume with the thickness equal to the z-dimension of a block. Call SetICVolume if you have an allocated ICVolume and just want to have it converted Use GetValue to access the data value at a given position
|
Allocate space for the blocks |
|
Implements mitkDataObject. |
|
Return the actual memory size occupied by the volume data. The unit is BYTE.
Implements mitkDataObject. |
|
Get the size of the blocks used for storage.
|
|
Get the number of blocks in x, y, z direction of this volume.
|
|
Return the data object type.
Reimplemented from mitkDataObject. |
|
Get data type of this volume. MITK supports various data type.
|
|
Get the size of the data type in bytes.
|
|
Get dimension in x, y, z direction of this volume.
|
|
Get the minimum and maximum data value of all the volume data.
|
|
Get spacing information in x, y and z axis, the unit is mm.
|
|
Get value at a given posistion
|
|
Delete the allocated memory (if any) and initialize to default status. Implements mitkDataObject. |
|
Set the size of the blocks used for storage. Not required to call, but call it before anything else.
|
|
Fill in a slice of the blocks in the data structure
|
|
Fill in the whole volume of the data structure
|
|
Set data type of this volume. MITK supports various data type.
|
|
Set dimension in x, y, z direction of this volume.
|
|
Setup the coherent volume object using an allocated ICVolume object icv Pointer to the ICVolume object. |
|
Set spacing information in x, y and z axis, the unit is mm.
|
|
Implements mitkDataObject. |