📄 vnl_unary_function.txx
字号:
// This is core/vnl/vnl_unary_function.txx
#ifndef vnl_unary_function_txx_
#define vnl_unary_function_txx_
//:
// \file
// \brief Abstract 1D map
// vnl_unary_function is an abstract map between two types (read spaces).
// \author Andrew W. Fitzgibbon, Oxford RRG
// \date 28 Nov 98
//
// \verbatim
// Modifications
// 981128 AWF Initial version.
// LSB Manchester 19/3/01 Documentation tidied
// Feb.2002 - Peter Vanroose - brief doxygen comment placed on single line
// Oct.2003 - Ian Scott - Move the use of vcl_limits out of the .h file, to
// solve stupid MSVC6.0 problems.
// \endverbatim
//
//-----------------------------------------------------------------------------
#include <vcl_limits.h>
#include "vnl_unary_function.h"
//: Return bounding cube of range (outputs)
template <class RETURN, class ARGUMENT>
RETURN vnl_unary_function<RETURN, ARGUMENT>::get_range_min() const
{
return vcl_numeric_limits<RETURN>::min();
}
//: Return bounding cube of range (outputs)
template <class RETURN, class ARGUMENT>
RETURN vnl_unary_function<RETURN, ARGUMENT>::get_range_max() const
{
return vcl_numeric_limits<RETURN>::max();
}
#define VNL_UNARY_FUNCTION_INSTANTIATE(S,T) \
template class vnl_unary_function<S, T >
#endif // vnl_unary_function_txx_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -