19#ifndef itkBinaryOperationConcept_h
20#define itkBinaryOperationConcept_h
43struct BinaryOperationConcept
50struct Plus : BinaryOperationConcept
52 template <
typename T1,
typename T2>
53 static typename mpl::PromoteType<T1, T2>::Type
54 Apply(T1
const & lhs, T2
const & rhs)
64struct Sub : BinaryOperationConcept
66 template <
typename T1,
typename T2>
67 static typename mpl::PromoteType<T1, T2>::Type
68 Apply(T1
const & lhs, T2
const & rhs)
78struct Mult : BinaryOperationConcept
80 template <
typename T1,
typename T2>
81 static typename mpl::PromoteType<T1, T2>::Type
82 Apply(T1
const & lhs, T2
const & rhs)
92struct Div : BinaryOperationConcept
94 template <
typename T1,
typename T2>
95 static typename mpl::PromoteType<T1, T2>::Type
96 Apply(T1
const & lhs, T2
const & rhs)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....