Go to the source code of this file.
Namespaces | |
namespace | itk |
Defines | |
#define | ITK_DEFAULTCONVERTTRAITS_NATIVE_SPECIAL(type) |
|
Value: template<> \ class DefaultConvertPixelTraits<type> \ { \ public: \ typedef type ComponentType; \ static unsigned int GetNumberOfComponents() \ { \ return 1; \ } \ static void SetNthComponent(int , type& pixel, const ComponentType& v) \ { \ pixel = v; \ } \ static type GetScalarValue(const type& pixel) \ { \ return pixel; \ } \ }; Definition at line 57 of file itkDefaultConvertPixelTraits.h. |