contrib/mul/vimt3d/vimt3d_add_all_loaders.cxx
Go to the documentation of this file.
00001 // This is mul/vimt3d/vimt3d_add_all_loaders.cxx
00002 #include "vimt3d_add_all_loaders.h"
00003 //:
00004 // \file
00005 
00006 #include <vimt3d/vimt3d_image_3d_of.h>
00007 #include <vimt3d/vimt3d_gaussian_pyramid_builder_3d.h>
00008 #include <vil3d/vil3d_file_format.h>
00009 #include <vimt3d/vimt3d_vil3d_v3i.h>
00010 #include <vimt3d/vimt3d_vil3d_v3m.h>
00011 
00012 void vimt3d_add_all_loaders()
00013 {
00014 // Add vsl base class loaders
00015   vsl_add_to_binary_loader(vimt3d_gaussian_pyramid_builder_3d<vxl_byte>());
00016   vsl_add_to_binary_loader(vimt3d_gaussian_pyramid_builder_3d<double>());
00017   vsl_add_to_binary_loader(vimt3d_gaussian_pyramid_builder_3d<float>());
00018   vsl_add_to_binary_loader(vimt3d_gaussian_pyramid_builder_3d<int>());
00019   //vsl_add_to_binary_loader(vimt3d_gaussian_pyramid_builder_3d<double>()); // NYI - Placeholder only
00020 
00021   vsl_add_to_binary_loader(vimt3d_image_3d_of<vxl_byte>());
00022   vsl_add_to_binary_loader(vimt3d_image_3d_of<float>());
00023   vsl_add_to_binary_loader(vimt3d_image_3d_of<int>());
00024   vsl_add_to_binary_loader(vimt3d_image_3d_of<double>());
00025 
00026 // Allow vil3d_load with the vimt3d-specific .v3i and v3m formats.
00027   vil3d_file_format::add_format(new vimt3d_vil3d_v3i_format);  
00028   vil3d_file_format::add_format(new vimt3d_vil3d_v3m_format);  
00029 }