Added reset function to base decimater

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@710 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-09-28 09:34:14 +00:00
parent 398844b1c6
commit 26e59ab6d7

View File

@@ -201,7 +201,7 @@ protected: //---------------------------------------------------- private method
/**
* This provides a function that allows the setting of a percentage
* of the original contraint of the modules
* of the original constraint of the modules
*
* Note that some modules might re-initialize in their
* set_error_tolerance_factor function as necessary
@@ -209,6 +209,13 @@ protected: //---------------------------------------------------- private method
*/
void set_error_tolerance_factor(double _factor);
/** Reset the status of this class
*
* You have to call initialize again!!
*/
void reset(){ initialized_ = false; };
private: //------------------------------------------------------- private data
@@ -224,7 +231,10 @@ private: //------------------------------------------------------- private data
// list of all allocated modules (including cmodule_ and all of bmodules_)
ModuleList all_modules_;
// Flag if all modules were initialized
bool initialized_;
};
//=============================================================================