Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
MxMeshVizXLM.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-2019 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23#ifndef _MXMESHVIZXLM_H
24#define _MXMESHVIZXLM_H
25
26#include <Inventor/SbBase.h>
27#include <Inventor/STL/limits>
28
29
30#include <MeshVizXLM/MiVersion.h>
31
32#include <Inventor/sys/port.h>
33#include <MeshVizXLM/extractors/MoMeshVizExtractorLibName.h>
34
35#ifdef _WIN32
36
37// MeshVizExtractor_EXPORTS is defined only when building MeshVizXLM extractor dll
38# ifdef MeshVizExtractor_EXPORTS
39# define MESHVIZXLM_EXTR_API VC_DLL_EXPORT
40# else
41# define MESHVIZXLM_EXTR_API VC_DLL_IMPORT
42
43# ifndef OIV_DISABLE_AUTOLINK
44# pragma comment(lib,__MESHVIZEXTRACTORLIB)
45# endif
46# endif
47#else
48# define MESHVIZXLM_EXTR_API GCC_DLLEXPORT
49#endif
50
51#define SoEXTENDER
52#define SoEXTENDER_Documented
53#define SoINTERNAL
54
55
56#if !defined(_WIN32)
57# include <cstddef>
58#endif
59
60static const size_t UNDEFINED_ID = (std::numeric_limits<size_t>::max)();
61
62#if defined(_WIN32) || defined(__linux) || defined(__APPLE__)
63# define MESHVIZXLM_USE_TBB
64#endif
65
66#endif
67
68