00001 #ifndef vil_io_image_view_base_h_ 00002 #define vil_io_image_view_base_h_ 00003 //: 00004 // \file 00005 // \brief vsl binary I/O functions for reading and writing vil_image_view_base_sptr. 00006 // \author Daniel Crispell 00007 // \date February 7, 2008 00008 // 00009 // These functions are needed so we can place vil_image_view_base_sptr's in a brdb_database. 00010 00011 #include <vsl/vsl_binary_io.h> 00012 #include <vil/vil_image_view_base.h> 00013 #include <vil/io/vil_io_smart_ptr.h> 00014 00015 //: Binary write voxel world to stream 00016 VCL_DEFINE_SPECIALIZATION 00017 void vsl_b_write(vsl_b_ostream & os, vil_image_view_base_sptr const& view_base); 00018 00019 00020 //: Binary load voxel world from stream. 00021 VCL_DEFINE_SPECIALIZATION 00022 void vsl_b_read(vsl_b_istream & is, vil_image_view_base_sptr &view_base); 00023 00024 #if 0 00025 //: Binary write voxel world to stream 00026 VCL_DEFINE_SPECIALIZATION 00027 void vsl_b_write(vsl_b_ostream & os, vil_image_view_base const& view_base); 00028 00029 //: Binary load voxel world from stream. 00030 VCL_DEFINE_SPECIALIZATION 00031 void vsl_b_read(vsl_b_istream & is, vil_image_view_base &view_base); 00032 #endif // 0 00033 00034 #endif