Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

vlVolProcessorDilate Class Reference

This is a class for performing region growing on vlVolumes. More...

#include <dilate.h>

Inheritance diagram for vlVolProcessorDilate:

vlVolProcessor vlPlugin List of all members.

Public Member Functions

 vlVolProcessorDilate ()
 Default constructor.

virtual ~vlVolProcessorDilate ()
 Default destructor.

void init ()
 Override init().

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 dilate (DataType &dummy)
template<class DataType> bool dilateReal (vlVolume *tagVol, const DataType &tag, const std::vector< vlPoint3ui > &boundaryVoxels, const uint32 iterations, const uint16 neighborhood, const DataType newTag, std::vector< vlPoint3ui > &newBoundaryVoxels)

Detailed Description

More document will come soon.

Author:
Sarang Lakare <sarang@users.sf.net>

Definition at line 43 of file dilate.h.


Constructor & Destructor Documentation

vlVolProcessorDilate::vlVolProcessorDilate  ) 
 

Definition at line 43 of file dilate.cpp.

References vlPlugin::infoRef(), vlPluginInfo::setName(), vlPluginInfo::setService(), and vlPluginInfo::setVersion().

vlVolProcessorDilate::~vlVolProcessorDilate  )  [virtual]
 

Definition at line 53 of file dilate.cpp.


Member Function Documentation

template<class DataType>
bool vlVolProcessorDilate::dilate DataType &  dummy  )  [protected]
 

Definition at line 115 of file dilate.cpp.

References vlVarListAdmin::add(), vlVarListAdmin::clear(), vlVolProcessor::configRef(), dilateReal(), vlVarList::get(), vlVolProcessor::resultsRef(), uint16, uint32, uint64, and vlVolProcessor::vol().

template<class DataType>
bool vlVolProcessorDilate::dilateReal vlVolume tagVol,
const DataType &  tag,
const std::vector< vlPoint3ui > &  boundaryVoxels,
const uint32  iterations,
const uint16  neighborhood,
const DataType  newTag,
std::vector< vlPoint3ui > &  newBoundaryVoxels
[protected]
 

Todo:
Remove delta.. needs vlPoint3ui + vlOffset defined

Definition at line 170 of file dilate.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 dilate().

void vlVolProcessorDilate::init  )  [virtual]
 

Reimplemented from vlVolProcessor.

Definition at line 58 of file dilate.cpp.

References vlVarListAdmin::add(), vlVarListAdmin::clear(), vlVolProcessor::configRef(), uint16, uint32, uint64, VL_NOCHANGE, vlBitOperation, and vlVolProcessor::vol().

bool vlVolProcessorDilate::run  )  [virtual]
 

Returns:
true if successful, false otherwise.

Implements vlVolProcessor.

Definition at line 94 of file dilate.cpp.

References callFunctionOnDataTypeNoArgs, vlVolume::dim(), vlVolume::isValid(), runT(), and vlVolProcessor::vol().

template<>
bool vlVolProcessorDilate::runT uint8 dummy  ) 
 

template<class DataType>
bool vlVolProcessorDilate::runT DataType &  dummy  )  [protected]
 

Definition at line 88 of file dilate.cpp.

Referenced by run().


The documentation for this class was generated from the following files:
Generated on Fri Mar 18 11:33:23 2005 for OpenVL by doxygen 1.3.3