ADD_IMAGE_TYPE(DIM, int); \
ADD_IMAGE_TYPE(DIM, float); \
ADD_IMAGE_TYPE(DIM, double);
+#define ADD_DEFAULT_VEC_IMAGE_TYPES ADD_VEC_IMAGE_TYPE(2,2,float); \
+ ADD_VEC_IMAGE_TYPE(2,3,float); \
+ ADD_VEC_IMAGE_TYPE(3,3,float);
//#include "clitkImageToImageGenericFilterBase.txx"
void CatImageGenericFilter<args_info_type>::InitializeImageType()
{
ADD_DEFAULT_IMAGE_TYPES(Dim);
- ADD_VEC_IMAGE_TYPE(2,2,float);
- ADD_VEC_IMAGE_TYPE(2,3,float);
- ADD_VEC_IMAGE_TYPE(3,3,float);
+ ADD_DEFAULT_VEC_IMAGE_TYPES;
}
//--------------------------------------------------------------------
{
//typedef itk::Vector<float,Dim> v3f;
//ADD_IMAGE_TYPE(Dim, v3f);
- ADD_VEC_IMAGE_TYPE(Dim, Dim, float)
+ ADD_DEFAULT_VEC_IMAGE_TYPES
}
//--------------------------------------------------------------------