X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FNETGENPlugin_Algorithm.idl;h=6d2b1520f6b14e6ba42c28c01c033452654001bb;hb=6f1ecd26cbaea68fe32900c45e9b54e41a57b8f4;hp=37426206161e36dda6172a5800a9122da1df7eaf;hpb=34f646e4657878e684b461fe8b3144e282c63945;p=plugins%2Fnetgenplugin.git diff --git a/idl/NETGENPlugin_Algorithm.idl b/idl/NETGENPlugin_Algorithm.idl index 3742620..6d2b152 100644 --- a/idl/NETGENPlugin_Algorithm.idl +++ b/idl/NETGENPlugin_Algorithm.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -28,6 +28,7 @@ #include "SALOME_Exception.idl" #include "SMESH_Hypothesis.idl" +#include "SMESH_Group.idl" #include "GEOM_Gen.idl" /*! @@ -43,6 +44,13 @@ module NETGENPlugin { }; + /*! + * NETGENPlugin_NETGEN_3D: interface of "Remote Tetrahedron (Netgen)" algorithm + */ + interface NETGENPlugin_NETGEN_3D_Remote : NETGENPlugin::NETGENPlugin_NETGEN_3D + { + }; + /*! * NETGENPlugin_NETGEN_2D: interface of "Netgen 1D-2D" algorithm */ @@ -66,6 +74,13 @@ module NETGENPlugin { }; + /*! + * NETGENPlugin_NETGEN_2D: interface of "Remote Triangle (Netgen)" algorithm + */ + interface NETGENPlugin_NETGEN_2D_Remote : NETGENPlugin::NETGENPlugin_NETGEN_2D_ONLY + { + }; + /*! * NETGENPlugin_Remesher_2D: interface of "NETGEN Remesher" algorithm, * generating 2D elements basing on an existing 2D mesh @@ -79,53 +94,77 @@ module NETGENPlugin */ interface NETGENPlugin_Hypothesis : SMESH::SMESH_Hypothesis { - void SetMaxSize(in double value); - double GetMaxSize(); + void SetMaxSize(in double value); + double GetMaxSize(); - void SetMinSize(in double value); - double GetMinSize(); + void SetMinSize(in double value); + double GetMinSize(); - void SetSecondOrder(in boolean value); + void SetSecondOrder(in boolean value); boolean GetSecondOrder(); - void SetOptimize(in boolean value); + void SetOptimize(in boolean value); boolean GetOptimize(); - void SetFineness(in long value); - long GetFineness(); + void SetFineness(in long value); + long GetFineness(); - void SetGrowthRate(in double value); - double GetGrowthRate(); + void SetGrowthRate(in double value); + double GetGrowthRate(); - void SetNbSegPerEdge(in double value); - double GetNbSegPerEdge(); + void SetNbSegPerEdge(in double value); + double GetNbSegPerEdge(); - void SetChordalErrorEnabled(in boolean value); + void SetChordalErrorEnabled(in boolean value); boolean GetChordalErrorEnabled(); - void SetChordalError(in double value); - double GetChordalError(); + void SetChordalError(in double value); + double GetChordalError(); - void SetNbSegPerRadius(in double value); - double GetNbSegPerRadius(); + void SetNbSegPerRadius(in double value); + double GetNbSegPerRadius(); - void SetQuadAllowed(in boolean value); + void SetQuadAllowed(in boolean value); boolean GetQuadAllowed(); - - void SetUseSurfaceCurvature(in boolean value); + + void SetUseSurfaceCurvature(in boolean value); boolean GetUseSurfaceCurvature(); - - void SetFuseEdges(in boolean value); + + void SetFuseEdges(in boolean value); boolean GetFuseEdges(); - void SetLocalSizeOnShape(in GEOM::GEOM_Object GeomObj, in double localSize) + void SetLocalSizeOnShape(in GEOM::GEOM_Object GeomObj, in double localSize) raises (SALOME::SALOME_Exception); - void SetLocalSizeOnEntry(in string entry, in double localSize); - double GetLocalSizeOnEntry(in string entry); + void SetLocalSizeOnEntry(in string entry, in double localSize); + double GetLocalSizeOnEntry(in string entry); string_array GetLocalSizeEntries(); - void UnsetLocalSizeOnEntry(in string entry); + void UnsetLocalSizeOnEntry(in string entry); + + void SetMeshSizeFile(in string fileName); + string GetMeshSizeFile(); + + void SetNbSurfOptSteps(in short nb ); + short GetNbSurfOptSteps(); + + void SetNbVolOptSteps(in short nb ); + short GetNbVolOptSteps(); + + void SetElemSizeWeight(in double size ); + double GetElemSizeWeight(); + + void SetWorstElemMeasure(in short val ); + short GetWorstElemMeasure(); + + void SetNbThreads(in short val ); + short GetNbThreads(); + + void SetUseDelauney(in boolean toUse); + boolean GetUseDelauney(); + + void SetCheckOverlapping(in boolean toCheck ); + boolean GetCheckOverlapping(); - void SetMeshSizeFile(in string fileName); - string GetMeshSizeFile(); + void SetCheckChartBoundary(in boolean toCheck ); + boolean GetCheckChartBoundary(); }; /*! @@ -157,8 +196,65 @@ module NETGENPlugin /*! * \brief Set/get ridge angle */ - void SetRidgeAngle(in double angle ); - double GetRidgeAngle(); + void SetRidgeAngle(in double angle ); + double GetRidgeAngle(); + + void SetEdgeCornerAngle(in double angle ); + double GetEdgeCornerAngle(); + + void SetChartAngle(in double angle ); + double GetChartAngle(); + + void SetOuterChartAngle(in double angle ); + double GetOuterChartAngle(); + + void SetRestHChartDistFactor(in double f ); + double GetRestHChartDistFactor(); + + void SetRestHChartDistEnable(in boolean enable ); + boolean GetRestHChartDistEnable(); + + void SetRestHLineLengthFactor(in double f ); + double GetRestHLineLengthFactor(); + + void SetRestHLineLengthEnable(in boolean enable ); + boolean GetRestHLineLengthEnable(); + + void SetRestHCloseEdgeFactor(in double f ); + double GetRestHCloseEdgeFactor(); + + void SetRestHCloseEdgeEnable(in boolean enable ); + boolean GetRestHCloseEdgeEnable(); + + void SetRestHSurfCurvFactor(in double f ); + double GetRestHSurfCurvFactor(); + + void SetRestHSurfCurvEnable(in boolean enable ); + boolean GetRestHSurfCurvEnable(); + + void SetRestHEdgeAngleFactor(in double f ); + double GetRestHEdgeAngleFactor(); + + void SetRestHEdgeAngleEnable(in boolean enable ); + boolean GetRestHEdgeAngleEnable(); + + void SetRestHSurfMeshCurvFactor(in double f ); + double GetRestHSurfMeshCurvFactor(); + + void SetRestHSurfMeshCurvEnable(in boolean enable ); + boolean GetRestHSurfMeshCurvEnable(); + + void SetKeepExistingEdges(in boolean toKeep ); + boolean GetKeepExistingEdges(); + + void SetMakeGroupsOfSurfaces(in boolean toMake ); + boolean GetMakeGroupsOfSurfaces(); + + void SetLoadMeshOnCancel(in boolean toLoad ); + boolean GetLoadMeshOnCancel(); + + void SetFixedEdgeGroup( in SMESH::SMESH_GroupBase edgeGroup ); + SMESH::SMESH_GroupBase GetFixedEdgeGroup( in SMESH::SMESH_Mesh mesh ); }; /*! @@ -169,12 +265,12 @@ module NETGENPlugin /*! * Sets value */ - void SetNumberOfSegments(in short nb) raises (SALOME::SALOME_Exception); + void SetNumberOfSegments(in long nb) raises (SALOME::SALOME_Exception); /*! * Returns value. * Can be zero in case if LocalLength() has been set */ - short GetNumberOfSegments(); + long GetNumberOfSegments(); /*! * Sets value