vtf-logo

file_io.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00008 #if !defined(__geom_mesh_simplicial_file_io_h__)
00009 #define __geom_mesh_simplicial_file_io_h__
00010 
00011 #include "SimpMeshRed.h"
00012 
00013 #include "../iss/file_io.h"
00014 
00015 #include <string>
00016 
00017 BEGIN_NAMESPACE_GEOM
00018 
00020 
00036 template<int N, int M, typename T,
00037          template<class> class Node,
00038          template<class> class Cell,
00039          template<class,class> class Cont>
00040 void
00041 writeAscii(std::ostream& out, const SimpMeshRed<N,M,T,Node,Cell,Cont>& x);
00042 
00043 
00045 template<int N, int M, typename T,
00046          template<class> class Node,
00047          template<class> class Cell,
00048          template<class,class> class Cont>
00049 void
00050 print(std::ostream& out, const SimpMeshRed<N,M,T,Node,Cell,Cont>& x);
00051 
00052 
00054 template<int N, int M, typename T,
00055          template<class> class Node,
00056          template<class> class Cell,
00057          template<class,class> class Cont>
00058 void
00059 writeBinary(std::ostream& out, const SimpMeshRed<N,M,T,Node,Cell,Cont>& x);
00060 
00061 
00063 template<int N, int M, typename T,
00064          template<class> class Node,
00065          template<class> class Cell,
00066          template<class,class> class Cont>
00067 void
00068 readAscii(std::istream& in, SimpMeshRed<N,M,T,Node,Cell,Cont>* x);
00069 
00070 
00072 template<int N, int M, typename T,
00073          template<class> class Node,
00074          template<class> class Cell,
00075          template<class,class> class Cont>
00076 void
00077 readBinary(std::istream& in, SimpMeshRed<N,M,T,Node,Cell,Cont>* x);
00078 
00079 
00081 template<int N, int M, typename T,
00082          template<class> class Node,
00083          template<class> class Cell,
00084          template<class,class> class Cont>
00085 void
00086 writeVtkXml(std::ostream& out, const SimpMeshRed<N,M,T,Node,Cell,Cont>& x);
00087 
00088 
00090 template<int N, int M, typename T,
00091          template<class> class Node,
00092          template<class> class Cell,
00093          template<class,class> class Cont>
00094 void
00095 writeVtkLegacy(std::ostream& out, 
00096                   const SimpMeshRed<N,M,T,Node,Cell,Cont>& x,
00097                   std::string title = "");
00098 
00099 
00100 END_NAMESPACE_GEOM
00101 
00102 #define __geom_mesh_simplicial_file_io_ipp__
00103 #include "file_io.ipp"
00104 #undef __geom_mesh_simplicial_file_io_ipp__
00105 
00106 #endif

Generated on Fri Aug 24 12:55:53 2007 for Computational Geometry Package by  doxygen 1.4.7