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

vlVolProcessorConcatenate Class Reference

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

#include <concatenate.h>

Inheritance diagram for vlVolProcessorConcatenate:

vlVolProcessor vlPlugin List of all members.

Public Member Functions

 vlVolProcessorConcatenate ()
 Default constructor.

virtual ~vlVolProcessorConcatenate ()
 Default destructor.

void init ()
 This function is called after execution of setVolume().

bool run ()
 Run the vol processor.


Protected Member Functions

template<class DataType> bool copyDataT (DataType &dummy, const vlPoint3ui fromPos, const vlPoint3ui toPos)

Protected Attributes

vlVolumem_concatVol
vlDim m_concatDim

Detailed Description

More document will come soon.

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

Definition at line 40 of file concatenate.h.


Constructor & Destructor Documentation

vlVolProcessorConcatenate::vlVolProcessorConcatenate  ) 
 

Definition at line 43 of file concatenate.cpp.

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

vlVolProcessorConcatenate::~vlVolProcessorConcatenate  )  [virtual]
 

Definition at line 53 of file concatenate.cpp.


Member Function Documentation

template<class DataType>
bool vlVolProcessorConcatenate::copyDataT DataType &  dummy,
const vlPoint3ui  fromPos,
const vlPoint3ui  toPos
[protected]
 

Definition at line 71 of file concatenate.cpp.

References vlVolume::dim(), vlVolIterConst< DataType, Layout >::get(), m_concatVol, min, vlVolIterConst< DataType, Layout >::moveTo(), vlVolIterConst< DataType, Layout >::nextXYZ(), vlVolIter< DataType, Layout >::set(), vlVolProcessor::vol(), vlTriple< uint16 >::x(), vlTriple< uint16 >::y(), and vlTriple< uint16 >::z().

Referenced by run().

void vlVolProcessorConcatenate::init  )  [virtual]
 

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 concatenate.cpp.

References vlVarListAdmin::add(), vlVarListAdmin::clear(), vlVolProcessor::configRef(), VL_NOCHANGE, and vlBitOperation.

bool vlVolProcessorConcatenate::run  )  [virtual]
 

Returns:
true if successful, false otherwise.

Implements vlVolProcessor.

Definition at line 106 of file concatenate.cpp.

References callFunctionOnDataType, vlVolProcessor::configRef(), copyDataT(), vlVolume::dim(), vlVarList::get(), vlVarList::isDefined(), vlVolume::isValid(), vlVarList::isValid(), m_concatVol, max, vlVolume::resize(), vlVolProcessor::vol(), vlTriple< uint16 >::x(), x, vlTriple< uint16 >::y(), y, vlTriple< uint16 >::z(), and z.


Member Data Documentation

vlDim vlVolProcessorConcatenate::m_concatDim [protected]
 

Definition at line 59 of file concatenate.h.

vlVolume* vlVolProcessorConcatenate::m_concatVol [protected]
 

Definition at line 58 of file concatenate.h.

Referenced by copyDataT(), and 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