27 #ifndef _StdMeshers_ImportSource_HXX_
28 #define _StdMeshers_ImportSource_HXX_
33 #include "Utils_SALOME_Exception.hxx"
54 void SetGroups(
const std::vector<SMESH_Group*>& groups);
55 const std::vector<SMESH_Group*>& GetGroups(
bool loaded=
false)
const;
57 void SetCopySourceMesh(
bool toCopyMesh,
bool toCopyGroups);
58 void GetCopySourceMesh(
bool& toCopyMesh,
bool& toCopyGroups)
const;
60 virtual std::ostream &
SaveTo(std::ostream & save);
61 virtual std::istream &
LoadFrom(std::istream & load);
65 void RestoreGroups(
const std::vector<SMESH_Group*>& groups);
67 void StoreResultGroups(
const std::vector<SMESH_Group*>& groups,
70 std::vector<SMESH_Group*>* GetResultGroups(
const SMESHDS_Mesh& srcMesh,
73 std::vector<SMESH_Mesh*> GetSourceMeshes()
const;
74 std::vector<SMESH_subMesh*> GetSourceSubMeshes(
const SMESH_Mesh* srcMesh)
const;
82 typedef std::map< std::pair<int, int>, std::vector<SMESH_Group*> >
TResGroupMap;
86 void resultGroupsToIntVec();
#define STDMESHERS_EXPORT
Definition: SMESH_StdMeshers.hxx:38
virtual std::ostream & SaveTo(std::ostream &save)=0
virtual std::istream & LoadFrom(std::istream &load)=0
Definition: SMESHDS_Mesh.hxx:68
Definition: SMESH_Gen.hxx:68
Definition: SMESH_Group.hxx:43
Definition: SMESH_Hypothesis.hxx:48
virtual bool SetParametersByDefaults(const TDefaults &dflts, const SMESH_Mesh *theMesh=0)=0
Initialize my parameter values by default parameters.
virtual bool SetParametersByMesh(const SMESH_Mesh *theMesh, const TopoDS_Shape &theShape)=0
Initialize my parameter values by the mesh built on the geometry.
Definition: SMESH_Mesh.hxx:80
Definition: SMESH_subMesh.hxx:61
Stores groups to import elements from.
Definition: StdMeshers_ImportSource.hxx:49
virtual bool DataDependOnParams() const
The returned value is used by NotifySubMeshesHypothesisModification() to decide to call subMesh->Algo...
Definition: StdMeshers_ImportSource.hxx:64
virtual ~ StdMeshers_ImportSource1D()
std::vector< int > _resultGroupsStorage
Definition: StdMeshers_ImportSource.hxx:84
TResGroupMap _resultGroups
Definition: StdMeshers_ImportSource.hxx:83
std::map< std::pair< int, int >, std::vector< SMESH_Group * > > TResGroupMap
Definition: StdMeshers_ImportSource.hxx:82
std::vector< SMESH_Group * > _groups
Definition: StdMeshers_ImportSource.hxx:78
bool _toCopyGroups
Definition: StdMeshers_ImportSource.hxx:79
Redefines name and dimension of inherited StdMeshers_ImportSource1D.
Definition: StdMeshers_ImportSource.hxx:96
Definition: SMESH_Hypothesis.hxx:100