1 #ifndef vpgl_io_perspective_camera_h_ 2 #define vpgl_io_perspective_camera_h_ 3 //: 4 // \file 5 #include <vsl/vsl_binary_io.h> 6 #include <vpgl/vpgl_perspective_camera.h> 7 8 //: Binary save camera to stream 9 template <class T> 10 void vsl_b_write(vsl_b_ostream & os, vpgl_perspective_camera<T> const& camera); 11 12 //: Binary load camera from stream. 13 template <class T> 14 void vsl_b_read(vsl_b_istream & is, vpgl_perspective_camera<T> &camera); 15 16 //: Print human readable summary of object to a stream 17 template <class T> 18 void vsl_print_summary(std::ostream& os,const vpgl_perspective_camera<T> & c); 19 #endif 20