vnl_unary_function.txx

来自「DTMK软件开发包,此为开源软件,是一款很好的医学图像开发资源.」· TXX 代码 · 共 43 行

TXX
43
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?