#include <nearestneighbor.h>
Inheritance diagram for vlInterpolatorNNPlugin:

Public Member Functions | |
| vlInterpolatorNNPlugin () | |
| Default constructor. | |
| virtual | ~vlInterpolatorNNPlugin () |
| Default destructor. | |
| vlInterpolationType | interpolationType () const |
| Returns the interpolation type implemented by this layout. | |
| std::vector< vlLayoutType > | getSupportedLayouts () const |
| Returns the layout's natively supported by this plugin. | |
| vlInterpolatorSuperBase * | getNativeInterpolator (const vlDataType &datatype, const vlLayoutType type) |
| Returns an interpolator object which uses the given layouts native iterators. | |
| vlInterpolatorSuperBase * | getVirtualInterpolator (const vlDataType &datatype) |
| Returns an interpolator object which uses the VirtualCall iterator. | |
Protected Member Functions | |
| template<typename DataType> vlInterpolatorSuperBase * | getNativeInterpolatorT (DataType &dummy, const vlLayoutType type) |
| template<typename DataType, vlLayoutType Layout> vlInterpolatorSuperBase * | getNativeInterpolatorTT () |
| This function does the real job. | |
| template<typename DataType> vlInterpolatorSuperBase * | getVirtualInterpolatorT (DataType &dummy) |
| This function does the real job. | |
Protected Attributes | |
| const vlInterpolationType | m_interpolationType |
| Stores the interpolation type this plugin implements. | |
| std::vector< vlLayoutType > | m_supportedLayouts |
| Stores a list of supported volume data layouts. | |
Definition at line 41 of file nearestneighbor.h.
|
|
Definition at line 40 of file nearestneighbor.cpp. References vlPluginInfo::addAuthor(), vlPlugin::infoRef(), m_supportedLayouts, vlPluginInfo::setCopyrightText(), vlPluginInfo::setName(), vlPluginInfo::setService(), vlPluginInfo::setVersion(), and vlLayout::supported(). |
|
|
Definition at line 57 of file nearestneighbor.cpp. |
|
||||||||||||
|
If no native implementation is available, the it returns 0L. Implements vlInterpolatorPlugin. Definition at line 75 of file nearestneighbor.cpp. References callFunctionOnDataType, and getNativeInterpolatorT(). |
|
||||||||||||||||
|
Definition at line 83 of file nearestneighbor.cpp. References callFunctionOnLayoutWithDataTypeNoArgs, and getNativeInterpolatorTT(). Referenced by getNativeInterpolator(). |
|
|||||||||
|
Definition at line 92 of file nearestneighbor.cpp. Referenced by getNativeInterpolatorT(). |
|
|
By native support we mean the layout's native iterators are used directly in the implementation. These are the layouts which were directly supported by OpenVL when this plugin gets compiled. For all other layouts, the VirtualCall iterators will be used. Implements vlInterpolatorPlugin. Definition at line 70 of file nearestneighbor.cpp. References m_supportedLayouts. |
|
|
Implements vlInterpolatorPlugin. Definition at line 99 of file nearestneighbor.cpp. References callFunctionOnDataTypeNoArgs, and getVirtualInterpolatorT(). |
|
||||||||||
|
Definition at line 108 of file nearestneighbor.cpp. Referenced by getVirtualInterpolator(). |
|
|
Implements vlInterpolatorPlugin. Definition at line 64 of file nearestneighbor.cpp. References m_interpolationType, and vlInterpolationType. |
|
|
Definition at line 86 of file nearestneighbor.h. Referenced by interpolationType(). |
|
|
Definition at line 89 of file nearestneighbor.h. Referenced by getSupportedLayouts(), and vlInterpolatorNNPlugin(). |
1.3.3