00001 #ifndef vpgl_io_rational_camera_h_ 00002 #define vpgl_io_rational_camera_h_ 00003 //: 00004 // \file 00005 #include <vsl/vsl_binary_io.h> 00006 #include <vpgl/vpgl_rational_camera.h> 00007 00008 00009 //: Binary save camera to stream 00010 template <class T> 00011 void vsl_b_write(vsl_b_ostream & os, vpgl_rational_camera<T> const& camera); 00012 00013 00014 //: Binary load camera from stream. 00015 template <class T> 00016 void vsl_b_read(vsl_b_istream & is, vpgl_rational_camera<T> &camera); 00017 00018 //: Print human readable summary of object to a stream 00019 template <class T> 00020 void vsl_print_summary(vcl_ostream& os,const vpgl_rational_camera<T> & c); 00021 00022 #endif 00023