smesh/src/DriverUNV/DriverUNV_R_SMESHDS_Mesh.cxx

57 lines
943 B
C++
Raw Normal View History

2003-05-19 19:18:36 +06:00
using namespace std;
#include "DriverUNV_R_SMESHDS_Mesh.h"
#include "DriverUNV_R_SMDS_Mesh.h"
#include "utilities.h"
2003-09-04 18:03:27 +06:00
DriverUNV_R_SMESHDS_Mesh::DriverUNV_R_SMESHDS_Mesh()
{
;
2003-05-19 19:18:36 +06:00
}
2003-09-04 18:03:27 +06:00
DriverUNV_R_SMESHDS_Mesh::~DriverUNV_R_SMESHDS_Mesh()
{
;
2003-05-19 19:18:36 +06:00
}
2003-09-04 18:03:27 +06:00
void DriverUNV_R_SMESHDS_Mesh::SetMesh(SMDS_Mesh * aMesh)
{
//myMesh = SMESHDS_Mesh *::DownCast(aMesh);
myMesh = aMesh;
2003-05-19 19:18:36 +06:00
}
2003-09-04 18:03:27 +06:00
void DriverUNV_R_SMESHDS_Mesh::SetFile(string aFile)
{
myFile = aFile;
2003-05-19 19:18:36 +06:00
}
2003-09-04 18:03:27 +06:00
void DriverUNV_R_SMESHDS_Mesh::SetFileId(FILE * aFileId)
{
myFileId = aFileId;
2003-05-19 19:18:36 +06:00
}
2003-09-04 18:03:27 +06:00
void DriverUNV_R_SMESHDS_Mesh::SetMeshId(int aMeshId)
{
myMeshId = aMeshId;
2003-05-19 19:18:36 +06:00
}
2003-09-04 18:03:27 +06:00
void DriverUNV_R_SMESHDS_Mesh::Add()
{
;
2003-05-19 19:18:36 +06:00
}
2003-09-04 18:03:27 +06:00
void DriverUNV_R_SMESHDS_Mesh::Read()
{
string myClass = string("SMDS_Mesh");
string myExtension = string("UNV");
2003-05-19 19:18:36 +06:00
2003-09-04 18:03:27 +06:00
DriverUNV_R_SMDS_Mesh *myReader = new DriverUNV_R_SMDS_Mesh;
2003-05-19 19:18:36 +06:00
2003-09-04 18:03:27 +06:00
myReader->SetMesh(myMesh);
myReader->SetFile(myFile);
//myReader->SetFileId(myFileId);
2003-05-19 19:18:36 +06:00
2003-09-04 18:03:27 +06:00
myReader->Read();
2003-05-19 19:18:36 +06:00
}