50 #ifndef PROPERTY_MODEL_FACTORY_HH
51 #define PROPERTY_MODEL_FACTORY_HH
53 #include <OpenMesh/Core/Utils/SingletonT.hh>
55 #include "PropertyModel.hh"
88 __PropertyModelFactory(){}
89 __PropertyModelFactory(__PropertyModelFactory&){}
90 ~__PropertyModelFactory()
92 for (PropertyModelMap::iterator it = propertyModelMap.begin(); it != propertyModelMap.end(); ++it)
94 propertyModelMap.erase(propertyModelMap.begin(), propertyModelMap.end());
97 typedef std::map<int, PropertyModel*> PropertyModelMap;
98 PropertyModelMap propertyModelMap;
void deleteModel(int objectID)
Deletes the PropertyModel.
PropertyModel * getModel(int objectID)
Returns the PropertyModel.
This class manages the creation of PropertyModels.