#include <ModelAPI_AttributeSelectionList.h>
#include <ModelAPI_Events.h>
#include <ModelAPI_Validator.h>
+#include <ModelAPI_ResultBody.h>
+#include <ModelAPI_ResultConstruction.h>
#include <Config_ModuleReader.h>
+#include <Config_PropManager.h>
#ifdef WIN32
#include <windows.h>
{
if (!MY_MANAGER) { // import Model library that implements this interface of ModelAPI
Config_ModuleReader::loadLibrary("Model");
+
+ Config_PropManager::registerProp("Visualization", "body_deflection",
+ "Body deflection coefficient",
+ Config_Prop::Double,
+ ModelAPI_ResultBody::DEFAULT_DEFLECTION());
+
+ Config_PropManager::registerProp("Visualization", "construction_deflection",
+ "Construction deflection coefficient",
+ Config_Prop::Double,
+ ModelAPI_ResultConstruction::DEFAULT_DEFLECTION());
+
}
return MY_MANAGER;
}
Config_PropManager::registerProp("Visualization", "result_part_color", "Part color",
Config_Prop::Color, ModelAPI_ResultPart::DEFAULT_COLOR());
- Config_PropManager::registerProp("Visualization", "body_deflection",
- "Body deflection coefficient",
- Config_Prop::Double,
- ModelAPI_ResultBody::DEFAULT_DEFLECTION());
-
- Config_PropManager::registerProp("Visualization", "construction_deflection",
- "Construction deflection coefficient",
- Config_Prop::Double,
- ModelAPI_ResultConstruction::DEFAULT_DEFLECTION());
-
if (ModuleBase_Preferences::resourceMgr()->booleanValue("Viewer", "face-selection", true))
myViewerSelMode.append(TopAbs_FACE);
if (ModuleBase_Preferences::resourceMgr()->booleanValue("Viewer", "edge-selection", true))