Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
InventorMedical.h
1
2//
3// This class is part of the Open Inventor Medical utility library.
4//
5// The medical utility classes are provided as a prebuilt library named
6// "fei_inventor_medical", that can be used directly in an Open Inventor
7// application. The classes in the prebuilt library are documented and
8// supported by Thermo Fisher Scientific. These classes are also provided as source code.
9//
10// The medical utility library provides useful solutions for some specific
11// requirements of Open Inventor-based medical visualization applications.
12// Compared to typical core Open Inventor classes, medical utility library
13// classes may have some limitations. However application developers can use
14// the source code to examine, modify or extend these classes according to
15// the terms below.
16//
17// Thermo Fisher Scientific may implement similar classes in core Open Inventor in the future,
18// but Thermo Fisher Scientific will continue to support the medical utility version of the class.
19//
20// Open Inventor customers may use the provided source code to help debug
21// their Open Inventor-based application's use of the medical utility library.
22//
23// Open Inventor customers may use the source code to create new classes,
24// derived from the library classes, for use in an Open Inventor application.
25// Thermo Fisher Scientific considers such classes to be application code and not supported by Thermo Fisher Scientific.
26//
27// Open Inventor customers may modify the source code to create customized
28// versions of library classes for use in an Open Inventor application. Thermo Fisher Scientific
29// considers such classes to be application code and not supported by Thermo Fisher Scientific.
30//
32
33#ifndef _INVENTOR_MEDICAL_
34#define _INVENTOR_MEDICAL_
35
36#if defined(_WIN32) && defined(_MSC_VER)
37 #pragma warning( push )
38 #pragma warning(disable:4251)
39#endif
40
41#include <Inventor/sys/port.h>
42
43#ifdef _WIN32
44# if defined(_DEBUG)
45# define __MEDICALLIB "fei_inventor_medicalD.lib"
46# else
47# define __MEDICALLIB "fei_inventor_medical.lib"
48# endif
49# ifndef InventorMedical_EXPORTS
50# ifndef OIV_DISABLE_AUTOLINK
51# pragma comment(lib, __MEDICALLIB)
52# endif
53# endif
54#endif
55
93class INVENTORMEDICAL_API InventorMedical {
94
95public:
96
102 static void init();
103
111 static void finish();
112
116 static bool isInitialized();
117
122
123private:
124 static int s_initRefCount;
125};
126
127#endif
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
static bool isInitialized()
Returns TRUE if module is currently initialized.
InventorMedical()
Constructor.
static void init()
Initializes all Open Inventor Medical classes.
static void finish()
Frees Open Inventor's internal static memory allocations.