OpenWalnut
1.5.0dev
|
Interface for Resampling fibers. More...
#include <WResampling_I.h>
Public Member Functions | |
virtual WDataSetFibers::SPtr | operator() (WProgress::SPtr progress, WBoolFlag const &shutdown, WDataSetFibers::SPtr fibers) |
Resample each fiber within the given fiber dataset according to the given implementation of virtual resample(). More... | |
virtual | ~WResampling_I () |
Destructor. More... | |
Protected Member Functions | |
virtual WFiber | resample (WFiber fib) const =0 |
All overrided methods should resample the fiber in their specific way. More... | |
Interface for Resampling fibers.
Definition at line 35 of file WResampling_I.h.
|
virtual |
Destructor.
Definition at line 29 of file WResampling_I.cpp.
|
virtual |
Resample each fiber within the given fiber dataset according to the given implementation of virtual resample().
progress | This will indicate progress. |
shutdown | Possibility to abort in case of shutdown. |
fibers | The fibers which should be resampled. |
Definition at line 33 of file WResampling_I.cpp.
References wlog::debug(), and resample().
All overrided methods should resample the fiber in their specific way.
fib | The fiber to resample. |
Implemented in WResampleBySegLengthKeepShortFibers, WResampleBySegLength, WResampleByNumPoints, and WResampleByMaxPoints.
Referenced by operator()().