SDA (SDA flex)  7.2
Simulation of Diffusional Association
Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
DTGrid2D< T, K > Class Template Reference

#include <DTGrid2D.hpp>

Collaboration diagram for DTGrid2D< T, K >:

Protected Member Functions

void set_value_list_2D (K *, int)
 DTGrid2D 'value' array setup. More...
 
void set_ycoord_list (K *, int)
 yCoord array setup More...
 
void set_ptr_list_2D (K *, int)
 acc (2D) array setup More...
 
void set_projection1D (K *, K *, K *, int, int, int)
 proj2D setup More...
 
ArrayPrs< K >::PairArray * accessxy (int, int)
 Reset pointers that temporarily store addresses for random access. Similar to that for DT-Grid3D. More...
 
void getVoxelyz (T *, int, int, int, typename ArrayPrs< K >::PairArray *)
 
void Reset_pointers_2D (void)
 

Private Member Functions

 ~DTGrid2D ()
 DTGrid3D destructor. More...
 

Private Attributes

ArrayPrs< K > * Value_List_2D
 
ArrayPrs< K > * Ycoord_List
 
ArrayPtr< T, K > * Ptr_List_2D
 
DTGrid1D< T, K > * proj1D
 
int Length_of_Value_List_2D
 
int Length_of_Ycoord_List
 
int Length_of_Ptr_List_2D
 

Friends

template<class M , class H >
class DTGrid3D
 
class DTGrid3Dex
 
template<class M , class H >
class DTGrid1D
 

Constructor & Destructor Documentation

◆ ~DTGrid2D()

template<typename T , typename K >
DTGrid2D< T, K >::~DTGrid2D
private

DTGrid3D destructor.

Member Function Documentation

◆ accessxy()

template<typename T , typename K >
ArrayPrs< K >::PairArray * DTGrid2D< T, K >::accessxy ( int  a,
int  b 
)
protected

Reset pointers that temporarily store addresses for random access. Similar to that for DT-Grid3D.

The function is not required when the pointers are not used as global variables. Random access function of DTGrid2D class.

Parameters
aindex x of the data value to be returned
bindex y of the data value to be returned
Here is the caller graph for this function:

◆ getVoxelyz()

template<typename T , typename K >
void DTGrid2D< T, K >::getVoxelyz ( T *  ,
int  ,
int  ,
int  ,
typename ArrayPrs< K >::PairArray *   
)
protected

◆ Reset_pointers_2D()

template<typename T , typename K >
void DTGrid2D< T, K >::Reset_pointers_2D ( void  )
protected

◆ set_projection1D()

template<typename T , typename K >
void DTGrid2D< T, K >::set_projection1D ( K *  values1,
K *  values2,
K *  values3,
int  length1,
int  length2,
int  length3 
)
protected

proj2D setup

Create an instance of a DTGrid1D class and set up the proj1D object that contain xCoord, acc and the 'value' arrays of DTGrid1D.

Parameters
values1pointer to the 'value' array of the DTGrid1D.
values2pointer to the xCoord array of the DTGrid1D.
values3pointer to the acc array of the DTGrid1D.
length1length of the 'value' array.
length2length of the xCoord array.
length3length of the acc array.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_ptr_list_2D()

template<typename T , typename K >
void DTGrid2D< T, K >::set_ptr_list_2D ( K *  values,
int  length 
)
protected

acc (2D) array setup

Read and store the list of pointers to the first member of each of the connected components in a 2-dimensional DT-Grid.

Parameters
valuespointer to the array that stores the acc array indices.
lengthlength of the acc array.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_value_list_2D()

template<typename T , typename K >
void DTGrid2D< T, K >::set_value_list_2D ( K *  values,
int  length 
)
protected

DTGrid2D 'value' array setup.

Read the 2D 'value' array and store.

Parameters
valuespointer to the array that stores the 'value' array of DTGrid2D.
lengthlength of the 'value' array.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_ycoord_list()

template<typename T , typename K >
void DTGrid2D< T, K >::set_ycoord_list ( K *  values,
int  length 
)
protected

yCoord array setup

Read and store the yCoord array that stores in minimum and maximum coordinates of the connected components in y direction.

Parameters
valuesthe pointer that addresses to the values of yCoord array.
lengththe length of the yCoord array.
Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ DTGrid1D

template<typename T , typename K >
template<class M , class H >
friend class DTGrid1D
friend

◆ DTGrid3D

template<typename T , typename K >
template<class M , class H >
friend class DTGrid3D
friend

◆ DTGrid3Dex

template<typename T , typename K >
friend class DTGrid3Dex
friend

Member Data Documentation

◆ Length_of_Ptr_List_2D

template<typename T , typename K >
int DTGrid2D< T, K >::Length_of_Ptr_List_2D
private

◆ Length_of_Value_List_2D

template<typename T , typename K >
int DTGrid2D< T, K >::Length_of_Value_List_2D
private

◆ Length_of_Ycoord_List

template<typename T , typename K >
int DTGrid2D< T, K >::Length_of_Ycoord_List
private

◆ proj1D

template<typename T , typename K >
DTGrid1D<T,K>* DTGrid2D< T, K >::proj1D
private

◆ Ptr_List_2D

template<typename T , typename K >
ArrayPtr<T,K>* DTGrid2D< T, K >::Ptr_List_2D
private

◆ Value_List_2D

template<typename T , typename K >
ArrayPrs<K>* DTGrid2D< T, K >::Value_List_2D
private

◆ Ycoord_List

template<typename T , typename K >
ArrayPrs<K>* DTGrid2D< T, K >::Ycoord_List
private

The documentation for this class was generated from the following file:
Imprint/Privacy