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

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

#include <expr_tree.hpp>

Collaboration diagram for visioncpp::internal::LocalBinaryOp< USROP, InTp1, InTp2 >:

Public Types

using OP = USROP
 
using InType1 = InTp1
 
using InType2 = InTp2
 
using OutType = decltype(OP()(x, y))
 

Public Attributes

visioncpp::internal::LocalNeighbour< InTp1 > x
 
visioncpp::internal::ConstNeighbour< InTp2 > y
 

Static Public Attributes

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

Detailed Description

template<typename USROP, typename InTp1, typename InTp2>
struct visioncpp::internal::LocalBinaryOp< USROP, InTp1, InTp2 >

This class is used to encapsulate the local binary 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
InTp1the left hand side input type for the binary functor
InTp2the right hand side input type for the binary functor

Definition at line 69 of file expr_tree.hpp.

Member Typedef Documentation

◆ InType1

template<typename USROP , typename InTp1 , typename InTp2 >
using visioncpp::internal::LocalBinaryOp< USROP, InTp1, InTp2 >::InType1 = InTp1

Definition at line 71 of file expr_tree.hpp.

◆ InType2

template<typename USROP , typename InTp1 , typename InTp2 >
using visioncpp::internal::LocalBinaryOp< USROP, InTp1, InTp2 >::InType2 = InTp2

Definition at line 72 of file expr_tree.hpp.

◆ OP

template<typename USROP , typename InTp1 , typename InTp2 >
using visioncpp::internal::LocalBinaryOp< USROP, InTp1, InTp2 >::OP = USROP

Definition at line 70 of file expr_tree.hpp.

◆ OutType

template<typename USROP , typename InTp1 , typename InTp2 >
using visioncpp::internal::LocalBinaryOp< USROP, InTp1, InTp2 >::OutType = decltype(OP()(x, y))

Definition at line 75 of file expr_tree.hpp.

Member Data Documentation

◆ Operation_type

template<typename USROP , typename InTp1 , typename InTp2 >
constexpr size_t visioncpp::internal::LocalBinaryOp< USROP, InTp1, InTp2 >::Operation_type = internal::ops_category::NeighbourOP
staticconstexpr

Definition at line 76 of file expr_tree.hpp.

◆ x

template<typename USROP , typename InTp1 , typename InTp2 >
visioncpp::internal::LocalNeighbour<InTp1> visioncpp::internal::LocalBinaryOp< USROP, InTp1, InTp2 >::x

Definition at line 73 of file expr_tree.hpp.

◆ y

template<typename USROP , typename InTp1 , typename InTp2 >
visioncpp::internal::ConstNeighbour<InTp2> visioncpp::internal::LocalBinaryOp< USROP, InTp1, InTp2 >::y

Definition at line 74 of file expr_tree.hpp.


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