Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_complex_traits+char-.h

Go to the documentation of this file.
00001 #ifndef __itk_common_vnl_complex_traits_char_h__
00002 #define __itk_common_vnl_complex_traits_char_h__
00003 
00004 #include <vnl/vnl_complex_traits.h>
00005 // The following macro is a complement to the ones
00006 // in vxl/core/vnl/vnl_complex_traits.h lines 34-49.
00007 #define VCL_DEFINE_SPECIALIZATION_MACRO(T) \
00008 VCL_DEFINE_SPECIALIZATION struct vnl_complex_traits<T > \
00009 { \
00010   enum { isreal = true }; \
00011   static T conjugate(T x) { return x; } \
00012   static vcl_complex<T> complexify(T x) { return vcl_complex<T >(x, (T)0); } \
00013 }
00014 // end of macro
00015 VCL_DEFINE_SPECIALIZATION_MACRO(char);
00016 #undef VCL_DEFINE_SPECIALIZATION_MACRO
00017 
00018 #endif 
00019 

Generated at Tue Sep 15 05:32:25 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000