18 #ifndef __itkTanImageAdaptor_h
19 #define __itkTanImageAdaptor_h
22 #include "vnl/vnl_math.h"
39 template<
class TInternalType,
class TExternalType >
51 static inline void Set(TInternalType & output,
const TExternalType & input)
52 { output = (TInternalType)vcl_tan( (
double)input ); }
54 static inline TExternalType Get(
const TInternalType & input)
55 {
return (TExternalType)vcl_tan( (
double)input ); }
69 template<
class TImage,
class TOutputPixelType >
72 Accessor::TanPixelAccessor<
73 typename TImage::PixelType,
80 typename TImage::PixelType,
96 void operator=(
const Self &);