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 );
65 CORBA::Boolean IsEmpty();
66 CORBA::Boolean Contains(CORBA::Long elem_id);
67 CORBA::Long GetID(CORBA::Long elem_index);
70 CORBA::Long 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 CORBA::Long AddByPredicate( SMESH::Predicate_ptr thePredicate );
157 CORBA::Long RemoveByPredicate( SMESH::Predicate_ptr thePredicate );
159 CORBA::Long 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)
throw (SALOME::SALOME_Exception);
200 SMESH::Filter_ptr GetFilter();