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