Salome HOME
projects
/
modules
/
visu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sinchronize clipped presentation in all 3D views; update highlighting box
[modules/visu.git]
/
src
/
CONVERTOR
/
VISU_ConvertorUtils.hxx
diff --git
a/src/CONVERTOR/VISU_ConvertorUtils.hxx
b/src/CONVERTOR/VISU_ConvertorUtils.hxx
index bc6dcad716908079253a29601c3de6a409e74e43..1ef42e369fbc1cee2e3853422c01a081b4536af6 100644
(file)
--- a/
src/CONVERTOR/VISU_ConvertorUtils.hxx
+++ b/
src/CONVERTOR/VISU_ConvertorUtils.hxx
@@
-27,41
+27,19
@@
#ifndef VISU_ConvertorUtils_HeaderFile
#define VISU_ConvertorUtils_HeaderFile
#ifndef VISU_ConvertorUtils_HeaderFile
#define VISU_ConvertorUtils_HeaderFile
-extern "C"{
-#include <med.h>
-}
-
-#include <fstream>
-#include <strstream>
+#include <string>
#include <vtkCellType.h>
#include <vtkCellType.h>
-#include <qstring.h>
-#include <qfileinfo.h>
+#include "MED_Utilities.hxx"
-template<class T> std::string dtos(const std::string& fmt, T val){
- static QString aString;
- aString.sprintf(fmt.c_str(),val);
- return aString.latin1();
-}
+class vtkUnstructuredGrid;
-extern "C"{
- int getNbMedConnect(int theMedType, int theMedEntity, int theMeshDim);
- int getNbMedNodes(int theMedType);
- int med2vtkCellType(int theMedType);
- int vtk2medCellType(int theVtkType);
- int getIdMedType(int medType);
-}
+namespace VISU{
-struct Med2vtk {
- med_geometrie_element medType;
- const char *medName;
- int medNbNodes;
- int vtkType;
- const char *vtkName;
- int vtkNbNodes;
-};
-
-extern Med2vtk med2vtk[MED_NBR_GEOMETRIE_MAILLE];
+ void
+ WriteToFile(vtkUnstructuredGrid* theDataSet, const std::string& theFileName);
+
+}
#endif
#endif