24#ifndef _SO_INVENTOR_BASE_
25#define _SO_INVENTOR_BASE_
28#include <Inventor/STL/set>
29#include <Inventor/STL/map>
89 static void setPowerState(PowerState state);
92 static PowerState getPowerState();
113 static SbBool isMultiThreadApplication()
115 if (s_isMultiThreadApplicationSet)
116 return s_isMultiThreadApplication;
117 return checkMultiThreadApplicationMode();
122 static void threadInit();
125 static void threadFinish();
128 static bool checkMultithread()
129 {
return s_checkMultithread; }
134 {
return globalMutex; }
138 static SbBool forceShouldCreateMutex();
145 static inline bool useDoublePrecision()
146 {
return s_doublePrecision; }
148 static inline void setDoublePrecision(
bool val )
149 { s_doublePrecision = val; }
153 static inline bool useReportZeroVector()
154 {
return s_reportZeroVectors; }
157 static inline double getIntersectionEpsilon()
158 {
return s_intersectionEpsilon; }
161 static inline double getIntersectionEpsilonSquared()
162 {
return s_intersectionEpsilonSquared; }
164 static inline void setIntersectionEpsilon(
double epsilon)
165 { s_intersectionEpsilon = epsilon; s_intersectionEpsilonSquared = epsilon*epsilon;}
168 static bool isFinishing();
172 static int s_initRefCount;
176 static bool checkMultiThreadApplicationMode();
177 static bool s_isMultiThreadApplication;
178 static bool s_isMultiThreadApplicationSet;
180 static const char *s_versionString;
184 static bool s_checkMultithread;
187 static bool s_doublePrecision;
190 static bool s_reportZeroVectors;
193 static double s_intersectionEpsilon;
194 static double s_intersectionEpsilonSquared;
196 static bool s_isFinishing;
199 static PowerState s_powerState;
static void finish()
General basic object database.
static bool isInitialized()
Returns TRUE if database is initialized (for error checking)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Portable mutex c...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Portable readers...