SALOME - SMESH
|
#include <SMESH_HypoFilter.hxx>
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_HypoFilter & | Init (SMESH_HypoPredicate *aPredicate, bool notNagate=true) |
SMESH_HypoFilter & | And (SMESH_HypoPredicate *aPredicate) |
SMESH_HypoFilter & | AndNot (SMESH_HypoPredicate *aPredicate) |
SMESH_HypoFilter & | Or (SMESH_HypoPredicate *aPredicate) |
SMESH_HypoFilter & | OrNot (SMESH_HypoPredicate *aPredicate) |
bool | IsOk (const SMESH_Hypothesis *aHyp, const TopoDS_Shape &aShape) const |
check aHyp or/and aShape it is assigned to More... | |
bool | IsAny () const |
return true if contains no predicates More... | |
~SMESH_HypoFilter () | |
Static Public Member Functions | |
static SMESH_HypoPredicate * | IsAlgo () |
static SMESH_HypoPredicate * | IsAuxiliary () |
static SMESH_HypoPredicate * | IsApplicableTo (const TopoDS_Shape &theShape) |
static SMESH_HypoPredicate * | IsAssignedTo (const TopoDS_Shape &theShape) |
static SMESH_HypoPredicate * | Is (const SMESH_Hypothesis *theHypo) |
static SMESH_HypoPredicate * | IsGlobal (const TopoDS_Shape &theMainShape) |
static SMESH_HypoPredicate * | IsMoreLocalThan (const TopoDS_Shape &theShape) |
static SMESH_HypoPredicate * | HasName (const std::string &theName) |
static SMESH_HypoPredicate * | HasDim (const int theDim) |
static SMESH_HypoPredicate * | HasType (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 |
Definition at line 54 of file SMESH_HypoFilter.hxx.
|
protected |
Enumerator | |
---|---|
AND | |
AND_NOT | |
OR | |
OR_NOT |
Definition at line 102 of file SMESH_HypoFilter.hxx.
|
protected |
Enumerator | |
---|---|
EQUAL | |
NOT_EQUAL | |
MORE | |
LESS |
Definition at line 103 of file SMESH_HypoFilter.hxx.
SMESH_HypoFilter::SMESH_HypoFilter | ( | ) |
SMESH_HypoFilter::SMESH_HypoFilter | ( | SMESH_HypoPredicate * | aPredicate, |
bool | notNagate = true |
||
) |
SMESH_HypoFilter::~SMESH_HypoFilter | ( | ) |
|
protected |
Definition at line 107 of file SMESH_HypoFilter.hxx.
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 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
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.
|
protected |
Definition at line 109 of file SMESH_HypoFilter.hxx.
References SMESH_HypoPredicate::_logical_op.
|
protected |
Definition at line 96 of file SMESH_HypoFilter.hxx.