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:
@@ -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_;
|
||||
|
||||
|
||||
};
|
||||
|
||||
//=============================================================================
|
||||
|
||||
Reference in New Issue
Block a user