X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Filter.idl;h=516eeb38f7cb776d7bc2b102b31ab79b1831d0cc;hp=0644362d43c076c62ea248d457856d9897f53ae1;hb=95dab66d27ba89f7ef91cf50e207367d2b48125a;hpb=c21a157b9d128bf905d3a575d90fdbbb07ed3a2e diff --git a/idl/SMESH_Filter.idl b/idl/SMESH_Filter.idl index 0644362d4..516eeb38f 100644 --- a/idl/SMESH_Filter.idl +++ b/idl/SMESH_Filter.idl @@ -51,6 +51,7 @@ module SMESH FT_Taper, FT_Skew, FT_Area, + FT_Volume3D, FT_FreeBorders, FT_FreeEdges, FT_MultiConnection, @@ -105,6 +106,7 @@ module SMESH interface Taper : NumericalFunctor{}; interface Skew : NumericalFunctor{}; interface Area : NumericalFunctor{}; + interface Volume3D : NumericalFunctor{}; interface Length : NumericalFunctor{}; interface Length2D : NumericalFunctor { @@ -155,7 +157,9 @@ module SMESH void SetElementType( in ElementType theType ); void SetShapeName( in string theName ); - string GetShapeName(); + void SetShape( in string theID, in string theName ); + string GetShapeName(); + string GetShapeID(); }; /*! @@ -167,7 +171,9 @@ module SMESH void SetTolerance( in double theToler ); double GetTolerance(); void SetShapeName( in string theName, in ElementType theType ); + void SetShape( in string theID, in string theName, in ElementType theType ); string GetShapeName(); + string GetShapeID(); }; @@ -199,7 +205,9 @@ module SMESH void SetElementType( in ElementType theType ); void SetShapeName( in string theName ); + void SetShape( in string theID, in string theName ); string GetShapeName(); + string GetShapeID(); }; /*! @@ -278,7 +286,7 @@ module SMESH /*! * Filter */ - interface Filter: SALOME::GenericObj + interface Filter: SALOME::GenericObj, SMESH_IDSource { /*! * Structure containing information about one criterion @@ -291,6 +299,8 @@ module SMESH * ThresholdStr - Threshold value defined as string. Used for: * 1. Diaposon of identifiers. Example: "1,2,3,5-10,12,27-29" * 2. BelongToGeom predicate for storing name of shape + * ThresholdID - One more threshold value defined as string. Used for: + * 1. BelongToGeom predicate for storing id of shape * Tolerance - Tolerance is used for comparators (EqualTo comparision) and for * "Belong to plane" and "Belong to cylinder" predicates * TypeOfElement - type of element SMESH::NODE, SMESH::FACE (used by BelongToGeom predicate only) @@ -302,6 +312,7 @@ module SMESH long Compare; double Threshold; string ThresholdStr; + string ThresholdID; long UnaryOp; long BinaryOp; double Tolerance; @@ -312,6 +323,8 @@ module SMESH typedef sequence Criteria; void SetPredicate( in Predicate thePredicate ); + void SetMesh( in SMESH_Mesh theMesh ); + long_array GetElementsId( in SMESH_Mesh theMesh ); ElementType GetElementType(); Predicate GetPredicate(); @@ -372,6 +385,7 @@ module SMESH Taper CreateTaper(); Skew CreateSkew(); Area CreateArea(); + Volume3D CreateVolume3D(); Length CreateLength(); Length2D CreateLength2D(); MultiConnection CreateMultiConnection();