From ff0cf2eacd1c3f38fce9195aa4d79162882be687 Mon Sep 17 00:00:00 2001 From: granzuglia Date: Wed, 17 Oct 2007 05:47:14 +0000 Subject: [PATCH] add namespaces and GetExportMaskCapability --- wrap/io_trimesh/export_idtf.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/wrap/io_trimesh/export_idtf.h b/wrap/io_trimesh/export_idtf.h index 26bd35bb..9b91dd92 100644 --- a/wrap/io_trimesh/export_idtf.h +++ b/wrap/io_trimesh/export_idtf.h @@ -6,6 +6,9 @@ #include #include +namespace vcg { +namespace tri { +namespace io { class TextUtility { public: @@ -195,6 +198,24 @@ public: idtf.write(1,"}"); idtf.write(0,"}"); } + + static int GetExportMaskCapability() + { + int capability = 0; + + //vert + capability |= MeshModel::IOM_VERTNORMAL; + + + ////wedg + capability |= MeshModel::IOM_WEDGTEXCOORD; + capability |= MeshModel::IOM_WEDGNORMAL; + + return capability; + } }; +} +} +} #endif \ No newline at end of file