-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#define HexoticPLUGINGUI_HypothesisCreator_H
#include "HexoticPluginGUI.h"
-
-#include <SMESHGUI_Hypotheses.h>
-#include "StdMeshersGUI_ObjectReferenceParamWdg.h"
#include "HexoticPlugin_Hypothesis.hxx"
+#include <SMESHGUI_Hypotheses.h>
+#include <StdMeshersGUI_ObjectReferenceParamWdg.h>
#include <QItemDelegate>
+#include CORBA_SERVER_HEADER(HexoticPlugin_Algorithm)
+
class QtxIntSpinBox;
class QCheckBox;
class QLineEdit;
class QTableWidgetItem;
class HexoticPluginGUI_StdWidget;
+class HexoticPluginGUI_AdvWidget;
class HexoticPluginGUI_SizeMapsWidget;
class HexoticPluginGUI_ViscousLayersWidget;
class SMESH_AdvOptionsWdg;
{
QString myName;
int myHexesMinLevel, myHexesMaxLevel;
- double myMinSize, myMaxSize;
+ double myMinSize, myMaxSize, myApproxAngle;
bool myHexoticInvalidElements;
bool myHexoticIgnoreRidges;
double myHexoticSharpAngleThreshold;
int myHexoticMaxMemory;
int myHexoticSdMode;
QString myTextOptions;
+ bool myKeepFiles,myLogInStandardOutput, myRemoveLogOnSuccess;
HexoticPlugin_Hypothesis::THexoticSizeMaps mySizeMaps;
int myNbLayers;
double myFirstLayerSize;
private:
// QWidget* myStdGroup;
- QLineEdit* myName;
- HexoticPluginGUI_StdWidget* myStdWidget;
- SMESH_AdvOptionsWdg* myAdvWidget;
- HexoticPluginGUI_SizeMapsWidget* mySmpWidget;
- HexoticPluginGUI_ViscousLayersWidget* myVLWidget;
- StdMeshersGUI_ObjectReferenceParamWdg* myGeomSelWdg;
+ QLineEdit* myName;
+ HexoticPluginGUI_StdWidget* myStdWidget;
+ HexoticPluginGUI_AdvWidget* myAdvWidget;
+ mutable HexoticPlugin::string_array_var myOptions, myCustomOptions;
+ HexoticPluginGUI_SizeMapsWidget* mySmpWidget;
+ HexoticPluginGUI_ViscousLayersWidget* myVLWidget;
+ StdMeshersGUI_ObjectReferenceParamWdg* myGeomSelWdg;
bool myIs3D;
std::vector< std::string > mySizeMapsToRemove;
void onAddLocalSize();
void onRemoveLocalSize();
void onTabChanged(int);
-
+ void onAddOption();
+ void onDirBtnClicked();
};
class SizeMapsTableWidgetDelegate : public QItemDelegate