Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoImageViz.h
Go to the documentation of this file.
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-2023 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : David Beilloin (Sep 2013)
22**=======================================================================*/
23
24#ifndef _SO_IMAGEVIZ_H_
25#define _SO_IMAGEVIZ_H_
26
27#include <SoVersion.h>
29
30// ImageViz_EXPORTS is defined only when building ImageViz dll
31#include <Inventor/SbBase.h>
32#ifdef ImageViz_EXPORTS
33# define VC_DLL_EXPORT
34#else
35# define VC_DLL_IMPORT
36# ifdef _WIN32
37# ifndef OIV_DISABLE_AUTOLINK
38# pragma comment(lib,__IMAGEVIZLIB)
39# endif
40# endif
41#endif
42
43#include <Inventor/SoModule.h>
44SO_MODULE_HEADER(SoImageViz, __IMAGEVIZDLL)
45
46class SoDEPRECATED SoImageViz {
60
61 public:
62
69 static void init();
70
79 static void finish();
80
85 static bool isInitialized();
86
90 static const char *getProductName();
91
92#if 1 SoDEPRECATED
97 static const char *getVersion();
98#endif
104 static void enableMultiThread(bool flag);
105
106 private:
107
108 // reference counter on the lib.
109 static int s_initRefCount;
110
111 static const char *s_versionString;
112
113};
114/*---------------------------------------------------------------------------*/
115
116#endif // _SO_IMAGEVIZ_H_
117
#define __IMAGEVIZDLL
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Module class use to re...
Definition SoImageViz.h:59
static void init()
Initializes all classes of ImageViz by registering them in the database.
static SoDEPRECATED const char * getVersion()
Returns a character string identifying the version of the extension.
static bool isInitialized()
Returns TRUE if module is currently initialized.
static void enableMultiThread(bool flag)
Enable or not multi threading usage by ImageViz engines.
static const char * getProductName()
Returns a character string identifying the name of the extension.
static void finish()
Frees Open Inventor's internal static memory allocations.