#include <SMESH_HypoFilter.hxx>
Classes | |
struct ApplicablePredicate | |
struct DimPredicate | |
struct InstancePredicate | |
struct IsAssignedToPredicate | |
struct IsAuxiliaryPredicate | |
struct IsMoreLocalThanPredicate | |
struct NamePredicate | |
struct templPredicate | |
struct TypePredicate | |
Public Member Functions | |
SMESH_HypoFilter & And (SMESH_HypoPredicate *aPredicate) | |
SMESH_HypoFilter & AndNot (SMESH_HypoPredicate *aPredicate) | |
SMESH_HypoFilter & Init (SMESH_HypoPredicate *aPredicate, bool notNegate=true) | |
bool IsAny () const | |
return true if contains no predicates More... | |
bool IsEmpty () const | |
bool IsOk (const SMESH_Hypothesis *aHyp, const TopoDS_Shape &aShape) const | |
check aHyp or/and aShape it is assigned to More... | |
SMESH_HypoFilter & Or (SMESH_HypoPredicate *aPredicate) | |
SMESH_HypoFilter & OrNot (SMESH_HypoPredicate *aPredicate) | |
SMESH_HypoFilter () | |
SMESH_HypoFilter (SMESH_HypoPredicate *aPredicate, bool notNegate=true) | |
~SMESH_HypoFilter () | |
![]() | |
virtual ~SMESH_HypoPredicate () | |
Static Public Member Functions | |
static SMESH_HypoPredicate * HasDim (const int theDim) | |
static SMESH_HypoPredicate * HasName (const std::string &theName) | |
static SMESH_HypoPredicate * HasType (const int theHypType) | |
static SMESH_HypoPredicate * Is (const SMESH_Hypothesis *theHypo) | |
static SMESH_HypoPredicate * IsAlgo () | |
static SMESH_HypoPredicate * IsApplicableTo (const TopoDS_Shape &theShape) | |
static SMESH_HypoPredicate * IsAssignedTo (const TopoDS_Shape &theShape) | |
static SMESH_HypoPredicate * IsAuxiliary () | |
static SMESH_HypoPredicate * IsGlobal (const TopoDS_Shape &theMainShape) | |
static SMESH_HypoPredicate * IsMoreLocalThan (const TopoDS_Shape &theShape, const SMESH_Mesh &theMesh) | |
Protected Types | |
enum Comparison { EQUAL, NOT_EQUAL, MORE, LESS } | |
enum Logical { AND, AND_NOT, OR, OR_NOT } | |
Protected Member Functions | |
void add (Logical bool_op, SMESH_HypoPredicate *pred) | |
SMESH_HypoFilter (const SMESH_HypoFilter &other) | |
Protected Attributes | |
int myNbPredicates | |
SMESH_HypoPredicate * myPredicates [100] | |
Member Enumeration Documentation
◆ Comparison
|
protected |
◆ Logical
|
protected |
Constructor & Destructor Documentation
◆ SMESH_HypoFilter() [1/3]
SMESH_HypoFilter::SMESH_HypoFilter | ( | ) |
◆ SMESH_HypoFilter() [2/3]
|
explicit |
◆ ~SMESH_HypoFilter()
SMESH_HypoFilter::~SMESH_HypoFilter | ( | ) |
References myNbPredicates, and myPredicates.
◆ SMESH_HypoFilter() [3/3]
|
protected |
Member Function Documentation
◆ add()
|
protected |
◆ And()
SMESH_HypoFilter & SMESH_HypoFilter::And | ( | SMESH_HypoPredicate * | aPredicate | ) |
◆ AndNot()
SMESH_HypoFilter & SMESH_HypoFilter::AndNot | ( | SMESH_HypoPredicate * | aPredicate | ) |
References add(), and AND_NOT.
Referenced by SMESH_subMesh::AlgoStateEngine(), SMESH_Algo::GetCompatibleHypoFilter(), and SMESH_subMesh::getSimilarAttached().
◆ HasDim()
|
static |
References EQUAL.
Referenced by SMESH_subMesh::getSimilarAttached(), and StdMeshers_ProjectionUtils::MakeComputed().
◆ HasName()
|
static |
◆ HasType()
|
static |
References EQUAL.
Referenced by SMESH_subMesh::AlgoStateEngine(), and SMESH_subMesh::getSimilarAttached().
◆ Init()
SMESH_HypoFilter & SMESH_HypoFilter::Init | ( | SMESH_HypoPredicate * | aPredicate, |
bool | notNegate = true |
||
) |
References add(), AND, AND_NOT, myNbPredicates, and myPredicates.
Referenced by SMESH_subMesh::AlgoStateEngine(), and SMESH_subMesh::getSimilarAttached().
◆ Is()
|
static |
◆ IsAlgo()
|
static |
◆ IsAny()
bool SMESH_HypoFilter::IsAny | ( | ) | const |
return true if contains no predicates
◆ IsApplicableTo()
|
static |
◆ IsAssignedTo()
|
static |
◆ IsAuxiliary()
|
static |
◆ IsEmpty()
bool SMESH_HypoFilter::IsEmpty | ( | ) | const |
Referenced by StdMeshers_Propagation::GetFilter(), and IsOk().
◆ IsGlobal()
|
static |
◆ IsMoreLocalThan()
|
static |
Referenced by SMESH_Gen::Compute(), and SMESH_Gen::Evaluate().
◆ IsOk()
|
virtual |
check aHyp or/and aShape it is assigned to
Implements SMESH_HypoPredicate.
References AND, AND_NOT, IsEmpty(), SMESH_HypoPredicate::IsOk(), myNbPredicates, myPredicates, OR, and OR_NOT.
Referenced by StdMeshers_Regular_1D::CheckHypothesis(), SMESH_Mesh::GetHypotheses(), SMESH_Mesh::GetHypothesis(), and SMESH_Mesh::NotifySubMeshesHypothesisModification().
◆ Or()
SMESH_HypoFilter & SMESH_HypoFilter::Or | ( | SMESH_HypoPredicate * | aPredicate | ) |
◆ OrNot()
SMESH_HypoFilter & SMESH_HypoFilter::OrNot | ( | SMESH_HypoPredicate * | aPredicate | ) |
Member Data Documentation
◆ myNbPredicates
|
protected |
Referenced by Init(), IsOk(), and ~SMESH_HypoFilter().
◆ myPredicates
|
protected |
Referenced by Init(), IsOk(), and ~SMESH_HypoFilter().
The documentation for this class was generated from the following files:
- src/3rdParty/salomesmesh/inc/SMESH_HypoFilter.hxx
- src/3rdParty/salomesmesh/src/SMESH/SMESH_HypoFilter.cpp