00001 #ifndef vpgl_io_proj_camera_h_ 00002 #define vpgl_io_proj_camera_h_ 00003 //: 00004 // \file 00005 #include <vsl/vsl_binary_io.h> 00006 #include "../vpgl_proj_camera.h" 00007 00008 00009 //: Binary save camera to stream 00010 template <class T> 00011 void vsl_b_write(vsl_b_ostream & os, vpgl_proj_camera<T> const& camera){ camera.b_write(os); } 00012 00013 00014 //: Binary load camera from stream. 00015 template <class T> 00016 void vsl_b_read(vsl_b_istream & is, vpgl_proj_camera<T> &camera) { camera.b_read(is); } 00017 00018 00019 #endif 00020
1.7.5.1