#include <DTGrid1D.hpp>
◆ ~DTGrid1D()
template<typename T , typename K >
◆ accessx()
template<typename T , typename K >
Reset pointers for random access. Similar to that for DT-Grid2D.
The function is not required when the pointers are not used as global variables. Random access function of DTGrid1D class.
- Parameters
-
a | index x of the data value to be returned |
◆ accessx2()
template<typename T , typename K >
A more compact version of the random access function of DTGrid1D class.
- Parameters
-
a | index x of the data value to be returned. |
1D DT-Grid is assumed to consist only of one connected component.
Therefore no iteration required. Computational gain is not significant.
◆ getVoxelxyz()
template<typename T , typename K >
T* DTGrid1D< T, K >::getVoxelxyz |
( |
T * |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
protected |
◆ Reset_pointers_1D()
template<typename T , typename K >
void DTGrid1D< T, K >::Reset_pointers_1D |
( |
void |
| ) |
|
|
protected |
◆ set_ptr_list_1D()
template<typename T , typename K >
void DTGrid1D< T, K >::set_ptr_list_1D |
( |
K * |
values, |
|
|
int |
length |
|
) |
| |
|
protected |
acc (1D) array setup
Read and store the list of pointers to the first member of each of the connected components in a 1D DT-Grid.
- Parameters
-
values | pointer to the array that stores the acc array indices. |
length | length of the acc array. |
◆ set_value_list_1D()
template<typename T , typename K >
void DTGrid1D< T, K >::set_value_list_1D |
( |
K * |
values, |
|
|
int |
length |
|
) |
| |
|
protected |
DTGrid1D 'value' array setup.
Read the 1D 'value' array and store.
- Parameters
-
values | pointer to the array that stores the 'value' array of DTGrid1D. |
length | length of the 'value' array. |
◆ set_xcoord_list()
template<typename T , typename K >
void DTGrid1D< T, K >::set_xcoord_list |
( |
K * |
values, |
|
|
int |
length |
|
) |
| |
|
protected |
xCoord array setup
Read and store the xCoord array that stores in minimum and maximum coordinates of the connected components in x direction.
- Parameters
-
values | the pointer that addresses to the values of xCoord array. |
length | the length of the xCoord array. |
◆ DTGrid2D
template<typename T , typename K >
template<class M , class H >
◆ DTGrid3D
template<typename T , typename K >
template<class M , class H >
◆ DTGrid3Dex
template<typename T , typename K >
◆ Length_of_Ptr_List_1D
template<typename T , typename K >
int DTGrid1D< T, K >::Length_of_Ptr_List_1D |
|
protected |
◆ Length_of_Value_List_1D
template<typename T , typename K >
int DTGrid1D< T, K >::Length_of_Value_List_1D |
|
protected |
◆ Length_of_Xcoord_List
template<typename T , typename K >
int DTGrid1D< T, K >::Length_of_Xcoord_List |
|
protected |
◆ Ptr_List_1D
template<typename T , typename K >
◆ set_countdown_1
template<typename T , typename K >
◆ Value_List_1D
template<typename T , typename K >
◆ Xcoord_List
template<typename T , typename K >
The documentation for this class was generated from the following file: