1 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 // SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
24 // File : SMESH_Filter_i.hxx
25 // Author : Alexey Petrov, OCC
28 #ifndef _SMESH_FILTER_I_HXX_
29 #define _SMESH_FILTER_I_HXX_
33 #include <SALOMEconfig.h>
34 #include CORBA_SERVER_HEADER(SMESH_Filter)
36 #include <LDOM_Document.hxx>
37 #include <TopoDS_Shape.hxx>
39 #include "SALOME_GenericObj_i.hh"
40 #include "SMESH_ControlsDef.hxx"
49 // ================================================================================
55 Description : Predicate for verifying whether entiy belong to
56 specified geometrical support
58 class SMESH_I_EXPORT BelongToGeom: public virtual Predicate
63 virtual void SetMesh( const SMDS_Mesh* theMesh );
64 virtual void SetGeom( const TopoDS_Shape& theShape );
66 virtual bool IsSatisfy( long theElementId );
68 virtual void SetType( SMDSAbs_ElementType theType );
69 virtual SMDSAbs_ElementType GetType() const;
71 TopoDS_Shape GetShape();
72 const SMESHDS_Mesh* GetMeshDS() const;
74 void SetTolerance( double );
75 double GetTolerance();
81 const SMESHDS_Mesh* myMeshDS;
82 SMDSAbs_ElementType myType;
84 double myTolerance; // only if myIsSubshape == false
85 Controls::ElementsOnShapePtr myElementsOnShapePtr; // only if myIsSubshape == false
87 typedef boost::shared_ptr<BelongToGeom> BelongToGeomPtr;
91 Description : Predicate for verifying whether entiy lying or partially lying on
92 specified geometrical support
94 class SMESH_I_EXPORT LyingOnGeom: public virtual Predicate
99 virtual void SetMesh( const SMDS_Mesh* theMesh );
100 virtual void SetGeom( const TopoDS_Shape& theShape );
102 virtual bool IsSatisfy( long theElementId );
104 virtual void SetType( SMDSAbs_ElementType theType );
105 virtual SMDSAbs_ElementType GetType() const;
107 TopoDS_Shape GetShape();
108 const SMESHDS_Mesh* GetMeshDS() const;
110 void SetTolerance( double );
111 double GetTolerance();
113 virtual bool Contains( const SMESHDS_Mesh* theMeshDS,
114 const TopoDS_Shape& theShape,
115 const SMDS_MeshElement* theElem,
116 TopAbs_ShapeEnum theFindShapeEnum,
117 TopAbs_ShapeEnum theAvoidShapeEnum = TopAbs_SHAPE );
121 TopoDS_Shape myShape;
122 const SMESHDS_Mesh* myMeshDS;
123 SMDSAbs_ElementType myType;
125 double myTolerance; // only if myIsSubshape == false
126 Controls::ElementsOnShapePtr myElementsOnShapePtr; // only if myIsSubshape == false
128 typedef boost::shared_ptr<LyingOnGeom> LyingOnGeomPtr;
130 } // namespace Controls
132 // ================================================================================
139 Description : An abstact class for all functors
141 class SMESH_I_EXPORT Functor_i: public virtual POA_SMESH::Functor,
142 public virtual SALOME::GenericObj_i
145 void SetMesh( SMESH_Mesh_ptr theMesh );
146 Controls::FunctorPtr GetFunctor(){ return myFunctorPtr;}
147 ElementType GetElementType();
153 Controls::FunctorPtr myFunctorPtr;
157 Class : NumericalFunctor_i
158 Description : Base class for numerical functors
160 class SMESH_I_EXPORT NumericalFunctor_i: public virtual POA_SMESH::NumericalFunctor,
161 public virtual Functor_i
164 CORBA::Double GetValue( CORBA::Long theElementId );
165 SMESH::Histogram* GetHistogram(CORBA::Short nbIntervals);
166 void SetPrecision( CORBA::Long thePrecision );
167 CORBA::Long GetPrecision();
168 Controls::NumericalFunctorPtr GetNumericalFunctor();
171 Controls::NumericalFunctorPtr myNumericalFunctorPtr;
176 Class : SMESH_MinimumAngleFunct
177 Description : Functor for calculation of minimum angle
179 class SMESH_I_EXPORT MinimumAngle_i: public virtual POA_SMESH::MinimumAngle,
180 public virtual NumericalFunctor_i
184 FunctorType GetFunctorType();
189 Class : AspectRatio_i
190 Description : Functor for calculating aspect ratio
192 class SMESH_I_EXPORT AspectRatio_i: public virtual POA_SMESH::AspectRatio,
193 public virtual NumericalFunctor_i
197 FunctorType GetFunctorType();
202 Class : AspectRatio3D_i
203 Description : Functor for calculating aspect ratio for 3D
205 class SMESH_I_EXPORT AspectRatio3D_i: public virtual POA_SMESH::AspectRatio3D,
206 public virtual NumericalFunctor_i
210 FunctorType GetFunctorType();
216 Description : Functor for calculating warping
218 class SMESH_I_EXPORT Warping_i: public virtual POA_SMESH::Warping,
219 public virtual NumericalFunctor_i
223 FunctorType GetFunctorType();
229 Description : Functor for calculating taper
231 class SMESH_I_EXPORT Taper_i: public virtual POA_SMESH::Taper,
232 public virtual NumericalFunctor_i
236 FunctorType GetFunctorType();
242 Description : Functor for calculating skew in degrees
244 class SMESH_I_EXPORT Skew_i: public virtual POA_SMESH::Skew,
245 public virtual NumericalFunctor_i
249 FunctorType GetFunctorType();
255 Description : Functor for calculating area
257 class SMESH_I_EXPORT Area_i: public virtual POA_SMESH::Area,
258 public virtual NumericalFunctor_i
262 FunctorType GetFunctorType();
268 Description : Functor for calculating volume of 3D element
270 class SMESH_I_EXPORT Volume3D_i: public virtual POA_SMESH::Volume3D,
271 public virtual NumericalFunctor_i
275 FunctorType GetFunctorType();
280 Class : MaxElementLength2D_i
281 Description : Functor for calculating maximum length of 2D element
283 class SMESH_I_EXPORT MaxElementLength2D_i: public virtual POA_SMESH::MaxElementLength2D,
284 public virtual NumericalFunctor_i
287 MaxElementLength2D_i();
288 FunctorType GetFunctorType();
293 Class : MaxElementLength3D_i
294 Description : Functor for calculating maximum length of 3D element
296 class SMESH_I_EXPORT MaxElementLength3D_i: public virtual POA_SMESH::MaxElementLength3D,
297 public virtual NumericalFunctor_i
300 MaxElementLength3D_i();
301 FunctorType GetFunctorType();
307 Description : Functor for calculating length of edge
309 class SMESH_I_EXPORT Length_i: public virtual POA_SMESH::Length,
310 public virtual NumericalFunctor_i
314 FunctorType GetFunctorType();
319 Description : Functor for calculating length of edge
321 class SMESH_I_EXPORT Length2D_i: public virtual POA_SMESH::Length2D,
322 public virtual NumericalFunctor_i
326 SMESH::Length2D::Values* GetValues();
327 FunctorType GetFunctorType();
330 Controls::Length2DPtr myLength2DPtr;
335 Class : MultiConnection_i
336 Description : Functor for calculating number of faces conneted to the edge
338 class SMESH_I_EXPORT MultiConnection_i: public virtual POA_SMESH::MultiConnection,
339 public virtual NumericalFunctor_i
343 FunctorType GetFunctorType();
347 Class : MultiConnection2D_i
348 Description : Functor for calculating number of faces conneted to the edge
350 class SMESH_I_EXPORT MultiConnection2D_i: public virtual POA_SMESH::MultiConnection2D,
351 public virtual NumericalFunctor_i
354 MultiConnection2D_i();
355 SMESH::MultiConnection2D::Values* GetValues();
356 FunctorType GetFunctorType();
359 Controls::MultiConnection2DPtr myMulticonnection2DPtr;
368 Description : Base class for all predicates
370 class SMESH_I_EXPORT Predicate_i: public virtual POA_SMESH::Predicate,
371 public virtual Functor_i
374 CORBA::Boolean IsSatisfy( CORBA::Long theElementId );
375 Controls::PredicatePtr GetPredicate();
378 Controls::PredicatePtr myPredicatePtr;
383 Class : BadOrientedVolume_i
384 Description : Verify whether a mesh volume is incorrectly oriented from
385 the point of view of MED convention
387 class SMESH_I_EXPORT BadOrientedVolume_i: public virtual POA_SMESH::BadOrientedVolume,
388 public virtual Predicate_i
391 BadOrientedVolume_i();
392 FunctorType GetFunctorType();
396 Class : BareBorderVolume_i
397 Description : Verify whether a mesh volume has a free facet without a face on it
399 class SMESH_I_EXPORT BareBorderVolume_i: public virtual POA_SMESH::BareBorderVolume,
400 public virtual Predicate_i
403 BareBorderVolume_i();
404 FunctorType GetFunctorType();
408 Class : BareBorderFace_i
409 Description : Verify whether a mesh face has a free border without an edge on it
411 class SMESH_I_EXPORT BareBorderFace_i: public virtual POA_SMESH::BareBorderFace,
412 public virtual Predicate_i
416 FunctorType GetFunctorType();
420 Class : OverConstrainedVolume_i
421 Description : Verify whether a mesh volume has only one facet shared with other volumes
423 class SMESH_I_EXPORT OverConstrainedVolume_i: public virtual POA_SMESH::OverConstrainedVolume,
424 public virtual Predicate_i
427 OverConstrainedVolume_i();
428 FunctorType GetFunctorType();
432 Class : OverConstrainedFace_i
433 Description : Verify whether a mesh face has only one border shared with other faces
435 class SMESH_I_EXPORT OverConstrainedFace_i: public virtual POA_SMESH::OverConstrainedFace,
436 public virtual Predicate_i
439 OverConstrainedFace_i();
440 FunctorType GetFunctorType();
444 Class : BelongToGeom_i
445 Description : Predicate for selection on geometrical support
447 class SMESH_I_EXPORT BelongToGeom_i: public virtual POA_SMESH::BelongToGeom,
448 public virtual Predicate_i
452 virtual ~BelongToGeom_i();
454 void SetGeom( GEOM::GEOM_Object_ptr theGeom );
455 void SetElementType( ElementType theType );
456 FunctorType GetFunctorType();
458 void SetGeom( const TopoDS_Shape& theShape );
460 void SetShapeName( const char* theName );
461 void SetShape( const char* theID, const char* theName );
462 char* GetShapeName();
465 void SetTolerance( CORBA::Double );
466 CORBA::Double GetTolerance();
469 Controls::BelongToGeomPtr myBelongToGeomPtr;
475 Class : BelongToSurface_i
476 Description : Verify whether mesh element lie in pointed Geom planar object
478 class SMESH_I_EXPORT BelongToSurface_i: public virtual POA_SMESH::BelongToSurface,
479 public virtual Predicate_i
482 BelongToSurface_i( const Handle(Standard_Type)& );
483 virtual ~BelongToSurface_i();
485 void SetSurface( GEOM::GEOM_Object_ptr theGeom, ElementType theType );
487 void SetShapeName( const char* theName, ElementType theType );
488 void SetShape( const char* theID, const char* theName, ElementType theType );
489 char* GetShapeName();
492 void SetTolerance( CORBA::Double );
493 CORBA::Double GetTolerance();
495 void SetUseBoundaries( CORBA::Boolean theUseBndRestrictions );
496 CORBA::Boolean GetUseBoundaries();
499 Controls::ElementsOnSurfacePtr myElementsOnSurfacePtr;
502 Handle(Standard_Type) mySurfaceType;
506 Class : BelongToPlane_i
507 Description : Verify whether mesh element lie in pointed Geom planar object
509 class SMESH_I_EXPORT BelongToPlane_i: public virtual POA_SMESH::BelongToPlane,
510 public virtual BelongToSurface_i
514 void SetPlane( GEOM::GEOM_Object_ptr theGeom, ElementType theType );
515 FunctorType GetFunctorType();
519 Class : BelongToCylinder_i
520 Description : Verify whether mesh element lie in pointed Geom cylindrical object
522 class SMESH_I_EXPORT BelongToCylinder_i: public virtual POA_SMESH::BelongToCylinder,
523 public virtual BelongToSurface_i
526 BelongToCylinder_i();
527 void SetCylinder( GEOM::GEOM_Object_ptr theGeom, ElementType theType );
528 FunctorType GetFunctorType();
532 Class : BelongToGenSurface_i
533 Description : Verify whether mesh element lie on pointed Geom surfasic object
535 class BelongToGenSurface_i: public virtual POA_SMESH::BelongToGenSurface,
536 public virtual BelongToSurface_i
539 BelongToGenSurface_i();
540 void SetSurface( GEOM::GEOM_Object_ptr theGeom, ElementType theType );
541 FunctorType GetFunctorType();
545 Class : LyingOnGeom_i
546 Description : Predicate for selection on geometrical support(lying or partially lying)
548 class SMESH_I_EXPORT LyingOnGeom_i: public virtual POA_SMESH::LyingOnGeom,
549 public virtual Predicate_i
553 virtual ~LyingOnGeom_i();
555 void SetGeom( GEOM::GEOM_Object_ptr theGeom );
556 void SetElementType( ElementType theType );
557 FunctorType GetFunctorType();
559 void SetGeom( const TopoDS_Shape& theShape );
561 void SetShapeName( const char* theName );
562 void SetShape( const char* theID, const char* theName );
563 char* GetShapeName();
566 void SetTolerance( CORBA::Double );
567 CORBA::Double GetTolerance();
570 Controls::LyingOnGeomPtr myLyingOnGeomPtr;
576 Class : FreeBorders_i
577 Description : Predicate for free borders
579 class SMESH_I_EXPORT FreeBorders_i: public virtual POA_SMESH::FreeBorders,
580 public virtual Predicate_i
584 FunctorType GetFunctorType();
590 Description : Predicate for free edges
592 class SMESH_I_EXPORT FreeEdges_i: public virtual POA_SMESH::FreeEdges,
593 public virtual Predicate_i
597 SMESH::FreeEdges::Borders* GetBorders();
598 FunctorType GetFunctorType();
601 Controls::FreeEdgesPtr myFreeEdgesPtr;
607 Description : Predicate for free faces
609 class SMESH_I_EXPORT FreeFaces_i: public virtual POA_SMESH::FreeFaces,
610 public virtual Predicate_i
614 FunctorType GetFunctorType();
620 Description : Predicate for free nodes
622 class SMESH_I_EXPORT FreeNodes_i: public virtual POA_SMESH::FreeNodes,
623 public virtual Predicate_i
627 FunctorType GetFunctorType();
633 Description : Predicate for Range of Ids
635 class SMESH_I_EXPORT RangeOfIds_i: public virtual POA_SMESH::RangeOfIds,
636 public virtual Predicate_i
640 void SetRange( const SMESH::long_array& theIds );
641 CORBA::Boolean SetRangeStr( const char* theRange );
644 void SetElementType( ElementType theType );
645 FunctorType GetFunctorType();
648 Controls::RangeOfIdsPtr myRangeOfIdsPtr;
652 Class : LinearOrQuadratic_i
653 Description : Verify whether a mesh element is linear
655 class SMESH_I_EXPORT LinearOrQuadratic_i: public virtual POA_SMESH::LinearOrQuadratic,
656 public virtual Predicate_i
659 LinearOrQuadratic_i();
660 FunctorType GetFunctorType();
661 void SetElementType( ElementType theType );
664 Controls::LinearOrQuadraticPtr myLinearOrQuadraticPtr;
669 Description : Functor for check color of group to whic mesh element belongs to
671 class SMESH_I_EXPORT GroupColor_i: public virtual POA_SMESH::GroupColor,
672 public virtual Predicate_i
676 FunctorType GetFunctorType();
678 void SetElementType( ElementType theType );
679 void SetColorStr( const char* theColor );
683 Controls::GroupColorPtr myGroupColorPtr;
687 Class : ElemGeomType_i
688 Description : Functor for check element geometry type
690 class SMESH_I_EXPORT ElemGeomType_i: public virtual POA_SMESH::ElemGeomType,
691 public virtual Predicate_i
695 FunctorType GetFunctorType();
697 void SetElementType ( ElementType theType );
698 void SetGeometryType( GeometryType theType );
699 GeometryType GetGeometryType() const;
702 Controls::ElemGeomTypePtr myElemGeomTypePtr;
706 Class : CoplanarFaces_i
707 Description : Returns true if a mesh face is a coplanar neighbour to a given one
709 class SMESH_I_EXPORT CoplanarFaces_i: public virtual POA_SMESH::CoplanarFaces,
710 public virtual Predicate_i
714 FunctorType GetFunctorType();
716 void SetFace ( CORBA::Long theFaceID );
717 void SetTolerance( CORBA::Double theToler );
718 char* GetFaceAsString () const;
719 CORBA::Long GetFace () const;
720 CORBA::Double GetTolerance () const;
722 Controls::CoplanarFacesPtr myCoplanarFacesPtr;
727 Description : Base class for comparators
729 class SMESH_I_EXPORT Comparator_i: public virtual POA_SMESH::Comparator,
730 public virtual Predicate_i
733 virtual ~Comparator_i();
735 virtual void SetMargin( CORBA::Double );
736 virtual void SetNumFunctor( NumericalFunctor_ptr );
738 Controls::ComparatorPtr GetComparator();
739 NumericalFunctor_i* GetNumFunctor_i();
740 CORBA::Double GetMargin();
745 Controls::ComparatorPtr myComparatorPtr;
746 NumericalFunctor_i* myNumericalFunctor;
752 Description : Comparator "<"
754 class SMESH_I_EXPORT LessThan_i: public virtual POA_SMESH::LessThan,
755 public virtual Comparator_i
759 FunctorType GetFunctorType();
765 Description : Comparator ">"
767 class SMESH_I_EXPORT MoreThan_i: public virtual POA_SMESH::MoreThan,
768 public virtual Comparator_i
772 FunctorType GetFunctorType();
778 Description : Comparator "="
780 class SMESH_I_EXPORT EqualTo_i: public virtual POA_SMESH::EqualTo,
781 public virtual Comparator_i
785 virtual void SetTolerance( CORBA::Double );
786 CORBA::Double GetTolerance();
787 FunctorType GetFunctorType();
790 Controls::EqualToPtr myEqualToPtr;
796 Description : Logical NOT predicate
798 class SMESH_I_EXPORT LogicalNOT_i: public virtual POA_SMESH::LogicalNOT,
799 public virtual Predicate_i
803 virtual ~LogicalNOT_i();
805 virtual void SetPredicate( Predicate_ptr );
806 Predicate_i* GetPredicate_i();
807 FunctorType GetFunctorType();
810 Controls::LogicalNOTPtr myLogicalNOTPtr;
811 Predicate_i* myPredicate;
816 Class : LogicalBinary_i
817 Description : Base class for binary logical predicate
819 class SMESH_I_EXPORT LogicalBinary_i: public virtual POA_SMESH::LogicalBinary,
820 public virtual Predicate_i
823 virtual ~LogicalBinary_i();
824 virtual void SetMesh( SMESH_Mesh_ptr theMesh );
825 virtual void SetPredicate1( Predicate_ptr );
826 virtual void SetPredicate2( Predicate_ptr );
828 Controls::LogicalBinaryPtr GetLogicalBinary();
829 Predicate_i* GetPredicate1_i();
830 Predicate_i* GetPredicate2_i();
835 Controls::LogicalBinaryPtr myLogicalBinaryPtr;
836 Predicate_i* myPredicate1;
837 Predicate_i* myPredicate2;
843 Description : Logical AND
845 class SMESH_I_EXPORT LogicalAND_i: public virtual POA_SMESH::LogicalAND,
846 public virtual LogicalBinary_i
850 FunctorType GetFunctorType();
856 Description : Logical OR
858 class SMESH_I_EXPORT LogicalOR_i: public virtual POA_SMESH::LogicalOR,
859 public virtual LogicalBinary_i
863 FunctorType GetFunctorType();
870 class SMESH_I_EXPORT Filter_i: public virtual POA_SMESH::Filter,
871 public virtual SALOME::GenericObj_i
879 SetPredicate( Predicate_ptr );
883 SetMesh( SMESH_Mesh_ptr );
887 GetElementsId( Predicate_i*,
889 Controls::Filter::TIdSequence& );
892 GetElementsId( Predicate_i*,
894 Controls::Filter::TIdSequence& );
898 GetElementsId( SMESH_Mesh_ptr );
906 GetCriteria( SMESH::Filter::Criteria_out theCriteria );
910 SetCriteria( const SMESH::Filter::Criteria& theCriteria );
916 Predicate_i* GetPredicate_i();
918 // =========================
919 // SMESH_IDSource interface
920 // =========================
921 virtual SMESH::long_array* GetIDs();
922 virtual SMESH::long_array* GetMeshInfo();
923 virtual SMESH::array_of_ElementType* GetTypes();
924 virtual SMESH::SMESH_Mesh_ptr GetMesh();
927 * \brief Object notified on change of predicate
929 struct TPredicateChangeWaiter
931 virtual void PredicateChanged() = 0;
933 void AddWaiter( TPredicateChangeWaiter* waiter );
934 void RemoveWaiter( TPredicateChangeWaiter* waiter );
937 Controls::Filter myFilter;
938 Predicate_i* myPredicate;
939 SMESH_Mesh_var myMesh;
941 std::list<TPredicateChangeWaiter*> myWaiters;
948 class SMESH_I_EXPORT FilterLibrary_i: public virtual POA_SMESH::FilterLibrary,
949 public virtual SALOME::GenericObj_i
952 FilterLibrary_i( const char* theFileName );
956 Filter_ptr Copy( const char* theFilterName );
958 CORBA::Boolean Add ( const char* theFilterName, Filter_ptr theFilter );
959 CORBA::Boolean AddEmpty( const char* theFilterName, ElementType theType );
960 CORBA::Boolean Delete ( const char* theFilterName );
961 CORBA::Boolean Replace ( const char* theFilterName,
962 const char* theNewName,
963 Filter_ptr theFilter );
965 CORBA::Boolean Save();
966 CORBA::Boolean SaveAs( const char* aFileName );
968 CORBA::Boolean IsPresent( const char* aFilterName );
969 CORBA::Long NbFilters( ElementType );
970 string_array* GetNames( ElementType );
971 string_array* GetAllNames();
972 void SetFileName( const char* theFileName );
978 FilterManager_var myFilterMgr;
986 class SMESH_I_EXPORT FilterManager_i: public virtual POA_SMESH::FilterManager,
987 public virtual SALOME::GenericObj_i
993 MinimumAngle_ptr CreateMinimumAngle();
994 AspectRatio_ptr CreateAspectRatio();
995 AspectRatio3D_ptr CreateAspectRatio3D();
996 Warping_ptr CreateWarping();
997 Taper_ptr CreateTaper();
998 Skew_ptr CreateSkew();
999 Area_ptr CreateArea();
1000 Volume3D_ptr CreateVolume3D();
1001 MaxElementLength2D_ptr CreateMaxElementLength2D();
1002 MaxElementLength3D_ptr CreateMaxElementLength3D();
1003 Length_ptr CreateLength();
1004 Length2D_ptr CreateLength2D();
1005 MultiConnection_ptr CreateMultiConnection();
1006 MultiConnection2D_ptr CreateMultiConnection2D();
1008 BelongToGeom_ptr CreateBelongToGeom();
1009 BelongToPlane_ptr CreateBelongToPlane();
1010 BelongToCylinder_ptr CreateBelongToCylinder();
1011 BelongToGenSurface_ptr CreateBelongToGenSurface();
1013 LyingOnGeom_ptr CreateLyingOnGeom();
1015 FreeBorders_ptr CreateFreeBorders();
1016 FreeEdges_ptr CreateFreeEdges();
1017 FreeNodes_ptr CreateFreeNodes();
1018 FreeFaces_ptr CreateFreeFaces();
1020 RangeOfIds_ptr CreateRangeOfIds();
1021 BadOrientedVolume_ptr CreateBadOrientedVolume();
1022 BareBorderFace_ptr CreateBareBorderFace();
1023 BareBorderVolume_ptr CreateBareBorderVolume();
1024 OverConstrainedFace_ptr CreateOverConstrainedFace();
1025 OverConstrainedVolume_ptr CreateOverConstrainedVolume();
1026 LinearOrQuadratic_ptr CreateLinearOrQuadratic();
1027 GroupColor_ptr CreateGroupColor();
1028 ElemGeomType_ptr CreateElemGeomType();
1029 CoplanarFaces_ptr CreateCoplanarFaces();
1031 LessThan_ptr CreateLessThan();
1032 MoreThan_ptr CreateMoreThan();
1033 EqualTo_ptr CreateEqualTo();
1035 LogicalNOT_ptr CreateLogicalNOT();
1036 LogicalAND_ptr CreateLogicalAND();
1037 LogicalOR_ptr CreateLogicalOR();
1039 Filter_ptr CreateFilter();
1041 FilterLibrary_ptr LoadLibrary( const char* aFileName );
1042 FilterLibrary_ptr CreateLibrary();
1043 CORBA::Boolean DeleteLibrary( const char* aFileName );
1048 GetPredicate( SMESH::Predicate_ptr thePredicate );
1050 const char* FunctorTypeToString(SMESH::FunctorType ft);
1051 SMESH::FunctorType StringToFunctorType(const char* str);