00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _MOMESHVIZDATAMAPPING_H
00024 #define _MOMESHVIZDATAMAPPING_H
00025
00026 #include <MeshVizXLM/MxMeshVizXLM.h>
00027
00028 #include <Inventor/sys/port.h>
00029 #include <MeshVizXLM/mapping/MoMeshVizDataMappingLibName.h>
00030
00031
00032 #ifdef _WIN32
00033 # ifdef MeshVizDataMapping_EXPORTS
00034 # define MESHVIZXLM_DMAP_API VC_DLL_EXPORT
00035 # else
00036 # define MESHVIZXLM_DMAP_API VC_DLL_IMPORT
00037 # ifndef OIV_DISABLE_AUTOLINK
00038 # pragma comment(lib,__MESHVIZDATAMAPPINGLIB)
00039 # endif
00040 # endif
00041 #else
00042 # define MESHVIZXLM_DMAP_API GCC_DLLEXPORT
00043 #endif
00044
00045 #include <Inventor/actions/SoCallbackAction.h>
00046 #include <Inventor/actions/SoGLRenderAction.h>
00047 #include <Inventor/actions/SoGetMatrixAction.h>
00048 #include <Inventor/actions/SoSearchAction.h>
00049 #include <Inventor/actions/SoGetBoundingBoxAction.h>
00050 #include <Inventor/actions/SoWriteAction.h>
00051 #include <Inventor/actions/SoHandleEventAction.h>
00052 #include <Inventor/actions/SoPickAction.h>
00053 #include <Inventor/actions/SoGetPrimitiveCountAction.h>
00054
00055 #include <Inventor/SoModule.h>
00056 SO_MODULE_HEADER(SoMeshVizDataMapping, __MESHVIZDATAMAPPINGDLL)
00057
00058
00059 #define MO_ENABLE_ELT_ALL_ACTIONS(_elt)\
00060 SO_ENABLE(SoCallbackAction, _elt);\
00061 SO_ENABLE(SoGLRenderAction, _elt);\
00062 SO_ENABLE(SoGetMatrixAction, _elt);\
00063 SO_ENABLE(SoSearchAction, _elt);\
00064 SO_ENABLE(SoGetBoundingBoxAction, _elt);\
00065 SO_ENABLE(SoWriteAction, _elt);\
00066 SO_ENABLE(SoHandleEventAction, _elt);\
00067 SO_ENABLE(SoPickAction, _elt);\
00068 SO_ENABLE(SoGetPrimitiveCountAction, _elt);
00069
00076 enum MeshType {
00077 VOLUME_MESH_UNSTRUCTURED,
00078 VOLUME_MESH_HEXAHEDRON_IJK,
00079 HEXAHEDRON_MESH_IJK,
00080 VOLUME_MESH_REGULAR,
00081 VOLUME_MESH_RECTILINEAR,
00082 VOLUME_MESH_CURVILINEAR,
00083 SURFACE_MESH_UNSTRUCTURED,
00084 SURFACE_MESH_REGULAR,
00085 SURFACE_MESH_RECTILINEAR,
00086 SURFACE_MESH_CURVILINEAR,
00087 LINE_MESH_UNSTRUCTURED,
00088 LINE_MESH_REGULAR,
00089 LINE_MESH_CURVILINEAR,
00090 POINT_MESH_CURVILINEAR,
00091 UNDEFINED_MESH
00092 };
00093
00100 enum CellFilterType {
00101 CELL_FILTER_I,
00102 CELL_FILTER_IJ,
00103 CELL_FILTER_IJK,
00104 UNDEFINED_CELL_FILTER
00105 };
00106
00107 #endif
00108
00109
00110