VisionCpp  0.0.1
Public Types | Public Attributes | Static Public Attributes | List of all members
visioncpp::internal::LocalUnaryOp< USROP, InTp > Struct Template Reference

This class is used to encapsulate the local unary functor and the types of each operand in this functor. More...

#include <expr_tree.hpp>

Collaboration diagram for visioncpp::internal::LocalUnaryOp< USROP, InTp >:

Public Types

using OP = USROP
 
using InType = InTp
 
using OutType = decltype(OP()(x))
 

Public Attributes

visioncpp::internal::LocalNeighbour< InTp > x
 

Static Public Attributes

static constexpr size_t Operation_type = internal::ops_category::NeighbourOP
 

Detailed Description

template<typename USROP, typename InTp>
struct visioncpp::internal::LocalUnaryOp< USROP, InTp >

This class is used to encapsulate the local unary functor and the types of each operand in this functor.

The functor passed to this struct applies local neighbour. This struct is used for local neighbour operation template parameters:

Template Parameters
USROP: the user/built-in functor
InTpthe input type for that unary functor

Definition at line 53 of file expr_tree.hpp.

Member Typedef Documentation

◆ InType

template<typename USROP , typename InTp >
using visioncpp::internal::LocalUnaryOp< USROP, InTp >::InType = InTp

Definition at line 55 of file expr_tree.hpp.

◆ OP

template<typename USROP , typename InTp >
using visioncpp::internal::LocalUnaryOp< USROP, InTp >::OP = USROP

Definition at line 54 of file expr_tree.hpp.

◆ OutType

template<typename USROP , typename InTp >
using visioncpp::internal::LocalUnaryOp< USROP, InTp >::OutType = decltype(OP()(x))

Definition at line 57 of file expr_tree.hpp.

Member Data Documentation

◆ Operation_type

template<typename USROP , typename InTp >
constexpr size_t visioncpp::internal::LocalUnaryOp< USROP, InTp >::Operation_type = internal::ops_category::NeighbourOP
staticconstexpr

Definition at line 58 of file expr_tree.hpp.

◆ x

template<typename USROP , typename InTp >
visioncpp::internal::LocalNeighbour<InTp> visioncpp::internal::LocalUnaryOp< USROP, InTp >::x

Definition at line 56 of file expr_tree.hpp.


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