18 #ifndef itkTanImageAdaptor_h 19 #define itkTanImageAdaptor_h 39 template<
typename TInternalType,
typename TExternalType >
51 static inline void Set(TInternalType & output,
const TExternalType & input)
52 { output = (TInternalType)std::tan( (
double)input ); }
54 static inline TExternalType
Get(
const TInternalType & input)
55 {
return (TExternalType)std::tan( (
double)input ); }
69 template<
typename TImage,
typename TOutputPixelType >
72 Accessor::TanPixelAccessor<
73 typename TImage::PixelType,
80 typename TImage::PixelType,
98 void operator=(
const Self &) ITK_DELETE_FUNCTION;
TExternalType ExternalType
TInternalType InternalType
virtual ~TanImageAdaptor()
SmartPointer< const Self > ConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
ImageAdaptor< TImage, Accessor::TanPixelAccessor< typename TImage::PixelType, TOutputPixelType > > Superclass
Presents an image as being composed of the std::tan() of its pixels.
static void Set(TInternalType &output, const TExternalType &input)
static TExternalType Get(const TInternalType &input)
Give access to partial aspects of voxels from an Image.
Give access to the std::tan() function of a value.
SmartPointer< Self > Pointer