vspline 1.1.0
Generic C++11 Code for Uniform B-Splines
Public Types | List of all members
vspline::sink_functor< IN, _vsize > Struct Template Reference

sink_functor is used for functors without an output - e.g. reductors which are used for analytic purposes on data sets. They use the same system of input types, but omit the output types. More...

#include <unary_functor.h>

Inheritance diagram for vspline::sink_functor< IN, _vsize >:
vspline::sink_functor_tag< vspline::vector_traits< IN > ::size >

Public Types

enum  { vsize = _vsize }
 
enum  { dim_in = vspline::vector_traits < IN > :: dimension }
 
typedef IN in_type
 
typedef vspline::vector_traits< IN >::ele_type in_ele_type
 
typedef vigra::TinyVector< in_ele_type, dim_inin_nd_ele_type
 
typedef vector_traits< IN, vsize >::ele_v in_ele_v
 a simdized type of the elementary type of result_type, which is used for coefficients and results. this is fixed via the traits class vector_traits (in vector.h). Note how we derive this type using vsize from the template argument, not what vspline::vector_traits deems appropriate for ele_type - though both numbers will be the same in most cases. More...
 
typedef vector_traits< IN, vsize >::nd_ele_v in_nd_ele_v
 
typedef vector_traits< IN, vsize >::type in_v
 vectorized in_type. vspline::vector_traits supplies this type so that multidimensional/multichannel data come as vigra::TinyVectors, while 'singular' data won't be made into TinyVectors of one element. More...
 
typedef vector_traits< int, vsize >::ele_v ic_v
 vsize wide vector of ints, used for gather/scatter indexes More...
 

Detailed Description

template<typename IN, size_t _vsize = vspline::vector_traits < IN > :: size>
struct vspline::sink_functor< IN, _vsize >

sink_functor is used for functors without an output - e.g. reductors which are used for analytic purposes on data sets. They use the same system of input types, but omit the output types.

Definition at line 1324 of file unary_functor.h.

Member Typedef Documentation

◆ ic_v

template<typename IN , size_t _vsize = vspline::vector_traits < IN > :: size>
typedef vector_traits<int,vsize>::ele_v vspline::sink_functor< IN, _vsize >::ic_v

vsize wide vector of ints, used for gather/scatter indexes

Definition at line 1387 of file unary_functor.h.

◆ in_ele_type

template<typename IN , size_t _vsize = vspline::vector_traits < IN > :: size>
typedef vspline::vector_traits<IN>::ele_type vspline::sink_functor< IN, _vsize >::in_ele_type

Definition at line 1346 of file unary_functor.h.

◆ in_ele_v

template<typename IN , size_t _vsize = vspline::vector_traits < IN > :: size>
typedef vector_traits<IN,vsize>::ele_v vspline::sink_functor< IN, _vsize >::in_ele_v

a simdized type of the elementary type of result_type, which is used for coefficients and results. this is fixed via the traits class vector_traits (in vector.h). Note how we derive this type using vsize from the template argument, not what vspline::vector_traits deems appropriate for ele_type - though both numbers will be the same in most cases.

Definition at line 1370 of file unary_functor.h.

◆ in_nd_ele_type

template<typename IN , size_t _vsize = vspline::vector_traits < IN > :: size>
typedef vigra::TinyVector< in_ele_type , dim_in > vspline::sink_functor< IN, _vsize >::in_nd_ele_type

Definition at line 1355 of file unary_functor.h.

◆ in_nd_ele_v

template<typename IN , size_t _vsize = vspline::vector_traits < IN > :: size>
typedef vector_traits<IN,vsize>::nd_ele_v vspline::sink_functor< IN, _vsize >::in_nd_ele_v

Definition at line 1376 of file unary_functor.h.

◆ in_type

template<typename IN , size_t _vsize = vspline::vector_traits < IN > :: size>
typedef IN vspline::sink_functor< IN, _vsize >::in_type

Definition at line 1341 of file unary_functor.h.

◆ in_v

template<typename IN , size_t _vsize = vspline::vector_traits < IN > :: size>
typedef vector_traits<IN,vsize>::type vspline::sink_functor< IN, _vsize >::in_v

vectorized in_type. vspline::vector_traits supplies this type so that multidimensional/multichannel data come as vigra::TinyVectors, while 'singular' data won't be made into TinyVectors of one element.

Definition at line 1383 of file unary_functor.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename IN , size_t _vsize = vspline::vector_traits < IN > :: size>
anonymous enum
Enumerator
vsize 

Definition at line 1330 of file unary_functor.h.

◆ anonymous enum

template<typename IN , size_t _vsize = vspline::vector_traits < IN > :: size>
anonymous enum
Enumerator
dim_in 

Definition at line 1334 of file unary_functor.h.


The documentation for this struct was generated from the following file: