#include <itkSupportInputPolyDataTypes.h>
Instantiatiate a Pipeline functor over multiple pixel types and match to the input polydata type.
Instantiate the PipelineFunctor (function object) over multiple polydata pixel types. If the input polydata matches these pixel types, use the compile-time optimized pipeline for that polydata type. Otherwise, exit the pipeline with an error identifying the unsupported polydata type.
Example usage:
[...]
It is assumed that the cell and point data will have the same pixel type.
The number of pixel components is taken from the point pixel data. If there are 0 point pixel data components, the cell pixel data components are queried.
Definition at line 87 of file itkSupportInputPolyDataTypes.h.
Static Public Member Functions | |
| template<typename... TPixels> | |
| static int | PixelTypes (const std::string &inputPolyDataOptionName, Pipeline &pipeline) |
Static Private Member Functions | |
| template<typename TPixel, typename... TPixelsRest> | |
| static int | IteratePixelTypes (Pipeline &pipeline, const PolyDataTypeJSON &polyDataType, bool passThrough=false) |
|
inlinestaticprivate |
Definition at line 124 of file itkSupportInputPolyDataTypes.h.
References itk::PolyDataTypeJSON::cellPixelComponents, itk::wasm::Pipeline::exit(), IteratePixelTypes(), itk::wasm::MapComponentType< TComponent >::JSONComponentEnum, itk::wasm::MapPixelType< TPixel >::JSONPixelEnum, itk::PolyDataTypeJSON::pointPixelComponents, itk::PolyDataTypeJSON::pointPixelComponentType, itk::PolyDataTypeJSON::pointPixelType, itk::VariableLengthVector, and itk::VariableSizeMatrix.
Referenced by IteratePixelTypes(), and PixelTypes().
|
inlinestatic |
Definition at line 92 of file itkSupportInputPolyDataTypes.h.
References itk::wasm::Pipeline::get_argc(), itk::wasm::Pipeline::get_argv(), IteratePixelTypes(), and ITK_WASM_PRE_PARSE.