#include <itkSupportInputPointSetTypes.h>
Instantiatiate a Pipeline functor over multiple pixel types and dimensions and match to the input pointSet type.
Instantiate the PipelineFunctor (function object) over multiple pixel types and pointSet dimensions. If the input pointSet matches these pixel types or dimensions, use the compile-time optimized pipeline for that pointSet type. Otherwise, exit the pipeline with an error identifying the unsupported pointSet type.
Example usage:
[...]
It is assumed that the point data will have the same pixel type.
The number of pixel components is taken from the point pixel data.
Definition at line 91 of file itkSupportInputPointSetTypes.h.
Static Public Member Functions | |
| template<unsigned int... VDimensions> | |
| static int | Dimensions (const std::string &inputPointSetOptionName, Pipeline &pipeline) |
Static Private Member Functions | |
| template<unsigned int VDimension, unsigned int... VDimensions> | |
| static int | IterateDimensions (Pipeline &pipeline, const PointSetTypeJSON &pointSetType, bool passThrough=false) |
| template<unsigned int VDimension, typename TPixel, typename... TPixelsRest> | |
| static int | IteratePixelTypes (Pipeline &pipeline, const PointSetTypeJSON &pointSetType, bool passThrough=false) |
|
inlinestatic |
Definition at line 96 of file itkSupportInputPointSetTypes.h.
References itk::wasm::Pipeline::get_argc(), itk::wasm::Pipeline::get_argv(), IterateDimensions(), and ITK_WASM_PRE_PARSE.
|
inlinestaticprivate |
Definition at line 173 of file itkSupportInputPointSetTypes.h.
References itk::PointSetTypeJSON::dimension, itk::wasm::Pipeline::exit(), IterateDimensions(), and IteratePixelTypes().
Referenced by Dimensions(), and IterateDimensions().
|
inlinestaticprivate |
Definition at line 128 of file itkSupportInputPointSetTypes.h.
References itk::wasm::Pipeline::exit(), IteratePixelTypes(), itk::wasm::MapComponentType< TComponent >::JSONComponentEnum, itk::wasm::MapPixelType< TPixel >::JSONPixelEnum, itk::PointSetTypeJSON::pointPixelComponents, itk::PointSetTypeJSON::pointPixelComponentType, itk::PointSetTypeJSON::pointPixelType, itk::VariableLengthVector, and itk::VariableSizeMatrix.
Referenced by IterateDimensions(), and IteratePixelTypes().