mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
*** empty log message ***
This commit is contained in:
parent
ec25403540
commit
be0bb17283
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
#include "SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
#include "SMESHDS_GroupBase.hxx"
|
#include "SMESHDS_GroupBase.hxx"
|
||||||
#include "SMESH_Group.hxx"
|
//#include "SMESH_Group.hxx"
|
||||||
#include "SMDS_QuadraticEdge.hxx"
|
#include "SMDS_QuadraticEdge.hxx"
|
||||||
#include "SMDS_QuadraticFaceOfNodes.hxx"
|
#include "SMDS_QuadraticFaceOfNodes.hxx"
|
||||||
|
|
||||||
@ -224,7 +224,7 @@ Driver_Mesh::Status DriverUNV_W_SMDS_Mesh::Perform()
|
|||||||
}
|
}
|
||||||
UNV2412::Write(out_stream,aDataSet2412);
|
UNV2412::Write(out_stream,aDataSet2412);
|
||||||
}
|
}
|
||||||
{
|
/* {
|
||||||
using namespace UNV2417;
|
using namespace UNV2417;
|
||||||
TDataSet aDataSet2417;
|
TDataSet aDataSet2417;
|
||||||
for ( TGroupsMap::iterator it = myGroupsMap.begin(); it != myGroupsMap.end(); it++ ) {
|
for ( TGroupsMap::iterator it = myGroupsMap.begin(); it != myGroupsMap.end(); it++ ) {
|
||||||
@ -256,7 +256,7 @@ Driver_Mesh::Status DriverUNV_W_SMDS_Mesh::Perform()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
UNV2417::Write(out_stream,aDataSet2417);
|
UNV2417::Write(out_stream,aDataSet2417);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
catch(const std::exception& exc){
|
catch(const std::exception& exc){
|
||||||
INFOS("Follow exception was cought:\n\t"<<exc.what());
|
INFOS("Follow exception was cought:\n\t"<<exc.what());
|
||||||
|
@ -21,21 +21,21 @@
|
|||||||
#define _INCLUDE_DRIVERUNV_W_SMDS_MESH
|
#define _INCLUDE_DRIVERUNV_W_SMDS_MESH
|
||||||
|
|
||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
#include "SMESH_Group.hxx"
|
//#include "SMESH_Group.hxx"
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
|
||||||
typedef std::map<int, SMESH_Group*> TGroupsMap;
|
//typedef std::map<int, SMESH_Group*> TGroupsMap;
|
||||||
|
|
||||||
class DriverUNV_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
class DriverUNV_W_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual Status Perform();
|
virtual Status Perform();
|
||||||
|
|
||||||
void SetGroups(const TGroupsMap& theGroupsMap) { myGroupsMap = theGroupsMap; }
|
// void SetGroups(const TGroupsMap& theGroupsMap) { myGroupsMap = theGroupsMap; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TGroupsMap myGroupsMap;
|
// TGroupsMap myGroupsMap;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
#include "DriverUNV_R_SMDS_Mesh.h"
|
#include "DriverUNV_R_SMDS_Mesh.h"
|
||||||
#include "DriverUNV_W_SMDS_Mesh.h"
|
#include "DriverUNV_W_SMDS_Mesh.h"
|
||||||
#include "SMESH_Group.hxx"
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -948,7 +948,7 @@ void SMESH_Mesh::ExportUNV(const char *file) throw(SALOME_Exception)
|
|||||||
myWriter.SetFile(string(file));
|
myWriter.SetFile(string(file));
|
||||||
myWriter.SetMesh(_myMeshDS);
|
myWriter.SetMesh(_myMeshDS);
|
||||||
myWriter.SetMeshId(_idDoc);
|
myWriter.SetMeshId(_idDoc);
|
||||||
myWriter.SetGroups(_mapGroup);
|
// myWriter.SetGroups(_mapGroup);
|
||||||
myWriter.Perform();
|
myWriter.Perform();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user