#include <vlenums.h>
Static Public Member Functions | |
| std::vector< vlLayoutType > | supported () |
| Returns the layouts supported by OpenVL. | |
Static Public Attributes | |
| const vlLayoutType | VirtualCall = 1 |
| This will use virtual call to call appropriate layout iterator. | |
| const vlLayoutType | Generic = 2 |
| This is for generic iterators which can work on any data layout - will be slow. | |
| const vlLayoutType | Linear = 10 |
| Linear layout. | |
| const vlLayoutType | Unknown1 = 1000 |
| Experimental 3rd party plugin-based layouts - unknown to OpenVL. | |
| const vlLayoutType | Unknown2 = 1001 |
| const vlLayoutType | Unknown3 = 1002 |
| const vlLayoutType | Unknown4 = 1003 |
| const vlLayoutType | Unknown5 = 1004 |
| const vlLayoutType | Unknown6 = 1005 |
| const vlLayoutType | Unknown7 = 1006 |
| const vlLayoutType | Unknown8 = 1007 |
| const vlLayoutType | Unknown9 = 1008 |
| const vlLayoutType | Unknown10 = 1009 |
| const vlLayoutType | DefaultLayout = VirtualCall |
| This is a special default value - indicates which type of iterator to use when no layout is specified. | |
Static Protected Attributes | |
| const std::vector< vlLayoutType > | m_supportedLayouts |
| Stores the supported layouts. | |
If you want to write your own layout plugin (dynamic - i.e., as a shared library), then to start off you can choose one of the 10 layout numbers named "Experimental 3rd party". Choose any number and use it for your plugin. As long as no other plugin uses that same layout type number, you are safe. Once you have a working layout and would like to get a layout type number for your layout, send email to the OpenVL mailing list and you will get a reserved layout number. This layout type will be reserved for your layout only and will not clash with any other layout.
Definition at line 98 of file vlenums.h.
|
|
Definition at line 128 of file vlenums.h. References m_supportedLayouts. Referenced by vlInterpolatorNNPlugin::vlInterpolatorNNPlugin(), vlInterpolatorTriLinPlugin::vlInterpolatorTriLinPlugin(), vlVoxelOpCentralDiffPlugin::vlVoxelOpCentralDiffPlugin(), and vlVoxelOpSobelPlugin::vlVoxelOpSobelPlugin(). |
|
|
i.e., when a call like vlVolIter<datatype> is made. |
|
|
|
|
|
Definition at line 107 of file vlenums.h. Referenced by vlVolume::dataLayout(), vlVolDataLinear::layoutType(), vlVolInterpolators< DataType, vlLayout::Linear >::getNativeInterpolator(), and vlVolVoxelOps< DataType, vlLayout::Linear >::getNativeVoxelOp(). |
|
|
Add layouts here as and when they are supported. A supported layout means it is complete and the iterator header file is accessible and known to OpenVL. Before adding a new layout here, make sure an entry for that layout is added to the callFuncOnLayout* macros in vlmacros.h. Note1 : Generic and VirtualCall are not real layouts and hence not added. Note2 : The actual definition is in vlenums.cpp file. Referenced by supported(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 101 of file vlenums.h. Referenced by vlVolSpaceIterConst< DataType, vlLayout::Generic >::vlVolSpaceIterConst(). |
1.3.3