SMESH_HypoFilter Class Reference

#include <SMESH_HypoFilter.hxx>

Inheritance diagram for SMESH_HypoFilter:
Inheritance graph
Collaboration diagram for SMESH_HypoFilter:
Collaboration graph

Data Structures

struct  ApplicablePredicate
struct  DimPredicate
struct  InstancePredicate
struct  IsAssignedToPredicate
struct  IsAuxiliaryPredicate
struct  IsMoreLocalThanPredicate
struct  NamePredicate
struct  templPredicate
struct  TypePredicate

Public Member Functions

 SMESH_HypoFilter ()
 SMESH_HypoFilter (SMESH_HypoPredicate *aPredicate, bool notNagate=true)
SMESH_HypoFilterInit (SMESH_HypoPredicate *aPredicate, bool notNagate=true)
SMESH_HypoFilterAnd (SMESH_HypoPredicate *aPredicate)
SMESH_HypoFilterAndNot (SMESH_HypoPredicate *aPredicate)
SMESH_HypoFilterOr (SMESH_HypoPredicate *aPredicate)
SMESH_HypoFilterOrNot (SMESH_HypoPredicate *aPredicate)
bool IsOk (const SMESH_Hypothesis *aHyp, const TopoDS_Shape &aShape) const
 check aHyp or/and aShape it is assigned to
bool IsAny () const
 return true if contains no predicates
 ~SMESH_HypoFilter ()

Static Public Member Functions

static SMESH_HypoPredicateIsAlgo ()
static SMESH_HypoPredicateIsAuxiliary ()
static SMESH_HypoPredicateIsApplicableTo (const TopoDS_Shape &theShape)
static SMESH_HypoPredicateIsAssignedTo (const TopoDS_Shape &theShape)
static SMESH_HypoPredicateIs (const SMESH_Hypothesis *theHypo)
static SMESH_HypoPredicateIsGlobal (const TopoDS_Shape &theMainShape)
static SMESH_HypoPredicateIsMoreLocalThan (const TopoDS_Shape &theShape)
static SMESH_HypoPredicateHasName (const std::string &theName)
static SMESH_HypoPredicateHasDim (const int theDim)
static SMESH_HypoPredicateHasType (const int theHypType)

Protected Types

enum  Logical { AND, AND_NOT, OR, OR_NOT }
enum  Comparison { EQUAL, NOT_EQUAL, MORE, LESS }

Protected Member Functions

 SMESH_HypoFilter (const SMESH_HypoFilter &other)
void add (Logical bool_op, SMESH_HypoPredicate *pred)

Protected Attributes

std::list< SMESH_HypoPredicate * > myPredicates

Detailed Description

Definition at line 54 of file SMESH_HypoFilter.hxx.


Member Enumeration Documentation

enum SMESH_HypoFilter::Logical [protected]
Enumerator:
AND 
AND_NOT 
OR 
OR_NOT 

Definition at line 102 of file SMESH_HypoFilter.hxx.

enum SMESH_HypoFilter::Comparison [protected]
Enumerator:
EQUAL 
NOT_EQUAL 
MORE 
LESS 

Definition at line 103 of file SMESH_HypoFilter.hxx.


Constructor & Destructor Documentation

SMESH_HypoFilter.SMESH_HypoFilter (  ) 
SMESH_HypoFilter.SMESH_HypoFilter ( SMESH_HypoPredicate aPredicate,
bool  notNagate = true 
)
SMESH_HypoFilter.~SMESH_HypoFilter (  ) 
SMESH_HypoFilter.SMESH_HypoFilter ( const SMESH_HypoFilter other  )  [protected]

Definition at line 107 of file SMESH_HypoFilter.hxx.


Member Function Documentation

SMESH_HypoFilter& SMESH_HypoFilter.Init ( SMESH_HypoPredicate aPredicate,
bool  notNagate = true 
)
SMESH_HypoFilter& SMESH_HypoFilter.And ( SMESH_HypoPredicate aPredicate  ) 
SMESH_HypoFilter& SMESH_HypoFilter.AndNot ( SMESH_HypoPredicate aPredicate  ) 
SMESH_HypoFilter& SMESH_HypoFilter.Or ( SMESH_HypoPredicate aPredicate  ) 
SMESH_HypoFilter& SMESH_HypoFilter.OrNot ( SMESH_HypoPredicate aPredicate  ) 
static SMESH_HypoPredicate* SMESH_HypoFilter.IsAlgo (  )  [static]
static SMESH_HypoPredicate* SMESH_HypoFilter.IsAuxiliary (  )  [static]
static SMESH_HypoPredicate* SMESH_HypoFilter.IsApplicableTo ( const TopoDS_Shape theShape  )  [static]
static SMESH_HypoPredicate* SMESH_HypoFilter.IsAssignedTo ( const TopoDS_Shape theShape  )  [static]
static SMESH_HypoPredicate* SMESH_HypoFilter.Is ( const SMESH_Hypothesis theHypo  )  [static]
static SMESH_HypoPredicate* SMESH_HypoFilter.IsGlobal ( const TopoDS_Shape theMainShape  )  [static]
static SMESH_HypoPredicate* SMESH_HypoFilter.IsMoreLocalThan ( const TopoDS_Shape theShape  )  [static]
static SMESH_HypoPredicate* SMESH_HypoFilter.HasName ( const std::string &  theName  )  [static]
static SMESH_HypoPredicate* SMESH_HypoFilter.HasDim ( const int  theDim  )  [static]
static SMESH_HypoPredicate* SMESH_HypoFilter.HasType ( const int  theHypType  )  [static]
bool SMESH_HypoFilter.IsOk ( const SMESH_Hypothesis aHyp,
const TopoDS_Shape aShape 
) const [virtual]

check aHyp or/and aShape it is assigned to

Implements SMESH_HypoPredicate.

bool SMESH_HypoFilter.IsAny (  )  const

return true if contains no predicates

Definition at line 88 of file SMESH_HypoFilter.hxx.

void SMESH_HypoFilter.add ( Logical  bool_op,
SMESH_HypoPredicate pred 
) [protected]

Definition at line 109 of file SMESH_HypoFilter.hxx.

References SMESH_HypoPredicate._logical_op.


Field Documentation

Definition at line 96 of file SMESH_HypoFilter.hxx.


Generated on 17 May 2014 for SALOME - SMESH by  doxygen 1.6.1