1 // Copyright (C) 2007-2010 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 #ifndef _SMESH_CONTROLSDEF_HXX_
24 #define _SMESH_CONTROLSDEF_HXX_
30 #include <boost/shared_ptr.hpp>
33 #include <GeomAPI_ProjectPointOnSurf.hxx>
34 #include <GeomAPI_ProjectPointOnCurve.hxx>
35 #include <TColStd_SequenceOfInteger.hxx>
36 #include <TColStd_MapOfInteger.hxx>
37 #include <TCollection_AsciiString.hxx>
39 #include <TopoDS_Face.hxx>
40 #include <TopTools_MapOfShape.hxx>
41 #include <BRepClass3d_SolidClassifier.hxx>
42 #include <Quantity_Color.hxx>
44 #include "SMDSAbs_ElementType.hxx"
45 #include "SMDS_MeshNode.hxx"
47 #include "SMESH_Controls.hxx"
50 #if defined SMESHCONTROLS_EXPORTS || defined SMESHControls_EXPORTS
51 #define SMESHCONTROLS_EXPORT __declspec( dllexport )
53 #define SMESHCONTROLS_EXPORT __declspec( dllimport )
56 #define SMESHCONTROLS_EXPORT
59 class SMDS_MeshElement;
65 class SMESHDS_SubMesh;
72 class SMESHCONTROLS_EXPORT TSequenceOfXYZ
74 typedef std::vector<gp_XYZ>::size_type size_type;
79 TSequenceOfXYZ(size_type n);
81 TSequenceOfXYZ(size_type n, const gp_XYZ& t);
83 TSequenceOfXYZ(const TSequenceOfXYZ& theSequenceOfXYZ);
85 template <class InputIterator>
86 TSequenceOfXYZ(InputIterator theBegin, InputIterator theEnd);
90 TSequenceOfXYZ& operator=(const TSequenceOfXYZ& theSequenceOfXYZ);
92 gp_XYZ& operator()(size_type n);
94 const gp_XYZ& operator()(size_type n) const;
98 void reserve(size_type n);
100 void push_back(const gp_XYZ& v);
102 size_type size() const;
105 std::vector<gp_XYZ> myArray;
110 Description : Root of all Functors
112 class SMESHCONTROLS_EXPORT Functor
116 virtual void SetMesh( const SMDS_Mesh* theMesh ) = 0;
117 virtual SMDSAbs_ElementType GetType() const = 0;
121 Class : NumericalFunctor
122 Description : Root of all Functors returning numeric value
124 class SMESHCONTROLS_EXPORT NumericalFunctor: public virtual Functor{
127 virtual void SetMesh( const SMDS_Mesh* theMesh );
128 virtual double GetValue( long theElementId );
129 virtual double GetValue(const TSequenceOfXYZ& thePoints) { return -1.0;};
130 void GetHistogram(int nbIntervals,
131 std::vector<int>& nbEvents,
132 std::vector<double>& funValues);
133 virtual SMDSAbs_ElementType GetType() const = 0;
134 virtual double GetBadRate( double Value, int nbNodes ) const = 0;
135 long GetPrecision() const;
136 void SetPrecision( const long thePrecision );
138 bool GetPoints(const int theId,
139 TSequenceOfXYZ& theRes) const;
140 static bool GetPoints(const SMDS_MeshElement* theElem,
141 TSequenceOfXYZ& theRes);
143 const SMDS_Mesh* myMesh;
144 const SMDS_MeshElement* myCurrElement;
151 Description : Functor calculating volume of 3D mesh element
153 class SMESHCONTROLS_EXPORT Volume: public virtual NumericalFunctor{
155 virtual double GetValue( long theElementId );
156 //virtual double GetValue( const TSequenceOfXYZ& thePoints );
157 virtual double GetBadRate( double Value, int nbNodes ) const;
158 virtual SMDSAbs_ElementType GetType() const;
163 Class : MaxElementLength2D
164 Description : Functor calculating maximum length of 2D element
166 class SMESHCONTROLS_EXPORT MaxElementLength2D: public virtual NumericalFunctor{
168 virtual double GetValue( long theElementId );
169 virtual double GetBadRate( double Value, int nbNodes ) const;
170 virtual SMDSAbs_ElementType GetType() const;
175 Class : MaxElementLength3D
176 Description : Functor calculating maximum length of 3D element
178 class SMESHCONTROLS_EXPORT MaxElementLength3D: public virtual NumericalFunctor{
180 virtual double GetValue( long theElementId );
181 virtual double GetBadRate( double Value, int nbNodes ) const;
182 virtual SMDSAbs_ElementType GetType() const;
187 Class : SMESH_MinimumAngle
188 Description : Functor for calculation of minimum angle
190 class SMESHCONTROLS_EXPORT MinimumAngle: public virtual NumericalFunctor{
192 virtual double GetValue( const TSequenceOfXYZ& thePoints );
193 virtual double GetBadRate( double Value, int nbNodes ) const;
194 virtual SMDSAbs_ElementType GetType() const;
200 Description : Functor for calculating aspect ratio
202 class SMESHCONTROLS_EXPORT AspectRatio: public virtual NumericalFunctor{
204 virtual double GetValue( const TSequenceOfXYZ& thePoints );
205 virtual double GetBadRate( double Value, int nbNodes ) const;
206 virtual SMDSAbs_ElementType GetType() const;
211 Class : AspectRatio3D
212 Description : Functor for calculating aspect ratio of 3D elems.
214 class SMESHCONTROLS_EXPORT AspectRatio3D: public virtual NumericalFunctor{
216 virtual double GetValue( const TSequenceOfXYZ& thePoints );
217 virtual double GetBadRate( double Value, int nbNodes ) const;
218 virtual SMDSAbs_ElementType GetType() const;
224 Description : Functor for calculating warping
226 class SMESHCONTROLS_EXPORT Warping: public virtual NumericalFunctor{
228 virtual double GetValue( const TSequenceOfXYZ& thePoints );
229 virtual double GetBadRate( double Value, int nbNodes ) const;
230 virtual SMDSAbs_ElementType GetType() const;
233 double ComputeA( const gp_XYZ&, const gp_XYZ&, const gp_XYZ&, const gp_XYZ& ) const;
239 Description : Functor for calculating taper
241 class SMESHCONTROLS_EXPORT Taper: public virtual NumericalFunctor{
243 virtual double GetValue( const TSequenceOfXYZ& thePoints );
244 virtual double GetBadRate( double Value, int nbNodes ) const;
245 virtual SMDSAbs_ElementType GetType() const;
251 Description : Functor for calculating skew in degrees
253 class SMESHCONTROLS_EXPORT Skew: public virtual NumericalFunctor{
255 virtual double GetValue( const TSequenceOfXYZ& thePoints );
256 virtual double GetBadRate( double Value, int nbNodes ) const;
257 virtual SMDSAbs_ElementType GetType() const;
263 Description : Functor for calculating area
265 class SMESHCONTROLS_EXPORT Area: public virtual NumericalFunctor{
267 virtual double GetValue( const TSequenceOfXYZ& thePoints );
268 virtual double GetBadRate( double Value, int nbNodes ) const;
269 virtual SMDSAbs_ElementType GetType() const;
275 Description : Functor for calculating length of edge
277 class SMESHCONTROLS_EXPORT Length: public virtual NumericalFunctor{
279 virtual double GetValue( const TSequenceOfXYZ& thePoints );
280 virtual double GetBadRate( double Value, int nbNodes ) const;
281 virtual SMDSAbs_ElementType GetType() const;
286 Description : Functor for calculating length of edge
288 class SMESHCONTROLS_EXPORT Length2D: public virtual NumericalFunctor{
290 virtual double GetValue( long theElementId );
291 virtual double GetBadRate( double Value, int nbNodes ) const;
292 virtual SMDSAbs_ElementType GetType() const;
296 Value(double theLength, long thePntId1, long thePntId2);
297 bool operator<(const Value& x) const;
299 typedef std::set<Value> TValues;
300 void GetValues(TValues& theValues);
302 typedef boost::shared_ptr<Length2D> Length2DPtr;
305 Class : MultiConnection
306 Description : Functor for calculating number of faces conneted to the edge
308 class SMESHCONTROLS_EXPORT MultiConnection: public virtual NumericalFunctor{
310 virtual double GetValue( long theElementId );
311 virtual double GetValue( const TSequenceOfXYZ& thePoints );
312 virtual double GetBadRate( double Value, int nbNodes ) const;
313 virtual SMDSAbs_ElementType GetType() const;
317 Class : MultiConnection2D
318 Description : Functor for calculating number of faces conneted to the edge
320 class SMESHCONTROLS_EXPORT MultiConnection2D: public virtual NumericalFunctor{
322 virtual double GetValue( long theElementId );
323 virtual double GetValue( const TSequenceOfXYZ& thePoints );
324 virtual double GetBadRate( double Value, int nbNodes ) const;
325 virtual SMDSAbs_ElementType GetType() const;
328 Value(long thePntId1, long thePntId2);
329 bool operator<(const Value& x) const;
331 typedef std::map<Value,int> MValues;
333 void GetValues(MValues& theValues);
335 typedef boost::shared_ptr<MultiConnection2D> MultiConnection2DPtr;
341 Description : Base class for all predicates
343 class SMESHCONTROLS_EXPORT Predicate: public virtual Functor{
345 virtual bool IsSatisfy( long theElementId ) = 0;
346 virtual SMDSAbs_ElementType GetType() const = 0;
352 Description : Predicate for free borders
354 class SMESHCONTROLS_EXPORT FreeBorders: public virtual Predicate{
357 virtual void SetMesh( const SMDS_Mesh* theMesh );
358 virtual bool IsSatisfy( long theElementId );
359 virtual SMDSAbs_ElementType GetType() const;
362 const SMDS_Mesh* myMesh;
367 Class : BadOrientedVolume
368 Description : Predicate bad oriented volumes
370 class SMESHCONTROLS_EXPORT BadOrientedVolume: public virtual Predicate{
373 virtual void SetMesh( const SMDS_Mesh* theMesh );
374 virtual bool IsSatisfy( long theElementId );
375 virtual SMDSAbs_ElementType GetType() const;
378 const SMDS_Mesh* myMesh;
384 Description : Predicate for free Edges
386 class SMESHCONTROLS_EXPORT FreeEdges: public virtual Predicate{
389 virtual void SetMesh( const SMDS_Mesh* theMesh );
390 virtual bool IsSatisfy( long theElementId );
391 virtual SMDSAbs_ElementType GetType() const;
392 static bool IsFreeEdge( const SMDS_MeshNode** theNodes, const int theFaceId );
393 typedef long TElemId;
397 Border(long theElemId, long thePntId1, long thePntId2);
398 bool operator<(const Border& x) const;
400 typedef std::set<Border> TBorders;
401 void GetBoreders(TBorders& theBorders);
404 const SMDS_Mesh* myMesh;
406 typedef boost::shared_ptr<FreeEdges> FreeEdgesPtr;
411 Description : Predicate for free nodes
413 class SMESHCONTROLS_EXPORT FreeNodes: public virtual Predicate{
416 virtual void SetMesh( const SMDS_Mesh* theMesh );
417 virtual bool IsSatisfy( long theNodeId );
418 virtual SMDSAbs_ElementType GetType() const;
421 const SMDS_Mesh* myMesh;
427 Description : Predicate for Range of Ids.
428 Range may be specified with two ways.
429 1. Using AddToRange method
430 2. With SetRangeStr method. Parameter of this method is a string
431 like as "1,2,3,50-60,63,67,70-"
433 class SMESHCONTROLS_EXPORT RangeOfIds: public virtual Predicate
437 virtual void SetMesh( const SMDS_Mesh* theMesh );
438 virtual bool IsSatisfy( long theNodeId );
439 virtual SMDSAbs_ElementType GetType() const;
440 virtual void SetType( SMDSAbs_ElementType theType );
442 bool AddToRange( long theEntityId );
443 void GetRangeStr( TCollection_AsciiString& );
444 bool SetRangeStr( const TCollection_AsciiString& );
447 const SMDS_Mesh* myMesh;
449 TColStd_SequenceOfInteger myMin;
450 TColStd_SequenceOfInteger myMax;
451 TColStd_MapOfInteger myIds;
453 SMDSAbs_ElementType myType;
456 typedef boost::shared_ptr<RangeOfIds> RangeOfIdsPtr;
461 Description : Base class for comparators
463 class SMESHCONTROLS_EXPORT Comparator: public virtual Predicate{
466 virtual ~Comparator();
467 virtual void SetMesh( const SMDS_Mesh* theMesh );
468 virtual void SetMargin(double theValue);
469 virtual void SetNumFunctor(NumericalFunctorPtr theFunct);
470 virtual bool IsSatisfy( long theElementId ) = 0;
471 virtual SMDSAbs_ElementType GetType() const;
476 NumericalFunctorPtr myFunctor;
478 typedef boost::shared_ptr<Comparator> ComparatorPtr;
483 Description : Comparator "<"
485 class SMESHCONTROLS_EXPORT LessThan: public virtual Comparator{
487 virtual bool IsSatisfy( long theElementId );
493 Description : Comparator ">"
495 class SMESHCONTROLS_EXPORT MoreThan: public virtual Comparator{
497 virtual bool IsSatisfy( long theElementId );
503 Description : Comparator "="
505 class SMESHCONTROLS_EXPORT EqualTo: public virtual Comparator{
508 virtual bool IsSatisfy( long theElementId );
509 virtual void SetTolerance( double theTol );
510 virtual double GetTolerance();
515 typedef boost::shared_ptr<EqualTo> EqualToPtr;
520 Description : Logical NOT predicate
522 class SMESHCONTROLS_EXPORT LogicalNOT: public virtual Predicate{
525 virtual ~LogicalNOT();
526 virtual bool IsSatisfy( long theElementId );
527 virtual void SetMesh( const SMDS_Mesh* theMesh );
528 virtual void SetPredicate(PredicatePtr thePred);
529 virtual SMDSAbs_ElementType GetType() const;
532 PredicatePtr myPredicate;
534 typedef boost::shared_ptr<LogicalNOT> LogicalNOTPtr;
538 Class : LogicalBinary
539 Description : Base class for binary logical predicate
541 class SMESHCONTROLS_EXPORT LogicalBinary: public virtual Predicate{
544 virtual ~LogicalBinary();
545 virtual void SetMesh( const SMDS_Mesh* theMesh );
546 virtual void SetPredicate1(PredicatePtr thePred);
547 virtual void SetPredicate2(PredicatePtr thePred);
548 virtual SMDSAbs_ElementType GetType() const;
551 PredicatePtr myPredicate1;
552 PredicatePtr myPredicate2;
554 typedef boost::shared_ptr<LogicalBinary> LogicalBinaryPtr;
559 Description : Logical AND
561 class SMESHCONTROLS_EXPORT LogicalAND: public virtual LogicalBinary{
563 virtual bool IsSatisfy( long theElementId );
569 Description : Logical OR
571 class SMESHCONTROLS_EXPORT LogicalOR: public virtual LogicalBinary{
573 virtual bool IsSatisfy( long theElementId );
579 Description : Predicate for manifold part of mesh
581 class SMESHCONTROLS_EXPORT ManifoldPart: public virtual Predicate{
584 /* internal class for algorithm uses */
588 Link( SMDS_MeshNode* theNode1,
589 SMDS_MeshNode* theNode2 );
592 bool IsEqual( const ManifoldPart::Link& theLink ) const;
593 bool operator<(const ManifoldPart::Link& x) const;
595 SMDS_MeshNode* myNode1;
596 SMDS_MeshNode* myNode2;
599 bool IsEqual( const ManifoldPart::Link& theLink1,
600 const ManifoldPart::Link& theLink2 );
602 typedef std::set<ManifoldPart::Link> TMapOfLink;
603 typedef std::vector<SMDS_MeshFace*> TVectorOfFacePtr;
604 typedef std::vector<ManifoldPart::Link> TVectorOfLink;
605 typedef std::map<SMDS_MeshFace*,int> TDataMapFacePtrInt;
606 typedef std::map<ManifoldPart::Link,SMDS_MeshFace*> TDataMapOfLinkFacePtr;
610 virtual void SetMesh( const SMDS_Mesh* theMesh );
611 // inoke when all parameters already set
612 virtual bool IsSatisfy( long theElementId );
613 virtual SMDSAbs_ElementType GetType() const;
615 void SetAngleTolerance( const double theAngToler );
616 double GetAngleTolerance() const;
617 void SetIsOnlyManifold( const bool theIsOnly );
618 void SetStartElem( const long theStartElemId );
622 bool findConnected( const TDataMapFacePtrInt& theAllFacePtrInt,
623 SMDS_MeshFace* theStartFace,
624 TMapOfLink& theNonManifold,
625 TColStd_MapOfInteger& theResFaces );
626 bool isInPlane( const SMDS_MeshFace* theFace1,
627 const SMDS_MeshFace* theFace2 );
628 void expandBoundary( TMapOfLink& theMapOfBoundary,
629 TVectorOfLink& theSeqOfBoundary,
630 TDataMapOfLinkFacePtr& theDMapLinkFacePtr,
631 TMapOfLink& theNonManifold,
632 SMDS_MeshFace* theNextFace ) const;
634 void getFacesByLink( const Link& theLink,
635 TVectorOfFacePtr& theFaces ) const;
638 const SMDS_Mesh* myMesh;
639 TColStd_MapOfInteger myMapIds;
640 TColStd_MapOfInteger myMapBadGeomIds;
641 TVectorOfFacePtr myAllFacePtr;
642 TDataMapFacePtrInt myAllFacePtrIntDMap;
644 bool myIsOnlyManifold;
648 typedef boost::shared_ptr<ManifoldPart> ManifoldPartPtr;
652 Class : ElementsOnSurface
653 Description : Predicate elements that lying on indicated surface
656 class SMESHCONTROLS_EXPORT ElementsOnSurface : public virtual Predicate {
659 ~ElementsOnSurface();
660 virtual void SetMesh( const SMDS_Mesh* theMesh );
661 virtual bool IsSatisfy( long theElementId );
662 virtual SMDSAbs_ElementType GetType() const;
664 void SetTolerance( const double theToler );
665 double GetTolerance() const;
666 void SetSurface( const TopoDS_Shape& theShape,
667 const SMDSAbs_ElementType theType );
668 void SetUseBoundaries( bool theUse );
669 bool GetUseBoundaries() const { return myUseBoundaries; }
673 void process( const SMDS_MeshElement* theElem );
674 bool isOnSurface( const SMDS_MeshNode* theNode );
677 const SMDS_Mesh* myMesh;
678 TColStd_MapOfInteger myIds;
679 SMDSAbs_ElementType myType;
680 //Handle(Geom_Surface) mySurf;
683 bool myUseBoundaries;
684 GeomAPI_ProjectPointOnSurf myProjector;
687 typedef boost::shared_ptr<ElementsOnSurface> ElementsOnSurfacePtr;
691 Class : ElementsOnShape
692 Description : Predicate elements that lying on indicated shape
695 class SMESHCONTROLS_EXPORT ElementsOnShape : public virtual Predicate
701 virtual void SetMesh (const SMDS_Mesh* theMesh);
702 virtual bool IsSatisfy (long theElementId);
703 virtual SMDSAbs_ElementType GetType() const;
705 void SetTolerance (const double theToler);
706 double GetTolerance() const;
707 void SetAllNodes (bool theAllNodes);
708 bool GetAllNodes() const { return myAllNodesFlag; }
709 void SetShape (const TopoDS_Shape& theShape,
710 const SMDSAbs_ElementType theType);
713 void addShape (const TopoDS_Shape& theShape);
715 void process (const SMDS_MeshElement* theElem);
718 const SMDS_Mesh* myMesh;
719 TColStd_MapOfInteger myIds;
720 SMDSAbs_ElementType myType;
721 TopoDS_Shape myShape;
725 TopTools_MapOfShape myShapesMap;
726 TopAbs_ShapeEnum myCurShapeType; // type of current sub-shape
727 BRepClass3d_SolidClassifier myCurSC; // current SOLID
728 GeomAPI_ProjectPointOnSurf myCurProjFace; // current FACE
729 TopoDS_Face myCurFace; // current FACE
730 GeomAPI_ProjectPointOnCurve myCurProjEdge; // current EDGE
731 gp_Pnt myCurPnt; // current VERTEX
734 typedef boost::shared_ptr<ElementsOnShape> ElementsOnShapePtr;
739 Description : Predicate for free faces
741 class SMESHCONTROLS_EXPORT FreeFaces: public virtual Predicate{
744 virtual void SetMesh( const SMDS_Mesh* theMesh );
745 virtual bool IsSatisfy( long theElementId );
746 virtual SMDSAbs_ElementType GetType() const;
749 const SMDS_Mesh* myMesh;
753 Class : LinearOrQuadratic
754 Description : Predicate for free faces
756 class SMESHCONTROLS_EXPORT LinearOrQuadratic: public virtual Predicate{
759 virtual void SetMesh( const SMDS_Mesh* theMesh );
760 virtual bool IsSatisfy( long theElementId );
761 void SetType( SMDSAbs_ElementType theType );
762 virtual SMDSAbs_ElementType GetType() const;
765 const SMDS_Mesh* myMesh;
766 SMDSAbs_ElementType myType;
768 typedef boost::shared_ptr<LinearOrQuadratic> LinearOrQuadraticPtr;
772 Description : Functor for check color of group to whic mesh element belongs to
774 class SMESHCONTROLS_EXPORT GroupColor: public virtual Predicate{
777 virtual void SetMesh( const SMDS_Mesh* theMesh );
778 virtual bool IsSatisfy( long theElementId );
779 void SetType( SMDSAbs_ElementType theType );
780 virtual SMDSAbs_ElementType GetType() const;
781 void SetColorStr( const TCollection_AsciiString& );
782 void GetColorStr( TCollection_AsciiString& ) const;
785 typedef std::set< long > TIDs;
787 Quantity_Color myColor;
788 SMDSAbs_ElementType myType;
791 typedef boost::shared_ptr<GroupColor> GroupColorPtr;
795 Description : Predicate to check element geometry type
797 class SMESHCONTROLS_EXPORT ElemGeomType: public virtual Predicate{
800 virtual void SetMesh( const SMDS_Mesh* theMesh );
801 virtual bool IsSatisfy( long theElementId );
802 void SetType( SMDSAbs_ElementType theType );
803 virtual SMDSAbs_ElementType GetType() const;
804 void SetGeomType( SMDSAbs_GeometryType theType );
805 virtual SMDSAbs_GeometryType GetGeomType() const;
808 const SMDS_Mesh* myMesh;
809 SMDSAbs_ElementType myType;
810 SMDSAbs_GeometryType myGeomType;
812 typedef boost::shared_ptr<ElemGeomType> ElemGeomTypePtr;
815 Class : CoplanarFaces
816 Description : Predicate to check angle between faces
818 class SMESHCONTROLS_EXPORT CoplanarFaces: public virtual Predicate
822 void SetFace( long theID ) { myFaceID = theID; }
823 long GetFace() const { return myFaceID; }
824 void SetTolerance (const double theToler) { myToler = theToler; }
825 double GetTolerance () const { return myToler; }
826 virtual void SetMesh( const SMDS_Mesh* theMesh ) { myMesh = theMesh; }
827 virtual SMDSAbs_ElementType GetType() const { return SMDSAbs_Face; }
829 virtual bool IsSatisfy( long theElementId );
832 const SMDS_Mesh* myMesh;
835 std::set< long > myCoplanarIDs;
837 typedef boost::shared_ptr<CoplanarFaces> CoplanarFacesPtr;
842 class SMESHCONTROLS_EXPORT Filter{
846 virtual void SetPredicate(PredicatePtr thePred);
848 typedef std::vector<long> TIdSequence;
852 GetElementsId( const SMDS_Mesh* theMesh,
853 TIdSequence& theSequence );
857 GetElementsId( const SMDS_Mesh* theMesh,
858 PredicatePtr thePredicate,
859 TIdSequence& theSequence );
862 PredicatePtr myPredicate;