Commit 26e59ab6 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added reset function to base decimater

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@710 fdac6126-5c0c-442c-9429-916003d36597
parent 398844b1
......@@ -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_;
};
//=============================================================================
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment