28 #ifndef SMESH_Group_i_HeaderFile
29 #define SMESH_Group_i_HeaderFile
35 #include <SALOMEconfig.h>
36 #include CORBA_SERVER_HEADER(SMESH_Group)
37 #include CORBA_SERVER_HEADER(SMESH_Mesh)
38 #include CORBA_CLIENT_HEADER(GEOM_Gen)
40 #include "SALOME_GenericObj_i.hh"
50 public virtual POA_SMESH::SMESH_GroupBase,
51 public virtual SALOME::GenericObj_i,
57 const int theLocalID );
64 SMESH::smIdType Size();
65 CORBA::Boolean IsEmpty();
66 CORBA::Boolean Contains(SMESH::smIdType elem_id);
67 SMESH::smIdType GetID(SMESH::smIdType elem_index);
70 SMESH::smIdType GetNumberOfNodes();
71 CORBA::Boolean IsNodeInfoAvailable();
73 virtual SMESH::SMESH_Mesh_ptr GetMesh();
98 virtual bool IsMeshInfoCorrect();
102 virtual SALOMEDS::TMPFile* GetVtkUgStream();
108 virtual CORBA::Boolean IsInDependency( SMESH::SMESH_GroupBase_ptr other );
117 void SetColor(
const SALOMEDS::Color& color);
120 void SetColorNumber(CORBA::Long color);
121 CORBA::Long GetColorNumber();
144 public virtual POA_SMESH::SMESH_Group,
150 const int theLocalID );
156 SMESH::smIdType AddByPredicate( SMESH::Predicate_ptr thePredicate );
157 SMESH::smIdType RemoveByPredicate( SMESH::Predicate_ptr thePredicate );
159 SMESH::smIdType AddFrom( SMESH::SMESH_IDSource_ptr theSource );
167 public virtual POA_SMESH::SMESH_GroupOnGeom,
173 const int theLocalID );
175 GEOM::GEOM_Object_ptr GetShape();
183 public virtual POA_SMESH::SMESH_GroupOnFilter,
189 const int theLocalID );
193 static SMESH::Filter_ptr StringToFilter(
const std::string& thePersistentString );
194 std::string FilterToString()
const;
199 void SetFilter(SMESH::Filter_ptr theFilter);
200 SMESH::Filter_ptr GetFilter();
201 virtual CORBA::Boolean IsUpToDate();
206 virtual bool IsMeshInfoCorrect();
#define SMESH_I_EXPORT
Definition: SMESH.hxx:39
SMESH::Controls::PredicatePtr SMESH_PredicatePtr
Definition: SMESH_Controls.hxx:81
smIdType myNbNodes
Definition: SMDS_MeshInfo.hxx:89
Definition: SMESHDS_GroupBase.hxx:42
Definition: SMESH_Group_i.hxx:53
SMESH_PreMeshInfo * myPreMeshInfo
Definition: SMESH_Group_i.hxx:126
SMESH_Mesh_i * myMeshServant
Definition: SMESH_Group_i.hxx:132
int myGroupDSTic
Definition: SMESH_Group_i.hxx:129
int myLocalID
Definition: SMESH_Group_i.hxx:133
SMESH_Mesh_i * GetMeshServant() const
Definition: SMESH_Group_i.hxx:113
void changeLocalId(int localId)
Definition: SMESH_Group_i.hxx:135
SMESH_PreMeshInfo *& changePreMeshInfo()
Definition: SMESH_Group_i.hxx:125
int GetLocalID() const
Definition: SMESH_Group_i.hxx:112
Definition: SMESH_Group_i.hxx:185
SMESH::Filter_var myFilter
Definition: SMESH_Group_i.hxx:212
Definition: SMESH_Group_i.hxx:169
Definition: SMESH_Group_i.hxx:146
Definition: SMESH_Group.hxx:43
Definition: SMESH_Mesh_i.hxx:57
Class loading and holding information of a mesh object (mesh, group, submesh) not yet loaded from HDF...
Definition: SMESH_PreMeshInfo.hxx:54
ENUM Add(ENUM v, int delta)
Return incremented enum value.
Definition: SMESH_TypeDefs.hxx:137
QString GetName(const Handle(SALOME_InteractiveObject)&theIO)
Definition: SMESHGUI_Utils.cxx:252
QColor GetColor(const QString &theSect, const QString &theName, const QColor &def)
Definition: SMESH_ActorUtils.cxx:97
Predicate_i * GetPredicate(Predicate_ptr thePredicate)
Definition: SMESH_Filter_i.cxx:70
sequence< ElementType > array_of_ElementType
Definition: SMESH_Mesh.idl:138
void SetFilter(const Handle(VTKViewer_Filter)&theFilter, SVTK_Selector *theSelector)
Definition: SMESHGUI_VTKUtils.cxx:1115
sequence< smIdType > smIdType_array
Definition: SMESH_Mesh.idl:45
ElementType
Enumeration for element type, like in SMDS.
Definition: SMESH_Mesh.idl:128
void SetName(_PTR(SObject) theSObject, const QString &theName)
Definition: SMESHGUI_Utils.cxx:134
Object notified on change of base objects and notifying dependent objects in its turn.
Definition: SMESH_Filter_i.hxx:57
virtual void OnBaseObjModified(NotifyerAndWaiter *, bool)
Definition: SMESH_Filter_i.hxx:58