HexoticPlugin::HexoticPlugin_Hypothesis::_narrow( initParamsHypothesis() );
myStdWidget = new HexoticPluginGUI_StdWidget(aStdGroup);
+#ifdef WIN32
+ myStdWidget->label_6->hide();
+ myStdWidget->myHexoticNbProc->hide();
+#endif
l->addWidget( myStdWidget, row++, 0, 1, 3 );
myStdWidget->onSdModeSelected(SD_MODE_4);
myStdWidget->myHexoticSharpAngleThreshold->setText("");
else
myStdWidget->myHexoticSharpAngleThreshold->setValue( data.myHexoticSharpAngleThreshold );
-
+#ifndef WIN32
myStdWidget->myHexoticNbProc->setValue( data.myHexoticNbProc );
+#endif
myStdWidget->myHexoticWorkingDir->setText( data.myHexoticWorkingDir );
myStdWidget->myHexoticVerbosity->setValue( data.myHexoticVerbosity );
h_data.myHexoticIgnoreRidges = myStdWidget->myHexoticIgnoreRidges->isChecked();
h_data.myHexoticInvalidElements = myStdWidget->myHexoticInvalidElements->isChecked();
-
+#ifndef WIN32
h_data.myHexoticNbProc = myStdWidget->myHexoticNbProc->value();
+#endif
h_data.myHexoticWorkingDir = myStdWidget->myHexoticWorkingDir->text();
h_data.myHexoticVerbosity = myStdWidget->myHexoticVerbosity->value();
h_data.myHexoticMaxMemory = myStdWidget->myHexoticMaxMemory->value();
{
TCollection_AsciiString aSuffix = "";
aSuffix += "_";
+#ifndef WIN32
aSuffix += getenv("USER");
+#else
+ aSuffix += getenv("USERNAME");
+#endif
aSuffix += "_";
aSuffix += Kernel_Utils::GetHostname().c_str();
aSuffix += "_";
TCollection_AsciiString sizeMap = " --read_sizemap ";
TCollection_AsciiString ignoreRidges = " --compute_ridges no ", invalideElements = " --allow_invalid_elements yes ";
TCollection_AsciiString subdom = " --components ";
+#ifndef WIN32
TCollection_AsciiString proc = " --max_number_of_threads ";
+#endif
TCollection_AsciiString verb = " --verbose ";
TCollection_AsciiString maxmem = " --max_memory ";
run_Hexotic += in + Hexotic_In + out + Hexotic_Out;
run_Hexotic += subdom + mode;
+#ifndef WIN32
run_Hexotic += proc + nbproc;
+#endif
run_Hexotic += verb + verbosity;
run_Hexotic += maxmem + maxMemory;