Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
MoMeshVizDataMapping.h
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2017 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23#ifndef _MOMESHVIZDATAMAPPING_H
24#define _MOMESHVIZDATAMAPPING_H
25
26#include <MeshVizXLM/MxMeshVizXLM.h>
27
28#include <Inventor/sys/port.h>
29#include <MeshVizXLM/mapping/MoMeshVizDataMappingLibName.h>
30
31// MeshVizExtractor_EXPORTS is defined only when building MeshViz extractor dll
32#ifdef _WIN32
33# ifdef MeshVizDataMapping_EXPORTS
34# define MESHVIZXLM_DMAP_API VC_DLL_EXPORT
35# else
36# define MESHVIZXLM_DMAP_API VC_DLL_IMPORT
37# ifndef OIV_DISABLE_AUTOLINK
38# pragma comment(lib,__MESHVIZDATAMAPPINGLIB)
39# endif
40# endif
41#else
42# define MESHVIZXLM_DMAP_API GCC_DLLEXPORT
43#endif
44
45#include <Inventor/actions/SoCallbackAction.h>
46#include <Inventor/actions/SoGLRenderAction.h>
47#include <Inventor/actions/SoGetMatrixAction.h>
48#include <Inventor/actions/SoSearchAction.h>
49#include <Inventor/actions/SoGetBoundingBoxAction.h>
50#include <Inventor/actions/SoWriteAction.h>
51#include <Inventor/actions/SoHandleEventAction.h>
52#include <Inventor/actions/SoPickAction.h>
53#include <Inventor/actions/SoGetPrimitiveCountAction.h>
54
55#include <Inventor/SoModule.h>
56SO_MODULE_HEADER(SoMeshVizDataMapping, __MESHVIZDATAMAPPINGDLL)
57
58// Macro that allows to enable an element for all type of actions
59#define MO_ENABLE_ELT_ALL_ACTIONS(_elt)\
60SO_ENABLE(SoCallbackAction, _elt);\
61SO_ENABLE(SoGLRenderAction, _elt);\
62SO_ENABLE(SoGetMatrixAction, _elt);\
63SO_ENABLE(SoSearchAction, _elt);\
64SO_ENABLE(SoGetBoundingBoxAction, _elt);\
65SO_ENABLE(SoWriteAction, _elt);\
66SO_ENABLE(SoHandleEventAction, _elt);\
67SO_ENABLE(SoPickAction, _elt);\
68SO_ENABLE(SoGetPrimitiveCountAction, _elt);
69
93
106
107#endif
108
109
MeshType
All supported mesh types.
CellFilterType
Type of cell filter.
@ VOLUME_MESH_UNSTRUCTURED
Unstructured Volume Mesh.
@ SURFACE_MESH_RECTILINEAR
Rectilinear Surface Mesh.
@ VOLUME_MESH_HEXAHEDRON_IJK
Structured Hexahedron Mesh.
@ VOLUME_MESH_REGULAR
Regular Volume Mesh.
@ LINE_MESH_REGULAR
Regular Line Mesh.
@ VOLUME_MESH_CURVILINEAR
Curvilinear Volume Mesh.
@ SURFACE_MESH_CURVILINEAR
Curvilinear Surface Mesh.
@ VOLUME_MESH_RECTILINEAR
Rectilinear Volume Mesh.
@ SURFACE_MESH_REGULAR
Regular Surface Mesh.
@ SURFACE_MESH_UNSTRUCTURED
Unstructured Surface Mesh.
@ HEXAHEDRON_MESH_IJK
Structured Vertex Hexahedron Mesh.
@ POINT_MESH_CURVILINEAR
Curvilinear Point Mesh.
@ LINE_MESH_CURVILINEAR
Curvilinear Line Mesh.
@ UNDEFINED_MESH
Mesh not defined.
@ LINE_MESH_UNSTRUCTURED
Unstructured Line Mesh.
@ CELL_FILTER_I
Cell Filter for unstructured meshes.
@ UNDEFINED_CELL_FILTER
Cell Filter not defined.
@ CELL_FILTER_IJK
Cell Filter for structured volume meshes.
@ CELL_FILTER_IJ
Cell Filter for structured surface meshes.