18 #ifndef __itkSinImageAdaptor_h
19 #define __itkSinImageAdaptor_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_sin( (
double)input ); }
54 static inline TExternalType Get(
const TInternalType & input)
55 {
return (TExternalType)vcl_sin( (
double)input ); }
68 template<
class TImage,
class TOutputPixelType >
71 Accessor::SinPixelAccessor<
72 typename TImage::PixelType,
79 typename TImage::PixelType,
95 void operator=(
const Self &);