X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGHS3DPlugin%2FGHS3DPlugin_Hypothesis_i.hxx;fp=src%2FGHS3DPlugin%2FGHS3DPlugin_Hypothesis_i.hxx;h=37f1a86edecec0d243283e2a13e7eac41c9a5e37;hb=f899b6e4b56e76e17e2d9341298341e9680e8eec;hp=286054307cdeee10cb3ff78ed31b7a60c1166d2d;hpb=204313b80ee7fdf304a378b80764f9740c583952;p=plugins%2Fghs3dplugin.git diff --git a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis_i.hxx b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis_i.hxx index 2860543..37f1a86 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis_i.hxx +++ b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis_i.hxx @@ -54,6 +54,22 @@ class GHS3DPLUGIN_EXPORT GHS3DPlugin_Hypothesis_i: */ void SetToMeshHoles(CORBA::Boolean toMesh); CORBA::Boolean GetToMeshHoles(); + /*! + * Activate/deactivate volume proximity computation + */ + void SetVolumeProximity( CORBA::Boolean toUse ); + CORBA::Boolean GetVolumeProximity(); + /*! + * Set number of surface element layers to be generated due to volume proximity + */ + void SetNbVolumeProximityLayers( CORBA::Short nbLayers ); + CORBA::Short GetNbVolumeProximityLayers(); + + void SetMaxSize(CORBA::Double theMaxSize); + CORBA::Double GetMaxSize(); + + void SetMinSize(CORBA::Double theMinSize); + CORBA::Double GetMinSize(); /*! * To make groups of volumes of different domains when mesh is generated from skin. * Default is to make groups. @@ -126,10 +142,23 @@ class GHS3DPLUGIN_EXPORT GHS3DPlugin_Hypothesis_i: /*! * To set hiden/undocumented/advanced options */ - void SetAdvancedOption(const char* option); + void SetAdvancedOption(const char* option) throw (SALOME::SALOME_Exception); char* GetAdvancedOption(); void SetTextOption(const char* option); // obsolete char* GetTextOption(); + + void SetOptionValue(const char* optionName, const char* optionValue) throw (SALOME::SALOME_Exception); + char* GetOptionValue(const char* optionName) throw (SALOME::SALOME_Exception); + void UnsetOption(const char* optionName); + + GHS3DPlugin::string_array* GetOptionValues(); + GHS3DPlugin::string_array* GetAdvancedOptionValues(); + + void SetOptionValues(const GHS3DPlugin::string_array& options) throw (SALOME::SALOME_Exception); + void SetAdvancedOptionValues(const GHS3DPlugin::string_array& options); + + void AddOption(const char* optionName, const char* optionValue); + char* GetOption(const char* optionName); /*! * To define the volumic gradation */ @@ -179,6 +208,11 @@ class GHS3DPLUGIN_EXPORT GHS3DPlugin_Hypothesis_i: GHS3DPlugin::GHS3DEnforcedMeshList* GetEnforcedMeshes(); void ClearEnforcedMeshes(); + // 3 GUI methods + CORBA::Double GetMaxSizeDefault(); + CORBA::Double GetMinSizeDefault(); + void SetMinMaxSizeDefault( CORBA::Double theMinSize, CORBA::Double theMaxSize ); + // Get implementation ::GHS3DPlugin_Hypothesis* GetImpl();