33 #ifndef INDEXMATRIXDATA_H
34 #define INDEXMATRIXDATA_H
65 const char * MatrixName);
68 const char * MatrixName,
69 const size_t CompressionLevel);
static const size_t ChunkSize_1D_256KB
Number of elements to get 256KB block of data.
size_t GetTotalNumberOfElementsInAllCuboids() const
Get the total number of elements to be sampled within all cuboids.
TDimensionSizes GetBottomRightCorner(const size_t &index) const
Get the bottom right corner of the index-th cuboid.
void RecomputeIndicesToMatlab()
Recompute indices C++ -> MATLAB.
TIndexMatrix()
Default constructor not allowed for public.
static const size_t ChunkSize_1D_1MB
Number of elements to get 1MB block of data.
TDimensionSizes GetTopLeftCorner(const size_t &index) const
Get the top left corner of the index-th cuboid.
The header file containing the structure with 3D dimension sizes.
size_t & operator[](const size_t &index)
Abstract base class for index based matrices defining basic interface. Higher dimensional matrices st...
void RecomputeIndicesToCPP()
Recompute indices MATALAB->C++.
size_t * pMatrixData
Raw matrix data.
The class for 64b unsigned integers (indices). It is used for sensor_mask_index or sensor_corners_mas...
TIndexMatrix & operator=(const TIndexMatrix &src)
Operator = not allowed for public.
virtual void WriteDataToHDF5File(THDF5_File &HDF5_File, const char *MatrixName, const size_t CompressionLevel)
Write data into the HDF5 file.
The header file containing the base class for index matrices (based on the size_t datatype)...
virtual void ReadDataFromHDF5File(THDF5_File &HDF5_File, const char *MatrixName)
Read data from the HDF5 file.
virtual ~TIndexMatrix()
Destructor.
static const size_t ChunkSize_1D_4MB
Number of elements to get 4MB block of data.
Class wrapping the HDF5 routines.
Structure with 4D dimension sizes (3 in space and 1 in time).
virtual void FreeMemory()
Memory deallocation.