Since most of the data that will be manipulated in the SliceO_Class structures are images, we have the possibility to create 2D matrices of data.
|
Private:
|
m_matrix (void **) |
Pointer to the matrix
|
|
m_mat_x (unsigned short)
|
"x" dimension of the matrix |
|
|
m_mat_y (unsigned short)
|
"y" dimension of the matrix |
|
|
m_mat_dim (unsigned short)
|
size (in bytes) of each cell of the matrix |
|
|
Public: |
A method that return a pointer to the name of this instance or a pointer to "no name" if it is empty. By default, the name is the name of the file without path or extensions.
|
|
|
|
A method that clear the content of the matrix to "0" |
|
|
|
A method that return the "x" dimension of the matrix. |
|
|
|
A method that return the "x" dimension of the matrix. |
|
|
|
A method that return the size (in bytes) of each cell of the matrix. |
|
|
|
A method that return a pointer to the matrix. |
|
|
|
A method that create the matrix by making a duplicate of an existing matrix of the same dimensions. |
|
|
|
A method that free the memory used by the matrix. |