#include <erode.h>
Inheritance diagram for vlVolProcessorErode:

Public Member Functions | |
| vlVolProcessorErode () | |
| Default constructor. | |
| virtual | ~vlVolProcessorErode () |
| Default destructor. | |
| void | init () |
| This function is called after execution of setVolume(). | |
| bool | run () |
| Run the vol processor. | |
| template<> bool | runT (uint8 &dummy) |
Protected Member Functions | |
| template<class DataType> bool | runT (DataType &dummy) |
| template<class DataType> bool | erode (DataType &dummy) |
| template<class DataType> bool | erodeReal (vlVolume *tagVol, const DataType &tag, const std::vector< vlPoint3ui > &boundaryVoxels, const uint32 iterations, const uint16 neighborhood, const DataType newTag, std::vector< vlPoint3ui > &newBoundaryVoxels) |
Definition at line 41 of file erode.h.
|
|
Definition at line 43 of file erode.cpp. References vlPlugin::infoRef(), vlPluginInfo::setName(), vlPluginInfo::setService(), and vlPluginInfo::setVersion(). |
|
|
|
|
||||||||||
|
Definition at line 111 of file erode.cpp. References vlVarListAdmin::add(), vlVarListAdmin::clear(), vlVolProcessor::configRef(), erodeReal(), vlVarList::get(), vlVolProcessor::resultsRef(), uint16, uint32, uint64, and vlVolProcessor::vol(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 158 of file erode.cpp. References vlVolume::dim(), vlVoxelNeighbors::getN18Triples(), vlVoxelNeighbors::getN26Triples(), vlVoxelNeighbors::getN6Triples(), vlVolIterConst< DataType, Layout >::getRelative(), vlVolIterConst< DataType, Layout >::moveTo(), vlVolIter< DataType, Layout >::setRelative(), and uint32. Referenced by erode(). |
|
|
If the volume argument is not valid, then init() is not called. Implement this function if you need to do any initialization before the user calls run. For e.g., this is the right place to add config parameters which are volume type dependent. Reimplemented from vlVolProcessor. Definition at line 58 of file erode.cpp. References vlVarListAdmin::add(), vlVarListAdmin::clear(), vlVolProcessor::configRef(), uint16, uint32, uint64, VL_NOCHANGE, vlBitOperation, and vlVolProcessor::vol(). |
|
|
Implements vlVolProcessor. Definition at line 90 of file erode.cpp. References callFunctionOnDataTypeNoArgs, vlVolume::dim(), vlVolume::isValid(), runT(), and vlVolProcessor::vol(). |
|
||||||||||
|
|
|
||||||||||
|
Definition at line 84 of file erode.cpp. Referenced by run(). |
1.3.3