#include <alphaadd.h>
Inheritance diagram for vlVolProcessorAlphaAdd:

Public Member Functions | |
| vlVolProcessorAlphaAdd () | |
| Default constructor. | |
| virtual | ~vlVolProcessorAlphaAdd () |
| Default destructor. | |
| void | init () |
| This function is called after execution of setVolume(). | |
| bool | run () |
| Run the vol processor. | |
| template<> bool | runT (vlColorRGBAub &dummy) |
| template<> bool | runT (vlColorRGBub &dummy) |
Protected Member Functions | |
| template<class DataType> bool | runT (DataType &dummy) |
| template<class DataType> bool | alphaAdd (DataType &dummy) |
| template<class DataType> bool | alphaAddReal (vlVolIter< DataType > *iter, vlVolIter< vlColorRGBAub > *rgbaIter) |
Protected Attributes | |
| vlVolume * | m_rgbaVol |
| Mask volume. | |
Definition at line 41 of file alphaadd.h.
|
|
Definition at line 44 of file alphaadd.cpp. References vlPlugin::infoRef(), vlPluginInfo::setName(), vlPluginInfo::setService(), and vlPluginInfo::setVersion(). |
|
|
Definition at line 54 of file alphaadd.cpp. |
|
||||||||||
|
|
|
||||||||||||||||
|
Definition at line 71 of file alphaadd.cpp. References vlVolIterConst< DataType, Layout >::end(), vlVolIterConst< DataType, Layout >::get(), vlVolIterConst< DataType, Layout >::next(), vlVolIter< DataType, Layout >::set(), uint8, vlColorRGBAub, and vlColorRGBub. |
|
|
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 alphaadd.cpp. References vlVarListAdmin::add(), vlVarListAdmin::clear(), vlVolProcessor::configRef(), uint32, UnsignedInt8, VL_NOCHANGE, and vlBitOperation. |
|
|
Implements vlVolProcessor. Definition at line 115 of file alphaadd.cpp. References callFunctionOnDataTypeNoArgs, vlVolProcessor::configRef(), vlVolume::dim(), vlVarList::get(), vlVarList::isDefined(), vlVarList::isValid(), m_rgbaVol, runT(), and vlVolProcessor::vol(). |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Definition at line 135 of file alphaadd.cpp. Referenced by run(). |
|
|
Definition at line 66 of file alphaadd.h. Referenced by run(). |
1.3.3