vgl_io_cylinder.h
Go to the documentation of this file.
1 // This is core/vgl/io/vgl_io_cylinder.h
2 #ifndef vgl_io_cylinder_h
3 #define vgl_io_cylinder_h
4 //:
5 // \file
6 // \author Gamze D. Tunali (gamze@lems.brown.edu)
7 // \date 11 July 2005
8 
9 #include <vgl/vgl_cylinder.h>
10 #include <vsl/vsl_binary_io.h>
11 
12 //: Binary save vgl_cylinder to stream.
13 template <class T>
14 void vsl_b_write(vsl_b_ostream &os, const vgl_cylinder<T> & cyl);
15 
16 //: Binary load vgl_cylinder from stream.
17 template <class T>
18 void vsl_b_read(vsl_b_istream &is, vgl_cylinder<T> & cyl);
19 
20 //: Print human readable summary of object to a stream
21 template <class T>
22 void vsl_print_summary(std::ostream& os, const vgl_cylinder<T> & cyl);
23 
24 #define VGL_IO_CYLINDER_INSTANTIATE(T) extern "Please #include <vgl/io/vgl_io_cylinder.hxx>"
25 
26 #endif // vgl_io_cylinder_h
void vsl_print_summary(std::ostream &os, const vgl_cylinder< T > &cyl)
Print human readable summary of object to a stream.
void vsl_b_write(vsl_b_ostream &os, const vgl_cylinder< T > &cyl)
Binary save vgl_cylinder to stream.
defines a cylinder in 3D by a center point, radius, length and orientation
void vsl_b_read(vsl_b_istream &is, vgl_cylinder< T > &cyl)
Binary load vgl_cylinder from stream.