1 // Copyright (C) 2003 CEA/DEN, EDF R&D
5 // File : VISU_DatConvertor.hxx
6 // Author : Alexey PETROV
9 #ifndef VISU_DatConvertor_HeaderFile
10 #define VISU_DatConvertor_HeaderFile
12 #include "VISU_Convertor_impl.hxx"
17 class VISU_DatConvertor: public VISU_Convertor_impl{
19 VISU_DatConvertor(const VISU_DatConvertor&);
21 VISU_DatConvertor(const string& theFileName) ;
22 virtual VISU_Convertor* Build() ;
25 int ImportHead(ifstream* pStmIn, int* theNbPoints, int* theNbCells, int* theNbFields) ;
27 int ImportPoints(ifstream*, int theNbPoints) ;
29 int ImportCells(ifstream*, vector<int>* aCellsType) ;
31 int ImportField(ifstream*, int theNbPoints, vector<int>* aCellsType) ;
34 virtual int LoadMeshOnEntity(VISU::TMeshOnEntity& theMeshOnEntity,
35 const string& theFamilyName = "")
37 virtual int LoadMeshOnGroup(VISU::TMesh& theMesh,
38 const VISU::TFamilyAndEntitySet& theFamilyAndEntitySet)
40 virtual int LoadFieldOnMesh(VISU::TMesh& theMesh,
41 VISU::TMeshOnEntity& theMeshOnEntity,
42 VISU::TField& theField,
43 VISU::TField::TValForTime& theValForTime)