xmsinterp
1.0
|
Threading class to compute idw interpolation in parallel. More...
Public Member Functions | |
InterpThread (InterpIdwImpl &a_, VecFlt &a_s, const VecPt3d &a_p) | |
constructor More... | |
BSHP< ThreadLoop > | CreateForNewThread () override |
creates an instance of this class for a new thread More... | |
Public Member Functions inherited from xms::ThreadLoop | |
void | SetStartNumIterCnt (int a_startIdx, int a_numIter, int *a_cntPtr) |
Sets up the thread worker. More... | |
void | DoWork () |
Executes the work of the thread. | |
Public Attributes | |
InterpIdwImpl & | m_interp |
Idw interpolation class. | |
VecFlt & | m_scalarTo |
Scalars filled by this class. | |
const VecPt3d & | m_pts |
Pts being interpolated to. | |
Private Member Functions | |
void | Worker () override |
Actually does the interpolation in a thread. | |
Additional Inherited Members | |
Protected Member Functions inherited from xms::ThreadLoop | |
int | CurrIdx () |
Returns the current index of the thread. More... | |
Threading class to compute idw interpolation in parallel.
Definition at line 51 of file InterpIdw.cpp.
|
inline |
constructor
[in] | a_ | Idw interpolation class |
[out] | a_s | Scalars filled by this class |
[in] | a_p | Pts being interpolated to |
Definition at line 58 of file InterpIdw.cpp.
Referenced by CreateForNewThread().
|
inlineoverridevirtual |
creates an instance of this class for a new thread
Implements xms::ThreadLoop.
Definition at line 71 of file InterpIdw.cpp.
References InterpThread(), m_interp, m_pts, and m_scalarTo.