diff --git a/wrap/io_trimesh/export_dxf.h b/wrap/io_trimesh/export_dxf.h index 73d363c2..c41f1dd9 100644 --- a/wrap/io_trimesh/export_dxf.h +++ b/wrap/io_trimesh/export_dxf.h @@ -50,14 +50,14 @@ public: fprintf(o,"2\n"); fprintf(o,"ENTITIES\n"); - SaveMeshType::FaceIterator fi; + typename SaveMeshType::FaceIterator fi; for(fi=m.face.begin(); fi!=m.face.end(); ++fi) { if (!fi->IsD()) { - SaveMeshType::CoordType v0 = (*fi).V(0)->P(); - SaveMeshType::CoordType v1 = (*fi).V(1)->P(); - SaveMeshType::CoordType v2 = (*fi).V(2)->P(); + typename SaveMeshType::CoordType v0 = (*fi).V(0)->P(); + typename SaveMeshType::CoordType v1 = (*fi).V(1)->P(); + typename SaveMeshType::CoordType v2 = (*fi).V(2)->P(); fprintf(o,"0\n"); fprintf(o,"3DFACE\n"); fprintf(o,"8\n"); fprintf(o,"0\n"); fprintf(o,"10\n"); fprintf(o,"%f\n", v0[0]); //X fprintf(o,"20\n"); fprintf(o,"%f\n", v0[1]); //Y @@ -96,4 +96,4 @@ public: -#endif \ No newline at end of file +#endif diff --git a/wrap/io_trimesh/export_off.h b/wrap/io_trimesh/export_off.h index 69a3d6e3..0c359d99 100644 --- a/wrap/io_trimesh/export_off.h +++ b/wrap/io_trimesh/export_off.h @@ -51,8 +51,8 @@ namespace vcg { static bool Save(SaveMeshType &m, const char * filename ) { - vcg::face::Pos he; - vcg::face::Pos hei; + vcg::face::Pos he; + vcg::face::Pos hei; FILE * fpout = fopen(filename,"w"); if(fpout==NULL) return false; @@ -67,7 +67,7 @@ namespace vcg { fprintf(fpout,"OFF\n"); fprintf(fpout,"%d %d ", m.vn, m.fn); - SaveMeshType::FaceIterator fi; + typename SaveMeshType::FaceIterator fi; int count_e = 0; int boundary_e = 0; bool counted=false; @@ -84,7 +84,7 @@ namespace vcg { { if (face::IsBorder(*fi,j)) //If this edge is a border edge boundary_e++; // then increase the number of boundary edges - else if (IsManifold(*fi,j)) //If this edge is manifold + else if (face::IsManifold(*fi,j)) //If this edge is manifold { if((*fi).FFp(j)->IsS()) //If the face on the other side of the edge is already selected count_e--; // we counted one edge twice @@ -172,4 +172,4 @@ namespace vcg { } // end namespace io } // end namespace vcg //@} -#endif \ No newline at end of file +#endif diff --git a/wrap/io_trimesh/export_stl.h b/wrap/io_trimesh/export_stl.h index 98346fa0..dc0d6503 100644 --- a/wrap/io_trimesh/export_stl.h +++ b/wrap/io_trimesh/export_stl.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.4 2004/10/28 00:52:45 cignoni +Better Doxygen documentation + Revision 1.3 2004/03/09 21:26:47 cignoni cr lf mismatch @@ -124,4 +127,4 @@ static bool Save(SaveMeshType &m, const char * filename , bool binary =true, con -#endif \ No newline at end of file +#endif diff --git a/wrap/io_trimesh/import_off.h b/wrap/io_trimesh/import_off.h index 8e6e8629..1c5763eb 100644 --- a/wrap/io_trimesh/import_off.h +++ b/wrap/io_trimesh/import_off.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.8 2005/11/12 18:12:16 cignoni +Added casts and changed integral types to remove warnings + Revision 1.7 2005/09/28 10:30:14 rita_borgo *** empty log message *** @@ -516,8 +519,8 @@ namespace vcg } }; // /*! @} */ - }; //namespace io - };//namespace tri -}; // namespace vcg + } //namespace io + }//namespace tri +} // namespace vcg #endif //__VCGLIB_IMPORT_OFF