24 #ifndef CSHAPEFUNCTION
25 #define CSHAPEFUNCTION
34 #define cimg_plugin "plugins/add_fileformat.h"
35 #define cimg_use_netcdf
36 #ifdef cimg_use_netcdf
37 #include "../NetCDF.Tool/struct_parameter_NetCDF.h"
38 #define cimg_plugin2 "plugins/netcdf_file_format4CImg2.h"
39 #define cimglist_plugin2 "plugins/netcdf_file_format4CImgList2.h"
40 #include "../CImg.Tool/CImg_NetCDF.h"
47 template<
typename T,
typename Timg>
53 std::string class_name, m_type, m_name;
57 std::vector<std::string> m_mods;
60 const char* m_paramPath;
66 class_name =
"ShapeFunction : mother";
72 virtual void init(CParameterNetCDF &fp) = 0;
73 virtual void exec(
const CImg<Timg> &box,
const std::vector<T> &x, CImgList<T> &N) = 0;
This is the mother class of shape function objets (virtual pure).
Definition: CshapeFunction.h:48