Added save with (unused) callback

This commit is contained in:
Paolo Cignoni 2006-11-30 22:49:32 +00:00
parent 4a37245478
commit f48e5bc1dd
2 changed files with 12 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.16 2006/10/14 00:39:22 cignoni
Added a comment on an assert
Revision 1.15 2006/01/30 13:43:59 cignoni
Added GetExportMaskCapability
@ -132,7 +135,7 @@ static int Save(SaveMeshType &m, const char * filename, bool binary=true)
return Save(m,filename,binary,pi);
}
static int Save(SaveMeshType &m, const char * filename, int savemask )
static int Save(SaveMeshType &m, const char * filename, int savemask, CallBackPos *cb=0 )
{
PlyInfo pi;
pi.mask=savemask;

View File

@ -25,6 +25,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.8 2006/09/18 08:55:33 cignoni
Corrected return value of save function (zero is no error)
Revision 1.7 2006/01/30 13:43:59 cignoni
Added GetExportMaskCapability
@ -69,6 +72,11 @@ template <class SaveMeshType>
class ExporterSTL
{
public:
static int Save(SaveMeshType &m, const char * filename, const int &mask, CallBackPos *cb=0)
{
return Save(m,filename,true);
}
static int Save(SaveMeshType &m, const char * filename , bool binary =true, const char *objectname=0)
{
typedef typename SaveMeshType::FaceIterator FaceIterator;