-// Copyright (C) 2007-2014 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
public:
// Constructor
HexoticPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
- int theStudyId,
- ::SMESH_Gen* theGenImpl);
+ ::SMESH_Gen* theGenImpl);
// Destructor
virtual ~HexoticPlugin_Hypothesis_i();
void SetMaxSize(CORBA::Double theVal);
CORBA::Double GetMaxSize();
+ void SetGeomApproxAngle(CORBA::Double angle);
+ CORBA::Double GetGeomApproxAngle();
+
void SetHexoticIgnoreRidges(CORBA::Boolean theVal);
CORBA::Boolean GetHexoticIgnoreRidges();
-
+
void SetHexoticInvalidElements(CORBA::Boolean theVal);
CORBA::Boolean GetHexoticInvalidElements();
-
+
void SetHexoticSharpAngleThreshold(CORBA::Double theVal);
CORBA::Double GetHexoticSharpAngleThreshold();
-
+
void SetHexoticNbProc(CORBA::Long theVal);
CORBA::Long GetHexoticNbProc();
-
+
void SetHexoticWorkingDirectory(const char* path) throw ( SALOME::SALOME_Exception );
char* GetHexoticWorkingDirectory();
+ void SetKeepFiles(::CORBA::Boolean toKeep);
+ ::CORBA::Boolean GetKeepFiles();
+
+ void SetStandardOutputLog(::CORBA::Boolean logInStandardOutput);
+ ::CORBA::Boolean GetStandardOutputLog();
+
+ void SetRemoveLogOnSuccess(::CORBA::Boolean removeLogOnSuccess);
+ ::CORBA::Boolean GetRemoveLogOnSuccess();
+
void SetHexoticSdMode(CORBA::Long value);
CORBA::Long GetHexoticSdMode();
void SetHexoticMaxMemory(CORBA::Long theVal);
CORBA::Long GetHexoticMaxMemory();
-
+
+ void SetAdvancedOption(const char* theOptions) throw (SALOME::SALOME_Exception);
+ char* GetAdvancedOption();
+ void SetTextOptions(const char* theOptions); // obsolete
+ char* GetTextOptions();
+
+ 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);
+
+ HexoticPlugin::string_array* GetOptionValues();
+ HexoticPlugin::string_array* GetAdvancedOptionValues();
+
+ void SetOptionValues(const HexoticPlugin::string_array& options) throw (SALOME::SALOME_Exception);
+ void SetAdvancedOptionValues(const HexoticPlugin::string_array& options);
+
+ void AddOption(const char* optionName, const char* optionValue);
+ char* GetOption(const char* optionName);
void SetSizeMapEntry(const char* theEntry, CORBA::Double theSize);
void UnsetSizeMapEntry(const char* theEntry);
-
+
void SetSizeMap(GEOM::GEOM_Object_ptr theGeomObj, double theSize);
void UnsetSizeMap(GEOM::GEOM_Object_ptr theGeomObj);
HexoticPlugin::HexoticPluginSizeMapsList* GetSizeMaps ();
+ void SetNbLayers(CORBA::Long theVal);
+ CORBA::Long GetNbLayers();
+
+ void SetFirstLayerSize(CORBA::Double theVal);
+ CORBA::Double GetFirstLayerSize();
+
+ void SetDirection(CORBA::Boolean theVal);
+ CORBA::Boolean GetDirection();
+
+ void SetGrowth(CORBA::Double theVal);
+ CORBA::Double GetGrowth();
+
+ void SetFacesWithLayers(const SMESH::long_array& theVal);
+ SMESH::long_array* GetFacesWithLayers();
+
+ void SetImprintedFaces(const SMESH::long_array& theVal);
+ SMESH::long_array* GetImprintedFaces();
+
// Get implementation
::HexoticPlugin_Hypothesis* GetImpl();
// Verify whether hypothesis supports given entity type
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
+
+ // Methods for copying mesh definition to other geometry
+
+ // Return geometry this hypothesis depends on. Return false if there is no geometry parameter
+ virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
+ std::vector< int > & subIDArray ) const;
+
+ // Set new geometry instead of that returned by getObjectsDependOn()
+ virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
+ std::vector< int > & subIDArray );
};
#endif