|
typedef long long | generation_type |
| Generation number compatible with DataBlock class.
|
|
typedef int | index_type |
| Index used for addressing memory inside the datablock underlying the slice.
|
|
|
| DataSlice (DataBlockHandle datablock, SliceType slice_type, index_type index) |
|
size_t | get_nx () const |
| Get the number of samples in the x direction.
|
|
size_t | get_ny () const |
| Get the number of samples in the y direction.
|
|
size_t | get_nz () const |
| Get the number of samples in the z direction.
|
|
size_t | get_size () const |
| Get the total number of samples.
|
|
size_t | get_elem_size () const |
| Get the size of the data elements.
|
|
size_t | get_byte_size () const |
| Get the size in bytes.
|
|
DataType | get_data_type () const |
| The type of the data.
|
|
SliceType | get_slice_type () const |
| Whether the slice is axial, coronal, or sagittal.
|
|
generation_type | get_generation () const |
| Get the current generation number of the data volume.
|
|
DataBlockHandle | get_data_block () const |
| Get the underlying data block that contains the data of the slice.
|
|
void * | get_data () const |
| Get the pointer of the data in the dat block underlying this class.
|
|
index_type | get_index () const |
| Get the index of the slice.
|
|
void | set_index (index_type) |
| Set the index of the slice.
|
|
|
static bool | Duplicate (const DataSliceHandle &src_data_slice, DataSliceHandle &dst_data_slice) |
| Clone the data in a datablock by generating a new one and copying the data into it.
|
|
The documentation for this class was generated from the following files: