From 0a72ee460181a2250944f3d6a188b74099495ee5 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 4 May 2007 08:19:57 +0000 Subject: [PATCH] To introduce first version of WP1_2_1 development --- adm_local/unix/make_commence.in | 7 + build_configure | 8 + configure.in.base | 10 +- idl/VISU_Gen.idl | 259 ++- resources/SalomeApp.xml | 2 + resources/Visu_holo_render.png | Bin 0 -> 667 bytes resources/Visu_slider_avi.png | Bin 0 -> 214 bytes resources/Visu_slider_first.png | Bin 0 -> 197 bytes resources/Visu_slider_last.png | Bin 0 -> 198 bytes resources/Visu_slider_more.png | Bin 0 -> 195 bytes resources/Visu_slider_next.png | Bin 0 -> 198 bytes resources/Visu_slider_pause.png | Bin 0 -> 180 bytes resources/Visu_slider_play.png | Bin 0 -> 204 bytes resources/Visu_slider_previous.png | Bin 0 -> 198 bytes resources/Visu_tree_multipr_full.png | Bin 0 -> 305 bytes resources/Visu_tree_multipr_hide.png | Bin 0 -> 348 bytes resources/Visu_tree_multipr_low.png | Bin 0 -> 315 bytes resources/Visu_tree_multipr_medium.png | Bin 0 -> 340 bytes src/CONVERTOR/Makefile.in | 24 +- src/CONVERTOR/VISUConvertor.cxx | 43 +- src/CONVERTOR/VISU_Convertor.cxx | 47 +- src/CONVERTOR/VISU_Convertor.hxx | 263 +-- src/CONVERTOR/VISU_ConvertorDef.hxx | 62 +- src/CONVERTOR/VISU_ConvertorUtils.cxx | 155 +- src/CONVERTOR/VISU_ConvertorUtils.hxx | 40 +- src/CONVERTOR/VISU_Convertor_impl.cxx | 1967 +++-------------- src/CONVERTOR/VISU_Convertor_impl.hxx | 808 +------ src/CONVERTOR/VISU_IDMapper.cxx | 27 +- src/CONVERTOR/VISU_IDMapper.hxx | 59 +- src/CONVERTOR/VISU_MedConvertor.cxx | 1057 +++++---- src/CONVERTOR/VISU_MedConvertor.hxx | 192 +- src/ENGINE/VISU_Engine_i.cc | 132 +- src/ENGINE/VISU_Engine_i.hh | 119 +- src/MULTIPR/MULTIPR_API.cxx | 259 +++ src/MULTIPR/MULTIPR_API.hxx | 128 ++ src/MULTIPR/MULTIPR_DecimationAccel.cxx | 326 +++ src/MULTIPR/MULTIPR_DecimationAccel.hxx | 258 +++ src/MULTIPR/MULTIPR_DecimationFilter.cxx | 309 +++ src/MULTIPR/MULTIPR_DecimationFilter.hxx | 168 ++ src/MULTIPR/MULTIPR_Elements.cxx | 572 +++++ src/MULTIPR/MULTIPR_Elements.hxx | 260 +++ src/MULTIPR/MULTIPR_Exceptions.hxx | 203 ++ src/MULTIPR/MULTIPR_Family.cxx | 475 ++++ src/MULTIPR/MULTIPR_Family.hxx | 372 ++++ src/MULTIPR/MULTIPR_Field.cxx | 654 ++++++ src/MULTIPR/MULTIPR_Field.hxx | 244 ++ src/MULTIPR/MULTIPR_GaussLoc.cxx | 233 ++ src/MULTIPR/MULTIPR_GaussLoc.hxx | 150 ++ src/MULTIPR/MULTIPR_Globals.hxx | 29 + src/MULTIPR/MULTIPR_Mesh.cxx | 1430 ++++++++++++ src/MULTIPR/MULTIPR_Mesh.hxx | 376 ++++ src/MULTIPR/MULTIPR_MeshDis.cxx | 1074 +++++++++ src/MULTIPR/MULTIPR_MeshDis.hxx | 473 ++++ src/MULTIPR/MULTIPR_Nodes.cxx | 499 +++++ src/MULTIPR/MULTIPR_Nodes.hxx | 201 ++ src/MULTIPR/MULTIPR_Obj.cxx | 477 ++++ src/MULTIPR/MULTIPR_Obj.hxx | 288 +++ src/MULTIPR/MULTIPR_PointOfField.hxx | 100 + src/MULTIPR/MULTIPR_Profil.cxx | 160 ++ src/MULTIPR/MULTIPR_Profil.hxx | 140 ++ src/MULTIPR/MULTIPR_ProgressCallback.hxx | 110 + src/MULTIPR/MULTIPR_Utils.cxx | 309 +++ src/MULTIPR/MULTIPR_Utils.hxx | 130 ++ src/MULTIPR/Makefile.in | 88 + src/MULTIPR/multipr.cxx | 774 +++++++ src/Makefile.in | 2 +- src/OBJECT/Makefile.in | 2 + src/OBJECT/VISU_Actor.cxx | 74 +- src/OBJECT/VISU_Actor.h | 21 +- src/OBJECT/VISU_ActorFactory.h | 10 + src/OBJECT/VISU_GaussPtsAct.cxx | 152 +- src/OBJECT/VISU_GaussPtsAct.h | 41 +- src/OBJECT/VISU_GaussPtsDeviceActor.cxx | 20 +- src/OBJECT/VISU_GaussPtsDeviceActor.h | 7 +- src/OBJECT/VISU_MeshAct.cxx | 45 + src/OBJECT/VISU_MeshAct.h | 20 +- src/OBJECT/VISU_ScalarMapAct.cxx | 38 +- src/OBJECT/VISU_ScalarMapAct.h | 16 +- src/OBJECT/VISU_VectorsAct.cxx | 16 +- src/OBJECT/VISU_VectorsAct.h | 12 +- src/PIPELINE/Makefile.in | 41 +- src/PIPELINE/SALOME_ExtractGeometry.cxx | 65 +- src/PIPELINE/SALOME_ExtractGeometry.h | 14 +- src/PIPELINE/VISUPipeLine.cxx | 131 +- src/PIPELINE/VISU_CutLinesPL.cxx | 131 +- src/PIPELINE/VISU_CutLinesPL.hxx | 53 +- src/PIPELINE/VISU_CutPlanesPL.cxx | 174 +- src/PIPELINE/VISU_CutPlanesPL.hxx | 39 +- src/PIPELINE/VISU_DeformedShapePL.cxx | 80 +- src/PIPELINE/VISU_DeformedShapePL.hxx | 31 +- src/PIPELINE/VISU_Extractor.cxx | 148 +- src/PIPELINE/VISU_Extractor.hxx | 28 +- src/PIPELINE/VISU_FieldTransform.cxx | 280 ++- src/PIPELINE/VISU_FieldTransform.hxx | 68 +- src/PIPELINE/VISU_GaussPointsPL.cxx | 473 ++-- src/PIPELINE/VISU_GaussPointsPL.hxx | 135 +- src/PIPELINE/VISU_IsoSurfacesPL.cxx | 97 +- src/PIPELINE/VISU_IsoSurfacesPL.hxx | 37 +- src/PIPELINE/VISU_MeshPL.cxx | 37 +- src/PIPELINE/VISU_MeshPL.hxx | 33 +- src/PIPELINE/VISU_OpenGLPointSpriteMapper.cxx | 88 +- src/PIPELINE/VISU_OpenGLPointSpriteMapper.hxx | 25 +- src/PIPELINE/VISU_PipeLine.cxx | 543 +++-- src/PIPELINE/VISU_PipeLine.hxx | 224 +- src/PIPELINE/VISU_PipeLineUtils.cxx | 231 +- src/PIPELINE/VISU_PipeLineUtils.hxx | 88 +- src/PIPELINE/VISU_Plot3DPL.cxx | 218 +- src/PIPELINE/VISU_Plot3DPL.hxx | 75 +- .../VISU_ScalarMapOnDeformedShapePL.cxx | 108 +- .../VISU_ScalarMapOnDeformedShapePL.hxx | 66 +- src/PIPELINE/VISU_ScalarMapPL.cxx | 248 +-- src/PIPELINE/VISU_ScalarMapPL.hxx | 119 +- src/PIPELINE/VISU_StreamLinesPL.cxx | 338 ++- src/PIPELINE/VISU_StreamLinesPL.hxx | 85 +- src/PIPELINE/VISU_UsedPointsFilter.cxx | 29 +- src/PIPELINE/VISU_UsedPointsFilter.hxx | 31 +- src/PIPELINE/VISU_VectorsPL.cxx | 113 +- src/PIPELINE/VISU_VectorsPL.hxx | 53 +- src/VISUGUI/Makefile.in | 17 +- src/VISUGUI/VISU_images.po | 39 + src/VISUGUI/VISU_msg_en.po | 112 +- src/VISUGUI/VisuGUI.cxx | 1627 +++++++------- src/VISUGUI/VisuGUI.h | 14 + src/VISUGUI/VisuGUI_ActionsDef.h | 8 + src/VISUGUI/VisuGUI_ClippingDlg.cxx | 50 +- src/VISUGUI/VisuGUI_CutLinesDlg.cxx | 155 +- src/VISUGUI/VisuGUI_CutLinesDlg.h | 18 +- src/VISUGUI/VisuGUI_CutPlanesDlg.cxx | 77 +- src/VISUGUI/VisuGUI_CutPlanesDlg.h | 26 +- src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx | 61 +- src/VISUGUI/VisuGUI_DeformedShapeDlg.h | 18 +- src/VISUGUI/VisuGUI_Displayer.cxx | 145 +- src/VISUGUI/VisuGUI_GaussPointsDlg.cxx | 181 +- src/VISUGUI/VisuGUI_GaussPointsDlg.h | 43 +- src/VISUGUI/VisuGUI_IsoSurfacesDlg.cxx | 58 +- src/VISUGUI/VisuGUI_IsoSurfacesDlg.h | 25 +- src/VISUGUI/VisuGUI_Module.cxx | 43 +- src/VISUGUI/VisuGUI_OffsetDlg.cxx | 14 +- src/VISUGUI/VisuGUI_Plot3DDlg.cxx | 88 +- src/VISUGUI/VisuGUI_Plot3DDlg.h | 24 +- src/VISUGUI/VisuGUI_PopupTools.cxx | 281 ++- src/VISUGUI/VisuGUI_Prs3dTools.h | 231 +- src/VISUGUI/VisuGUI_ScalarBarDlg.cxx | 1170 +--------- src/VISUGUI/VisuGUI_ScalarBarDlg.h | 163 +- .../VisuGUI_ScalarMapOnDeformedShapeDlg.cxx | 140 +- .../VisuGUI_ScalarMapOnDeformedShapeDlg.h | 30 +- src/VISUGUI/VisuGUI_Selection.cxx | 4 +- src/VISUGUI/VisuGUI_StreamLinesDlg.cxx | 80 +- src/VISUGUI/VisuGUI_StreamLinesDlg.h | 24 +- src/VISUGUI/VisuGUI_TimeAnimation.cxx | 51 +- src/VISUGUI/VisuGUI_TimeAnimation.h | 13 +- src/VISUGUI/VisuGUI_Tools.cxx | 416 ++-- src/VISUGUI/VisuGUI_Tools.h | 67 +- src/VISUGUI/VisuGUI_TransparencyDlg.cxx | 13 +- src/VISUGUI/VisuGUI_TransparencyDlg.h | 2 + src/VISUGUI/VisuGUI_VectorsDlg.cxx | 80 +- src/VISUGUI/VisuGUI_VectorsDlg.h | 20 +- src/VISUGUI/VisuGUI_ViewTools.cxx | 44 +- src/VISUGUI/VisuGUI_ViewTools.h | 14 +- src/VISU_I/Makefile.in | 28 +- src/VISU_I/VISUConfig.cc | 191 +- src/VISU_I/VISUConfig.hh | 150 +- src/VISU_I/VISU_ColoredPrs3d_i.cc | 834 +++++-- src/VISU_I/VISU_ColoredPrs3d_i.hh | 300 ++- src/VISU_I/VISU_CorbaMedConvertor.cxx | 130 +- src/VISU_I/VISU_CorbaMedConvertor.hxx | 79 +- src/VISU_I/VISU_CutLines_i.cc | 320 ++- src/VISU_I/VISU_CutLines_i.hh | 225 +- src/VISU_I/VISU_CutPlanes_i.cc | 198 +- src/VISU_I/VISU_CutPlanes_i.hh | 147 +- src/VISU_I/VISU_DeformedShape_i.cc | 218 +- src/VISU_I/VISU_DeformedShape_i.hh | 119 +- src/VISU_I/VISU_DumpPython.cc | 14 +- src/VISU_I/VISU_GaussPoints_i.cc | 419 +++- src/VISU_I/VISU_GaussPoints_i.hh | 97 +- src/VISU_I/VISU_Gen_i.cc | 559 +++-- src/VISU_I/VISU_Gen_i.hh | 97 +- src/VISU_I/VISU_I.cxx | 1 + src/VISU_I/VISU_IsoSurfaces_i.cc | 175 +- src/VISU_I/VISU_IsoSurfaces_i.hh | 112 +- src/VISU_I/VISU_Mesh_i.cc | 440 ++-- src/VISU_I/VISU_Mesh_i.hh | 155 +- src/VISU_I/VISU_Plot3D_i.cc | 220 +- src/VISU_I/VISU_Plot3D_i.hh | 140 +- src/VISU_I/VISU_Prs3d_i.cc | 462 +++- src/VISU_I/VISU_Prs3d_i.hh | 198 +- src/VISU_I/VISU_PrsObject_i.cc | 89 +- src/VISU_I/VISU_PrsObject_i.hh | 56 +- src/VISU_I/VISU_Result_i.cc | 664 ++++-- src/VISU_I/VISU_Result_i.hh | 33 +- src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc | 407 ++-- src/VISU_I/VISU_ScalarMapOnDeformedShape_i.hh | 194 +- src/VISU_I/VISU_ScalarMap_i.cc | 239 +- src/VISU_I/VISU_ScalarMap_i.hh | 90 +- src/VISU_I/VISU_StreamLines_i.cc | 263 ++- src/VISU_I/VISU_StreamLines_i.hh | 170 +- src/VISU_I/VISU_Table_i.cc | 259 ++- src/VISU_I/VISU_Table_i.hh | 36 +- src/VISU_I/VISU_TimeAnimation.cxx | 13 +- src/VISU_I/VISU_Vectors_i.cc | 214 +- src/VISU_I/VISU_Vectors_i.hh | 126 +- src/VISU_I/VISU_ViewManager_i.cc | 50 +- src/VISU_I/VISU_ViewManager_i.hh | 2 +- src/VISU_I/VISU_View_i.cc | 65 +- src/VISU_I/VISU_View_i.hh | 8 +- src/VISU_SWIG/Makefile.in | 2 +- src/VISU_SWIG/VISU_Gen_s.cc | 13 +- src/VISU_SWIG/visu.py | 4 +- src/VVTK/VVTK_ViewModel.cxx | 91 +- src/VVTK/VVTK_ViewModel.h | 33 +- src/VVTK/VVTK_ViewWindow.cxx | 2 + 211 files changed, 26029 insertions(+), 10611 deletions(-) create mode 100755 resources/Visu_holo_render.png create mode 100755 resources/Visu_slider_avi.png create mode 100644 resources/Visu_slider_first.png create mode 100644 resources/Visu_slider_last.png create mode 100755 resources/Visu_slider_more.png create mode 100644 resources/Visu_slider_next.png create mode 100644 resources/Visu_slider_pause.png create mode 100644 resources/Visu_slider_play.png create mode 100644 resources/Visu_slider_previous.png create mode 100755 resources/Visu_tree_multipr_full.png create mode 100755 resources/Visu_tree_multipr_hide.png create mode 100755 resources/Visu_tree_multipr_low.png create mode 100755 resources/Visu_tree_multipr_medium.png create mode 100755 src/MULTIPR/MULTIPR_API.cxx create mode 100755 src/MULTIPR/MULTIPR_API.hxx create mode 100755 src/MULTIPR/MULTIPR_DecimationAccel.cxx create mode 100755 src/MULTIPR/MULTIPR_DecimationAccel.hxx create mode 100755 src/MULTIPR/MULTIPR_DecimationFilter.cxx create mode 100755 src/MULTIPR/MULTIPR_DecimationFilter.hxx create mode 100755 src/MULTIPR/MULTIPR_Elements.cxx create mode 100755 src/MULTIPR/MULTIPR_Elements.hxx create mode 100755 src/MULTIPR/MULTIPR_Exceptions.hxx create mode 100755 src/MULTIPR/MULTIPR_Family.cxx create mode 100755 src/MULTIPR/MULTIPR_Family.hxx create mode 100755 src/MULTIPR/MULTIPR_Field.cxx create mode 100755 src/MULTIPR/MULTIPR_Field.hxx create mode 100755 src/MULTIPR/MULTIPR_GaussLoc.cxx create mode 100755 src/MULTIPR/MULTIPR_GaussLoc.hxx create mode 100755 src/MULTIPR/MULTIPR_Globals.hxx create mode 100755 src/MULTIPR/MULTIPR_Mesh.cxx create mode 100755 src/MULTIPR/MULTIPR_Mesh.hxx create mode 100755 src/MULTIPR/MULTIPR_MeshDis.cxx create mode 100755 src/MULTIPR/MULTIPR_MeshDis.hxx create mode 100755 src/MULTIPR/MULTIPR_Nodes.cxx create mode 100755 src/MULTIPR/MULTIPR_Nodes.hxx create mode 100755 src/MULTIPR/MULTIPR_Obj.cxx create mode 100755 src/MULTIPR/MULTIPR_Obj.hxx create mode 100755 src/MULTIPR/MULTIPR_PointOfField.hxx create mode 100755 src/MULTIPR/MULTIPR_Profil.cxx create mode 100755 src/MULTIPR/MULTIPR_Profil.hxx create mode 100755 src/MULTIPR/MULTIPR_ProgressCallback.hxx create mode 100755 src/MULTIPR/MULTIPR_Utils.cxx create mode 100755 src/MULTIPR/MULTIPR_Utils.hxx create mode 100755 src/MULTIPR/Makefile.in create mode 100755 src/MULTIPR/multipr.cxx diff --git a/adm_local/unix/make_commence.in b/adm_local/unix/make_commence.in index bba7766f..90f080db 100644 --- a/adm_local/unix/make_commence.in +++ b/adm_local/unix/make_commence.in @@ -101,6 +101,12 @@ HDF5_INCLUDES=@HDF5_INCLUDES@ HDF5_LIBS=@HDF5_LIBS@ HDF5_MT_LIBS=@HDF5_MT_LIBS@ +# MED2 + +MED2_INCLUDES=@MED2_INCLUDES@ +MED2_LIBS=@MED2_LIBS@ +MED2_MT_LIBS=@MED2_MT_LIBS@ + # OpenCasCade OCC_INCLUDES=@CAS_CPPFLAGS@ @@ -288,3 +294,4 @@ $(top_srcdir)/aclocal.m4: $(ACLOCAL_KERNEL:%=@KERNEL_ROOT_DIR@/salome_adm/unix/c cd $(top_srcdir) ; aclocal -I adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files \ -I @GUI_ROOT_DIR@/adm_local/unix/config_files \ -I @MED_ROOT_DIR@/adm_local/unix/config_files + diff --git a/build_configure b/build_configure index 212e7d8b..ad67c184 100755 --- a/build_configure +++ b/build_configure @@ -42,6 +42,14 @@ if test ! -d "${MED_ROOT_DIR}"; then exit fi +######################################################################## +# Test if the MED2HOME is set correctly + +if test ! -d "${MED2HOME}"; then + echo "failed : MED2HOME variable is not correct !" + exit +fi + ######################################################################## # find_in - utility function # diff --git a/configure.in.base b/configure.in.base index b96d47bb..a01f6e78 100644 --- a/configure.in.base +++ b/configure.in.base @@ -242,6 +242,14 @@ echo CHECK_HDF5 +echo +echo --------------------------------------------- +echo testing MED2 +echo --------------------------------------------- +echo + +CHECK_MED2 + echo echo --------------------------------------------- echo BOOST Library @@ -317,7 +325,7 @@ echo --------------------------------------------- echo echo Configure -variables="cc_ok boost_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok occ_ok qwt_ok doxygen_ok graphviz_ok Kernel_ok Med_ok" +variables="cc_ok boost_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok med2_ok omniORB_ok occ_ok qwt_ok doxygen_ok graphviz_ok Kernel_ok Med_ok" for var in $variables do diff --git a/idl/VISU_Gen.idl b/idl/VISU_Gen.idl index 2f1d27f9..733355e5 100644 --- a/idl/VISU_Gen.idl +++ b/idl/VISU_Gen.idl @@ -94,6 +94,9 @@ module VISU { TFIELD, /*!< Field represents the results of calculations (it can be scalar or vector values), grouped together under one physical concept. */ TTIMESTAMP, /*!