X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCONVERTOR%2FVISU_ConvertorUtils.hxx;h=1ef42e369fbc1cee2e3853422c01a081b4536af6;hb=3b6d998db9aa756d3c49e1ce0923c7bb43e35d19;hp=80ad171f09aa489b7a0395c682f0c8d36ee4e8ae;hpb=ca3ee90d283850c294e6a8264107fb04d6bcb5db;p=modules%2Fvisu.git diff --git a/src/CONVERTOR/VISU_ConvertorUtils.hxx b/src/CONVERTOR/VISU_ConvertorUtils.hxx index 80ad171f..1ef42e36 100644 --- a/src/CONVERTOR/VISU_ConvertorUtils.hxx +++ b/src/CONVERTOR/VISU_ConvertorUtils.hxx @@ -27,53 +27,19 @@ #ifndef VISU_ConvertorUtils_HeaderFile #define VISU_ConvertorUtils_HeaderFile -extern "C"{ -#include -} - -#include -#include #include #include -#include -#include - -#ifndef MESSAGE -#define MESSAGE(msg) std::cout<<__FILE__<<"["<<__LINE__<<"]::"< std::string dtos(const std::string& fmt, T val){ - static QString aString; - aString.sprintf(fmt.c_str(),val); - return aString.latin1(); -} +namespace VISU{ -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); + void + WriteToFile(vtkUnstructuredGrid* theDataSet, const std::string& theFileName); + } -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]; - #endif