#include <SMESH_Filter_i.hxx>

Public Member Functions | |
| Filter_i () | |
| ~Filter_i () | |
| virtual void | SetPredicate (Predicate_ptr) |
| virtual void | SetMesh (SMESH_Mesh_ptr) |
| virtual smIdType_array * | GetElementsId (SMESH_Mesh_ptr) |
| virtual smIdType_array * | GetElementsIdFromParts (const ListOfIDSources &theParts) |
| virtual ElementType | GetElementType () |
| virtual CORBA::Boolean | GetCriteria (SMESH::Filter::Criteria_out theCriteria) |
| virtual CORBA::Boolean | SetCriteria (const SMESH::Filter::Criteria &theCriteria) |
| virtual Predicate_ptr | GetPredicate () |
| Predicate_i * | GetPredicate_i () |
| void | FindBaseObjects () |
| Find groups it depends on. More... | |
| virtual void | OnBaseObjModified (NotifyerAndWaiter *group, bool removed) |
| When notified on removal of myBaseGroups[i], remove a reference to a group from a predicate. More... | |
| virtual SMESH::smIdType_array * | GetIDs () |
| virtual SMESH::smIdType_array * | GetMeshInfo () |
| Returns number of mesh elements per each EntityType. More... | |
| virtual SMESH::smIdType_array * | GetNbElementsByType () |
| Returns number of mesh elements of each ElementType. More... | |
| virtual SMESH::array_of_ElementType * | GetTypes () |
| Return GetElementType() within an array Implement SMESH_IDSource interface. More... | |
| virtual SMESH::SMESH_Mesh_ptr | GetMesh () |
| virtual bool | IsMeshInfoCorrect () |
| virtual SALOMEDS::TMPFile * | GetVtkUgStream () |
| void | Modified (bool removed=false, NotifyerAndWaiter *who=0) |
| calls OnBaseObjModified(), if who != this, and myWaiters[i]->Modified(who) More... | |
| void | AddModifWaiter (NotifyerAndWaiter *waiter) |
| Stores an object to be notified on change of predicate. More... | |
| void | RemoveModifWaiter (NotifyerAndWaiter *waiter) |
| Removes an object to be notified on change of predicate. More... | |
| bool | ContainModifWaiter (NotifyerAndWaiter *waiter) |
| Checks if a waiter is among myWaiters, maybe nested. More... | |
Static Public Member Functions | |
| static void | GetElementsId (Predicate_i *, const SMDS_Mesh *, Controls::Filter::TIdSequence &) |
| static void | GetElementsId (Predicate_i *, SMESH_Mesh_ptr, Controls::Filter::TIdSequence &) |
Data Fields | |
| std::list< NotifyerAndWaiter * > | myWaiters |
Private Attributes | |
| Controls::Filter | myFilter |
| Predicate_i * | myPredicate |
| SMESH_Mesh_var | myMesh |
| std::vector< SMESH_GroupBase_i * > | myBaseGroups |
| SMESH::Filter_i::Filter_i | ( | ) |
| SMESH::Filter_i::~Filter_i | ( | ) |
References FindBaseObjects(), myMesh, and myPredicate.
|
inherited |
Stores an object to be notified on change of predicate.
References SMESH::NotifyerAndWaiter::myWaiters.
Referenced by FindBaseObjects().
|
inherited |
Checks if a waiter is among myWaiters, maybe nested.
References SMESH::NotifyerAndWaiter::myWaiters.
| void SMESH::Filter_i::FindBaseObjects | ( | ) |
Find groups it depends on.
References SMESH::NotifyerAndWaiter::AddModifWaiter(), SMESH::getPrediacates(), myBaseGroups, and myPredicate.
Referenced by OnBaseObjModified(), and ~Filter_i().
|
virtual |
References SMESH::getCriteria(), and myPredicate.
|
static |
References SMESH::Controls::Filter::GetElementsId(), and SMESH::Predicate_i::GetPredicate().
Referenced by ChangeByPredicate(), GetElementsId(), and GetIDs().
|
static |
|
virtual |
References GetElementsId(), and myPredicate.
|
virtual |
|
virtual |
References SMESH::ALL, SMESH::Functor_i::GetElementType(), and myPredicate.
Referenced by GetElementsIdFromParts(), GetMeshInfo(), GetNbElementsByType(), and GetTypes().
|
virtual |
References GetElementsId(), and myMesh.
|
virtual |
References myMesh.
|
virtual |
Returns number of mesh elements per each EntityType.
References SMDS_Mesh::elementsIterator(), SMESH::Entity_Last, GetElementType(), SMDS_MeshElement::GetEntityType(), SMDS_MeshElement::GetID(), SMESH::Predicate_i::IsSatisfy(), MeshPtr2SMDSMesh(), myMesh, and myPredicate.
|
virtual |
Returns number of mesh elements of each ElementType.
References SMDS_Mesh::elementsIterator(), GetElementType(), SMDS_MeshElement::GetID(), SMESH::Predicate_i::IsSatisfy(), MeshPtr2SMDSMesh(), myMesh, myPredicate, and SMESH::NB_ELEMENT_TYPES.
|
virtual |
References myPredicate.
| Predicate_i * SMESH::Filter_i::GetPredicate_i | ( | ) |
References myPredicate.
|
virtual |
Return GetElementType() within an array Implement SMESH_IDSource interface.
References SMDS_Mesh::elementsIterator(), GetElementType(), SMESH::Predicate_i::IsSatisfy(), MeshPtr2SMDSMesh(), myMesh, and myPredicate.
|
virtual |
|
virtual |
|
inherited |
calls OnBaseObjModified(), if who != this, and myWaiters[i]->Modified(who)
References SMESH::NotifyerAndWaiter::myWaiters, and SMESH::NotifyerAndWaiter::OnBaseObjModified().
Referenced by SMESH_Group_i::Add(), SMESH_Group_i::AddFrom(), ChangeByPredicate(), SMESH_Group_i::Clear(), SMESH_Group_i::Remove(), SMESH_Mesh_i::RemoveGroup(), SMESH_GroupOnFilter_i::SetFilter(), and SetPredicate().
|
virtual |
When notified on removal of myBaseGroups[i], remove a reference to a group from a predicate.
Reimplemented from SMESH::NotifyerAndWaiter.
References FindBaseObjects(), SMESH::getPrediacates(), and myPredicate.
|
inherited |
Removes an object to be notified on change of predicate.
References SMESH::NotifyerAndWaiter::myWaiters.
|
virtual |
References SMESH::FT_Area, SMESH::FT_AspectRatio, SMESH::FT_AspectRatio3D, SMESH::FT_BadOrientedVolume, SMESH::FT_BallDiameter, SMESH::FT_BareBorderFace, SMESH::FT_BareBorderVolume, SMESH::FT_BelongToCylinder, SMESH::FT_BelongToGenSurface, SMESH::FT_BelongToGeom, SMESH::FT_BelongToMeshGroup, SMESH::FT_BelongToPlane, SMESH::FT_ConnectedElements, SMESH::FT_CoplanarFaces, SMESH::FT_Deflection2D, SMESH::FT_ElemGeomType, SMESH::FT_EntityType, SMESH::FT_EqualEdges, SMESH::FT_EqualFaces, SMESH::FT_EqualNodes, SMESH::FT_EqualTo, SMESH::FT_EqualVolumes, SMESH::FT_FreeBorders, SMESH::FT_FreeEdges, SMESH::FT_FreeFaces, SMESH::FT_FreeNodes, SMESH::FT_GroupColor, SMESH::FT_Length, SMESH::FT_Length2D, SMESH::FT_Length3D, SMESH::FT_LessThan, SMESH::FT_LinearOrQuadratic, SMESH::FT_LogicalAND, SMESH::FT_LogicalNOT, SMESH::FT_LyingOnGeom, SMESH::FT_MaxElementLength2D, SMESH::FT_MaxElementLength3D, SMESH::FT_MinimumAngle, SMESH::FT_MoreThan, SMESH::FT_MultiConnection, SMESH::FT_MultiConnection2D, SMESH::FT_NodeConnectivityNumber, SMESH::FT_OverConstrainedFace, SMESH::FT_OverConstrainedVolume, SMESH::FT_RangeOfIds, SMESH::FT_ScaledJacobian, SMESH::FT_Skew, SMESH::FT_Taper, SMESH::FT_Undefined, SMESH::FT_Volume3D, SMESH::FT_Warping, SMESH::FT_Warping3D, SMESH::ConnectedElements::POINT, SetPredicate(), and SMESH::ConnectedElements::VERTEX.
|
virtual |
References SMESH::Predicate_i::GetPredicate(), MeshPtr2SMDSMesh(), myMesh, and myPredicate.
|
virtual |
|
private |
Referenced by FindBaseObjects().
|
private |
Referenced by SetPredicate().
|
private |
Referenced by GetIDs(), GetMesh(), GetMeshInfo(), GetNbElementsByType(), GetTypes(), SetMesh(), SetPredicate(), and ~Filter_i().
|
private |
|
inherited |