</property>
</widget>
</item>
+ <item row="3" column="0">
+ <widget class="QCheckBox" name="useLibraryCheck">
+ <property name="text">
+ <string>HYBRID_USE_LIBRARY</string>
+ </property>
+ <property name="autoExclusive">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>
myAdvWidget->verboseLevelSpin ->setValue ( data.myVerboseLevel );
myAdvWidget->logInFileCheck ->setChecked( !data.myLogInStandardOutput );
myAdvWidget->removeLogOnSuccessCheck ->setChecked( data.myRemoveLogOnSuccess );
+ myAdvWidget->useLibraryCheck ->setChecked( data.myUseLib );
if ( myOptions.operator->() ) {
for ( int i = 0, nb = myOptions->length(); i < nb; ++i )
h_data.myVerboseLevel = h->GetVerboseLevel();
h_data.myLogInStandardOutput = h->GetStandardOutputLog();
h_data.myRemoveLogOnSuccess = h->GetRemoveLogOnSuccess();
+ h_data.myUseLib = h->GetToUseLibrary();
HYBRIDPluginGUI_HypothesisCreator* that = (HYBRIDPluginGUI_HypothesisCreator*)this;
that->myOptions = h->GetOptionValues();
h->SetStandardOutputLog ( h_data.myLogInStandardOutput );
if ( h->GetRemoveLogOnSuccess() != h_data.myRemoveLogOnSuccess )
h->SetRemoveLogOnSuccess ( h_data.myRemoveLogOnSuccess );
+ if ( h->GetToUseLibrary() != h_data.myUseLib )
+ h->SetToUseLibrary ( h_data.myUseLib );
// Enforced vertices
//int nbVertex = (int) h_data.myEnforcedVertices.size();
h_data.myVerboseLevel = myAdvWidget->verboseLevelSpin->value();
h_data.myLogInStandardOutput = !myAdvWidget->logInFileCheck->isChecked();
h_data.myRemoveLogOnSuccess = myAdvWidget->removeLogOnSuccessCheck->isChecked();
+ h_data.myUseLib = myAdvWidget->useLibraryCheck->isChecked();
// Enforced vertices
h_data.myEnforcedVertices.clear();
typedef struct
{
bool myHeightIsRelative, myImprinting, mySnapping, myLayersOnAllWrap,
- myKeepFiles, myLogInStandardOutput, myRemoveLogOnSuccess;
+ myKeepFiles, myLogInStandardOutput, myRemoveLogOnSuccess, myUseLib;
int myOptimizationLevel, myCollisionMode, myBoundaryLayersGrowth, myElementGeneration;
QString myName,myWorkingDir;
double myGradation;
<source>KEEP_WORKING_FILES</source>
<translation>Keep all working files</translation>
</message>
+ <message>
+ <source>HYBRID_USE_LIBRARY</source>
+ <translation>Use library</translation>
+ </message>
<message>
<source>COLLISION_MODE</source>
<translation>Behavior in case of collision between layers</translation>
<source>KEEP_WORKING_FILES</source>
<translation>Conserver tous les fichiers temporaires</translation>
</message>
+ <message>
+ <source>HYBRID_USE_LIBRARY</source>
+ <translation>Utiliser la librairie</translation>
+ </message>
<message>
<source>COLLISION_MODE</source>
<translation>Comportement en cas de collision entre les couches</translation>
<source>KEEP_WORKING_FILES</source>
<translation>すべての作業ファイルを維持</translation>
</message>
+ <message>
+ <source>HYBRID_USE_LIBRARY</source>
+ <translation>図書館を利用する</translation>
+ </message>
<message>
<source>COLLISION_MODE</source>
<translation>レイヤー間の干渉時の振る舞い</translation>
for ( o2v = _customOption2value.begin(); o2v != _customOption2value.end(); ++o2v )
save << " -" << o2v->first << " -" << o2v->second;
+ // New in SALOME 9.13
+ save << " " << myUseLib;
+
return save;
}
}
}
+ // New in SALOME 9.13
+ if ( static_cast<bool>(load >> i))
+ myUseLib = (bool) i;
+
return load;
}
short myElementGeneration;
double myCoreSize;
- bool myUseLib;
bool myLayersOnAllWrap;
std::vector<int> myFacesWithImprinting;
std::vector<int> myFacesWithSnapping;
bool myToUseBoundaryRecoveryVersion; // missing from hybrid
bool myToUseFemCorrection; // missing from hybrid
bool myToRemoveCentralPoint; // missing from hybrid
+ bool myUseLib;
THYBRIDEnforcedVertexList _enfVertexList;