Coin Logo http://www.sim.no
http://www.coin3d.org

basic.h
1 /* include/Inventor/C/basic.h. Generated by configure. */
2 /**************************************************************************\
3  *
4  * This file is part of the Coin 3D visualization library.
5  * Copyright (C) 1998-2007 by Systems in Motion. All rights reserved.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * ("GPL") version 2 as published by the Free Software Foundation.
10  * See the file LICENSE.GPL at the root directory of this source
11  * distribution for additional information about the GNU GPL.
12  *
13  * For using Coin with software that can not be combined with the GNU
14  * GPL, and for taking advantage of the additional benefits of our
15  * support services, please contact Systems in Motion about acquiring
16  * a Coin Professional Edition License.
17  *
18  * See http://www.coin3d.org/ for more information.
19  *
20  * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
21  * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
22  *
23 \**************************************************************************/
24 
25 #ifndef COIN_BASIC_H
26 #define COIN_BASIC_H
27 
28 /*
29  NOTE: basic.h is automatically generated from basic.h.in, so don't
30  edit basic.h directly.
31 */
32 
33 /* *********************************************************************** */
34 
35 /* Documented for Doxygen in SoDB.cpp. */
36 typedef int SbBool;
37 
38 #ifndef FALSE
39 #define FALSE 0
40 #endif /* !FALSE */
41 #ifndef TRUE
42 #define TRUE 1
43 #endif /* !TRUE */
44 
45 /* *********************************************************************** */
46 
47 /* Ye good olde min/max macros. No library would be complete without them. */
48 
49 #define cc_min(x, y) (((x) < (y)) ? (x) : (y))
50 #define cc_max(x, y) (((x) > (y)) ? (x) : (y))
51 
52 /* *********************************************************************** */
53 
54 /* Include this to 1) be compatible with Open Inventor's SbBasic.h, 2)
55  * provide a way for application programmers to get hold of the type
56  * definitions without explicitly including inttypes.h.
57  *
58  * The latter point is important because the inttypes.h file in SGI
59  * and TGS Open Inventor is placed _below_ the Inventor/ directory in
60  * the header files hierarchy. This is a stupid thing to do because it
61  * could easily conflict with the inttypes.h file installed as part of
62  * the C library on many systems (like GNU/Linux's glibc, for
63  * instance).
64  */
65 #include <Inventor/system/inttypes.h>
66 
67 /* Internal note for Coin developers: in other sourcefiles in Coin, we
68  * depend on math.h being included through SbBasic.h. It is done this
69  * way to always make sure we have the M_* symbols available under
70  * MSWin (see below). So don't remove the following line unless you
71  * know very well what you are doing.
72  */
73 #include <math.h>
74 
75 /* Define misc values if they are not available from math.h. UNIX
76  * systems typically have these defines, and MSWindows systems don't.
77  */
78 #ifndef M_E
79 #define M_E 2.7182818284590452354
80 #endif /* !M_E */
81 #ifndef M_LOG2E
82 #define M_LOG2E 1.4426950408889634074
83 #endif /* !M_LOG2E */
84 #ifndef M_LOG10E
85 #define M_LOG10E 0.43429448190325182765
86 #endif /* !M_LOG10E */
87 #ifndef M_LN2
88 #define M_LN2 0.69314718055994530942
89 #endif /* !M_LN2 */
90 #ifndef M_LN10
91 #define M_LN10 2.30258509299404568402
92 #endif /* !M_LN10 */
93 #ifndef M_PI
94 #define M_PI 3.14159265358979323846
95 #endif /* !M_PI */
96 #ifndef M_TWOPI
97 #define M_TWOPI (M_PI * 2.0)
98 #endif /* !M_TWOPI */
99 #ifndef M_PI_2
100 #define M_PI_2 1.57079632679489661923
101 #endif /* !M_PI_2 */
102 #ifndef M_PI_4
103 #define M_PI_4 0.78539816339744830962
104 #endif /* !M_PI_4 */
105 #ifndef M_3PI_4
106 #define M_3PI_4 2.3561944901923448370E0
107 #endif /* !M_3PI_4 */
108 #ifndef M_SQRTPI
109 #define M_SQRTPI 1.77245385090551602792981
110 #endif /* !M_SQRTPI */
111 #ifndef M_1_PI
112 #define M_1_PI 0.31830988618379067154
113 #endif /* !M_1_PI */
114 #ifndef M_2_PI
115 #define M_2_PI 0.63661977236758134308
116 #endif /* !M_2_PI */
117 #ifndef M_2_SQRTPI
118 #define M_2_SQRTPI 1.12837916709551257390
119 #endif /* !M_2_SQRTPI */
120 #ifndef M_SQRT2
121 #define M_SQRT2 1.41421356237309504880
122 #endif /* !M_SQRT2 */
123 #ifndef M_SQRT1_2
124 #define M_SQRT1_2 0.70710678118654752440
125 #endif /* !M_SQRT1_2 */
126 #ifndef M_LN2LO
127 #define M_LN2LO 1.9082149292705877000E-10
128 #endif /* !M_LN2LO */
129 #ifndef M_LN2HI
130 #define M_LN2HI 6.9314718036912381649E-1
131 #endif /* !M_LN2HI */
132 #ifndef M_SQRT3
133 #define M_SQRT3 1.73205080756887719000
134 #endif /* !M_SQRT3 */
135 #ifndef M_IVLN10
136 #define M_IVLN10 0.43429448190325182765 /* 1 / log(10) */
137 #endif /* !M_IVLN10 */
138 #ifndef M_LOG2_E
139 #define M_LOG2_E 0.693147180559945309417
140 #endif /* !M_LOG2_E */
141 #ifndef M_INVLN2
142 #define M_INVLN2 1.4426950408889633870E0 /* 1 / log(2) */
143 #endif /* !M_INVLN2 */
144 
145 /* *********************************************************************** */
146 
147 /* A unique identifier to recognize whether or not we're running under
148  * Systems in Motion's Coin library.
149  */
150 #define __COIN__
151 
152 /* The following #undef'ed defines are automatically defined and
153  * synchronized with the settings in configure.in when ``configure''
154  * is executed.
155  *
156  * The #ifndef wrapper is necessary because during development, these
157  * are also defined in the config.h file generated by ``configure''.
158  */
159 #ifndef COIN_VERSION
160 
161 /* These are available for adding or omitting features based on Coin
162  * version numbers in client application sources. */
163 #define COIN_MAJOR_VERSION 2
164 #define COIN_MINOR_VERSION 5
165 #define COIN_MICRO_VERSION 0
166 /* #undef COIN_BETA_VERSION */
167 #define COIN_VERSION "2.5.0"
168 
169 /* This define is set by the configure script if singleprecision math
170  functions are available from the C library API headers. */
171 /* #undef HAVE_SINGLEPRECISION_MATH */
172 
173 /* Most compilers should have "hash quoting", as it is part of the
174  ANSI standard. */
175 #define HAVE_HASH_QUOTING 1
176 /* #undef HAVE_APOSTROPHES_QUOTING */
177 
178 /* IN_PATH define in HPUX's sys/unistd.h conflicts with SoAction::IN_PATH */
179 /* #undef COIN_UNDEF_IN_PATH_HACK */
180 
181 /* This define is wrapped around new features in development that will
182  be introduced with the next minor release. Don't switch this define
183  without rebuilding the library - just switching it for an installed
184  library will just bring the header files out of sync with the library,
185  causing a bunch of problems. */
186 /* NOTE: this define is from now on disabled, but could get reintroduced */
187 /* # undef COIN_NEXT_MINOR */
188 
189 #endif /* !COIN_VERSION */ /* Ends configure-generated defines. */
190 
191 /* *********************************************************************** */
192 
193 /* The float-version of the math functions below did not come about
194  until C99, so we don't want to use them internally, for portability
195  reasons. */
196 #ifdef COIN_INTERNAL
197 #undef \
198  cosf
199 #define cosf(x) NO_SINGLEPREC /* whatever that'll give us a compile error... */
200 #undef \
201  sinf
202 #define sinf(x) NO_SINGLEPREC
203 #undef \
204  tanf
205 #define tanf(x) NO_SINGLEPREC
206 #undef \
207  powf
208 #define powf(x) NO_SINGLEPREC
209 #undef \
210  sqrtf
211 #define sqrtf(x) NO_SINGLEPREC
212 #undef \
213  acosf
214 #define acosf(x) NO_SINGLEPREC
215 #undef \
216  asinf
217 #define asinf(x) NO_SINGLEPREC
218 #undef \
219  atanf
220 #define atanf(x) NO_SINGLEPREC
221 #undef \
222  atan2f
223 #define atan2f(x) NO_SINGLEPREC
224 #endif /* COIN_INTERNAL */
225 
226 /* *********************************************************************** */
227 
228 /* SO__QUOTE(str) - use the preprocessor to quote a string.
229  * SO__CONCAT(str1,str2) - use the preprocessor to concatenate two strings.
230  */
231 
232 #ifdef HAVE_HASH_QUOTING
233 #define SO__QUOTE(str) #str
234 #define SO__CONCAT(str1, str2) str1##str2
235 #elif defined(HAVE_APOSTROPHES_QUOTING)
236 #define SO__QUOTE(str) "str"
237 #define SO__CONCAT(str1, str2) str1str2
238 #else
239 #error No valid way to do macro quoting!
240 #endif
241 
242 /* *********************************************************************** */
243 
244 /* Precaution to avoid an some errors easily made by the application
245  programmer. */
246 #ifdef COIN_DLL_API
247 # error Leave the internal COIN_DLL_API define alone.
248 #endif /* COIN_DLL_API */
249 #ifdef COIN_INTERNAL
250 # ifdef COIN_NOT_DLL
251 # error The COIN_NOT_DLL define is not supposed to be used when building the library, only when building Win32 applications.
252 # endif /* COIN_INTERNAL && COIN_NOT_DLL */
253 # ifdef COIN_DLL
254 # error The COIN_DLL define is not supposed to be used when building the library, only when building Win32 applications.
255 # endif /* COIN_INTERNAL && COIN_DLL */
256 #endif /* COIN_INTERNAL */
257 
258 /*
259  On MSWindows platforms, one of these defines must always be set when
260  building application programs:
261 
262  - "COIN_DLL", when the application programmer is using the library
263  in the form of a dynamic link library (DLL)
264 
265  - "COIN_NOT_DLL", when the application programmer is using the
266  library in the form of a static object library (LIB)
267 
268  Note that either COIN_DLL or COIN_NOT_DLL _must_ be defined by the
269  application programmer on MSWindows platforms, or else the #error
270  statement will hit. Set up one or the other of these two defines in
271  your compiler environment according to how the library was built --
272  as a DLL (use "COIN_DLL") or as a LIB (use "COIN_NOT_DLL").
273 
274  (Setting up defines for the compiler is typically done by either
275  adding something like "/DCOIN_DLL" to the compiler's argument line
276  (for command-line build processes), or by adding the define to the
277  list of preprocessor symbols in your IDE GUI (in the MSVC IDE, this
278  is done from the "Project"->"Settings" menu, choose the "C/C++" tab,
279  then "Preprocessor" from the dropdown box and add the appropriate
280  define)).
281 
282  It is extremely important that the application programmer uses the
283  correct define, as using "COIN_NOT_DLL" when "COIN_DLL" is correct
284  will cause mysterious crashes.
285  */
286 /* FIXME: use a feature check to see if this is a platform which can
287  recognize the __declspec keyword instead of the crap #if below.
288  20011201 mortene. */
289 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
290 # ifdef COIN_INTERNAL
291 # ifdef COIN_MAKE_DLL
292 # define COIN_DLL_API __declspec(dllexport)
293 # endif /* COIN_MAKE_DLL */
294 # else /* !COIN_INTERNAL */
295 # ifdef COIN_DLL
296 # ifdef COIN_NOT_DLL
297 # error Define _either_ COIN_DLL _or_ COIN_NOT_DLL as appropriate for your linkage -- not both at the same time! See Inventor/C/basic.h for further instructions.
298 # endif /* COIN_NOT_DLL */
299 # define COIN_DLL_API __declspec(dllimport)
300 # else /* !COIN_DLL */
301 # ifndef COIN_NOT_DLL
302 # error Define either COIN_DLL or COIN_NOT_DLL as appropriate for your linkage! See Inventor/C/basic.h for further instructions.
303 # endif /* !COIN_NOT_DLL */
304 # endif /* !COIN_DLL */
305 # endif /* !COIN_INTERNAL */
306 #endif /* Microsoft Windows */
307 
308 /* Empty define to avoid errors when _not_ compiling an MSWindows DLL. */
309 #ifndef COIN_DLL_API
310 # define COIN_DLL_API
311 #endif /* !COIN_DLL_API */
312 
313 #endif /* !COIN_BASIC_H */
SoVRMLAnchor::description
SoSFString description
Definition: SoVRMLAnchor.h:48
SbPList::getLength
int getLength(void) const
Definition: SbPList.h:94
SoIndexedShape::normalIndex
SoMFInt32 normalIndex
Definition: SoIndexedShape.h:44
SbRotation
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:33
SoVRMLBackground::getClassTypeId
static SoType getClassTypeId(void)
Definition: Background.cpp:269
SoVRMLTexture::repeatS
SoSFBool repeatS
Definition: SoVRMLTexture.h:39
SoState
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
SoMField::getNum
int getNum(void) const
Definition: SoMField.h:86
SoNode::search
virtual void search(SoSearchAction *action)
Definition: SoNode.cpp:1120
SoAction::hasTerminated
SbBool hasTerminated(void) const
Definition: SoAction.cpp:1018
SoCamera::nearDistance
SoSFFloat nearDistance
Definition: SoCamera.h:74
SoState::pop
void pop(void)
Definition: SoState.cpp:284
SbMatrix
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:37
SoIndexedFaceSet
The SoIndexedFaceSet class is used to handle generic indexed facesets.
Definition: SoIndexedFaceSet.h:36
SoChildList
The SoChildList class is a container for node children.
Definition: SoChildList.h:33
SoAudioDevice::instance
static SoAudioDevice * instance()
Definition: SoAudioDevice.cpp:99
SoSensor
The SoSensor class is the abstract base class for all sensors.
Definition: SoSensor.h:34
SoNode::notify
virtual void notify(SoNotList *l)
Definition: SoNode.cpp:423
SoIndexedTriangleStripSet
The SoIndexedTriangleStripSet class keeps data for rendering and otherwise representing triangle stri...
Definition: SoIndexedTriangleStripSet.h:36
SoNode::GLRender
virtual void GLRender(SoGLRenderAction *action)
Definition: SoNode.cpp:904
SoShapeHints::COUNTERCLOCKWISE
@ COUNTERCLOCKWISE
Definition: SoShapeHints.h:44
SbList::truncate
void truncate(const int length, const int dofit=0)
Definition: SbList.h:149
SoIndexedShape::coordIndex
SoMFInt32 coordIndex
Definition: SoIndexedShape.h:42
SoFieldContainer::enableNotify
SbBool enableNotify(const SbBool flag)
Definition: SoFieldContainer.cpp:443
SoState::push
void push(void)
Definition: SoState.cpp:265
SoVRMLAnchor::setFetchURLCallBack
static void setFetchURLCallBack(SoVRMLAnchorCB *, void *closure)
Definition: Anchor.cpp:228
SoVRMLAudioClip::setCallbacks
void setCallbacks(open_func *opencb, read_func *readcb, seek_func *seekcb, tell_func *tellcb, close_func *closecb, void *userdataptr)
Definition: AudioClip.cpp:476
SbMutex::unlock
int unlock(void)
Definition: SbMutex.h:41
SoVRMLAppearance::doAction
virtual void doAction(SoAction *action)
Definition: Appearance.cpp:162
SoVRMLAnchor
The SoVRMLAnchor class is used for linking to other URL resources.
Definition: SoVRMLAnchor.h:39
SoSearchAction
The SoSearchAction class provides methods for searching through scene graphs.
Definition: SoSearchAction.h:32
SoDebugError::postWarning
static void postWarning(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:324
SoAction
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:67
SoVRMLAppearance::GLRender
virtual void GLRender(SoGLRenderAction *action)
Definition: Appearance.cpp:183
SbMutex::lock
int lock(void)
Definition: SbMutex.h:35
SoScale
The SoScale class is a node type for scaling scene graph geometry.
Definition: SoScale.h:31
SoInput::setBuffer
virtual void setBuffer(void *bufpointer, size_t bufsize)
Definition: SoInput.cpp:1025
SoVRMLAppearance::getChildren
virtual SoChildList * getChildren(void) const
Definition: Appearance.cpp:259
SoVRMLMaterial::transparency
SoSFFloat transparency
Definition: SoVRMLMaterial.h:48
SoVRMLParent::updateChildList
static void updateChildList(const SoNode *const *nodes, const int numnodes, SoChildList &cl)
Definition: Parent.cpp:378
SoGroup::addChild
virtual void addChild(SoNode *node)
Definition: SoGroup.cpp:393
SoLightModel::model
SoSFEnum model
Definition: SoLightModel.h:45
SbList::append
void append(const Type item)
Definition: SbList.h:98
SbString
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:42
SoVRMLAnchor::bboxSize
SoSFVec3f bboxSize
Definition: SoVRMLAnchor.h:52
SoVertexProperty::materialBinding
SoSFEnum materialBinding
Definition: SoVertexProperty.h:59
SoShapeHints::SOLID
@ SOLID
Definition: SoShapeHints.h:49
SoVRMLAnchor::~SoVRMLAnchor
virtual ~SoVRMLAnchor()
Definition: Anchor.cpp:220
SoGetBoundingBoxAction::addMethod
static void addMethod(const SoType type, SoActionMethod method)
Definition: SoGetBoundingBoxAction.cpp:211
SbStringList
The SbStringList class is a container for arrays of SbString pointers.
Definition: SbStringList.h:31
SoAction::popPushCurPath
void popPushCurPath(const int childindex, SoNode *node=NULL)
Definition: SoAction.cpp:1132
SoMouseButtonEvent::BUTTON1
@ BUTTON1
Definition: SoMouseButtonEvent.h:42
SoShapeHints::CLOCKWISE
@ CLOCKWISE
Definition: SoShapeHints.h:43
SoGroup::handleEvent
virtual void handleEvent(SoHandleEventAction *action)
Definition: SoGroup.cpp:613
SoGLRenderAction::abortNow
SbBool abortNow(void)
Definition: SoGLRenderAction.cpp:1112
SoBase::unref
void unref(void) const
Definition: SoBase.cpp:627
SbVec2s
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:37
SoField
The SoField class is the top-level abstract base class for fields.
Definition: SoField.h:38
SoVertexProperty::orderedRGBA
SoMFUInt32 orderedRGBA
Definition: SoVertexProperty.h:58
SoVRMLBackground
The SoVRMLBackground class is used for specifying a viewer panorama.
Definition: SoVRMLBackground.h:37
SoVRMLMaterial
The SoVRMLMaterial class is used to assign a material to geometry.
Definition: SoVRMLMaterial.h:35
SbRotation::inverse
SbRotation inverse(void) const
Definition: SbRotation.cpp:316
SbList< SbString >
SoDebugError::postInfo
static void postInfo(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:334
SoVRMLAudioClip::startTime
SoSFTime startTime
Definition: SoVRMLAudioClip.h:63
SoVRMLAppearance::~SoVRMLAppearance
virtual ~SoVRMLAppearance()
Definition: Appearance.cpp:154
SoShapeHints::vertexOrdering
SoSFEnum vertexOrdering
Definition: SoShapeHints.h:57
SbList::getLength
int getLength(void) const
Definition: SbList.h:145
SoVRMLBackground::~SoVRMLBackground
virtual ~SoVRMLBackground()
Definition: Background.cpp:459
SoScale::scaleFactor
SoSFVec3f scaleFactor
Definition: SoScale.h:40
SoVRMLBackground::GLRender
virtual void GLRender(SoGLRenderAction *action)
Definition: Background.cpp:486
SoLightModel::BASE_COLOR
@ BASE_COLOR
Definition: SoLightModel.h:41
SoVRMLAudioClip
The SoVRMLAudioClip class is used to load and store audio data.
Definition: SoVRMLAudioClip.h:40
SoVRMLAppearance::callback
virtual void callback(SoCallbackAction *action)
Definition: Appearance.cpp:176
SoAction::popCurPath
void popCurPath(const PathCode prevpathcode)
Definition: SoAction.h:165
SoLightModel
The SoLightModel class is a node for specifying the model for geometry lighting.
Definition: SoLightModel.h:31
SoVRMLAnchor::parameter
SoMFString parameter
Definition: SoVRMLAnchor.h:49
SoVRMLAudioClip::description
SoSFString description
Definition: SoVRMLAudioClip.h:60
SoAction::getPathCode
PathCode getPathCode(int &numindices, const int *&indices)
Definition: SoAction.cpp:890
SbTime::format
SbString format(const char *const fmt="%S.%i") const
Definition: SbTime.cpp:381
SoTimerSensor
The SoTimerSensor class is a sensor which will trigger at given intervals.
Definition: SoTimerSensor.h:29
SoAction::getState
SoState * getState(void) const
Definition: SoAction.cpp:1028
SoVRMLImageTexture
The SoVRMLImageTexture class is used for mapping a texture file onto geometry.
Definition: SoVRMLImageTexture.h:40
SoMFString
The SoMFString class is a container for SbString values.
Definition: SoMFString.h:31
SoFieldContainer
The SoFieldContainer class is a base class for all classes that contain fields.
Definition: SoFieldContainer.h:35
SoVRMLAudioClip::stopTime
SoSFTime stopTime
Definition: SoVRMLAudioClip.h:64
SoBase::ref
void ref(void) const
Definition: SoBase.cpp:574
SoShapeHints::shapeType
SoSFEnum shapeType
Definition: SoShapeHints.h:58
SoVRMLAppearance
The SoVRMLAppearance class specifies visual properties for shapes.
Definition: SoVRMLAppearance.h:34
SoShapeHints::faceType
SoSFEnum faceType
Definition: SoShapeHints.h:59
SbVec3f
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
SoVRMLAnchor::handleEvent
virtual void handleEvent(SoHandleEventAction *action)
Definition: Anchor.cpp:236
SoIndexedShape::textureCoordIndex
SoMFInt32 textureCoordIndex
Definition: SoIndexedShape.h:45
SoVertexProperty::normal
SoMFVec3f normal
Definition: SoVertexProperty.h:56
SoField::getTypeId
virtual SoType getTypeId(void) const =0
SoCallbackAction
The SoCallbackAction class invokes callbacks at specific nodes.
Definition: SoCallbackAction.h:70
SoPerspectiveCamera
The SoPerspectiveCamera class defines a camera node with perspective rendering.
Definition: SoPerspectiveCamera.h:30
SoMaterialBinding::PER_VERTEX_INDEXED
@ PER_VERTEX_INDEXED
Definition: SoMaterialBinding.h:47
SoVRMLAudioClip::~SoVRMLAudioClip
virtual ~SoVRMLAudioClip()
Definition: AudioClip.cpp:401
SoVRMLAudioClip::pitch
SoSFFloat pitch
Definition: SoVRMLAudioClip.h:62
SoVRMLAnchor::url
SoMFString url
Definition: SoVRMLAnchor.h:47
SoAction::getCurPathCode
PathCode getCurPathCode(void) const
Definition: SoAction.h:159
SbMutex
A basic class for managing a mutex.
Definition: SbMutex.h:30
SoVertexProperty::vertex
SoMFVec3f vertex
Definition: SoVertexProperty.h:53
SoVRMLAppearance::SoVRMLAppearance
SoVRMLAppearance(void)
Definition: Appearance.cpp:136
SoVRMLAudioClip::seek
int seek(void *datasource, long offset, int whence)
Definition: AudioClip.cpp:506
SoVRMLAppearance::notify
virtual void notify(SoNotList *list)
Definition: Appearance.cpp:279
SoDB::init
static void init(void)
Definition: SoDB.cpp:548
SoVRMLAudioClip::url
SoMFString url
Definition: SoVRMLAudioClip.h:65
SoVertexProperty
The SoVertexProperty class collects the functionality of various appearance nodes.
Definition: SoVertexProperty.h:33
SoFieldSensor
The SoFieldSensor class detects changes to a field.
Definition: SoFieldSensor.h:29
SoIndexedShape::materialIndex
SoMFInt32 materialIndex
Definition: SoIndexedShape.h:43
SoVRMLAppearance::material
SoSFNode material
Definition: SoVRMLAppearance.h:43
SoVRMLAudioClip::duration_changed
SoSFTime duration_changed
Definition: SoVRMLAudioClip.h:91
SoShapeHints::CONVEX
@ CONVEX
Definition: SoShapeHints.h:54
SoInput::searchForFile
static SbString searchForFile(const SbString &basename, const SbStringList &directories, const SbStringList &subdirectories)
Definition: SoInput.cpp:2291
SoMouseButtonEvent::isButtonPressEvent
static SbBool isButtonPressEvent(const SoEvent *e, SoMouseButtonEvent::Button whichButton)
Definition: SoMouseButtonEvent.cpp:146
SoSeparator
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:34
SbVec3f::normalize
float normalize(void)
Definition: SbVec3f.cpp:436
SoNode::affectsState
virtual SbBool affectsState(void) const
Definition: SoNode.cpp:783
SoAction::pushCurPath
void pushCurPath(const int childindex, SoNode *node=NULL)
Definition: SoAction.cpp:919
SoDB::readAll
static SoSeparator * readAll(SoInput *in)
Definition: SoDB.cpp:1048
SoVRMLAppearance::textureTransform
SoSFNode textureTransform
Definition: SoVRMLAppearance.h:45
SoInput::getDirectories
static const SbStringList & getDirectories(void)
Definition: SoInput.cpp:2130
SoVRMLBackground::SoVRMLBackground
SoVRMLBackground(void)
Definition: Background.cpp:382
SoHandleEventAction::getEvent
const SoEvent * getEvent(void) const
Definition: SoHandleEventAction.cpp:196
SbTime
The SbTime class instances represents time values.
Definition: SbTime.h:41
SoNotList::getLastField
SoField * getLastField(void) const
Definition: SoNotification.cpp:167
SoMouseButtonEvent
The SoMouseButtonEvent class contains information about mousebutton interaction.
Definition: SoMouseButtonEvent.h:35
SoInput
The SoInput class is an abstraction of file import functionality.
Definition: SoInput.h:55
SoGroup::getChild
virtual SoNode * getChild(int index) const
Definition: SoGroup.cpp:257
SoVRMLAudioClip::tell
long tell(void *datasource)
Definition: AudioClip.cpp:523
SoVRMLAudioClip::SoVRMLAudioClip
SoVRMLAudioClip(void)
Definition: AudioClip.cpp:321
SoNode
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
SoVertexProperty::normalBinding
SoSFEnum normalBinding
Definition: SoVertexProperty.h:57
SoAction::PathCode
PathCode
Definition: SoAction.h:70
SoMField::get1
void get1(const int index, SbString &valuestring)
Definition: SoMField.cpp:382
SoHandleEventAction
The SoHandleEventAction class distributes user events to the scene.
Definition: SoHandleEventAction.h:36
SoVRMLAnchor::SoVRMLAnchor
SoVRMLAnchor(void)
Definition: Anchor.cpp:205
SbTime::getTimeOfDay
static SbTime getTimeOfDay(void)
Definition: SbTime.cpp:139
SoVRMLAppearance::copyContents
virtual void copyContents(const SoFieldContainer *from, SbBool copyConn)
Definition: Appearance.cpp:290
SoChildList::traverse
void traverse(SoAction *const action)
Definition: SoChildList.cpp:404
SoEvent
The SoEvent class is the base class for all Coin events.
Definition: SoEvent.h:34
SbString::getLength
int getLength(void) const
Definition: SbString.h:63
SoShapeHints
The SoShapeHints class is a node containing hints about how to render geometry.
Definition: SoShapeHints.h:32
SoVRMLAudioClip::read
size_t read(void *datasource, void *buffer, int numframes, int &channels)
Definition: AudioClip.cpp:569
SoVRMLAnchor::bboxCenter
SoSFVec3f bboxCenter
Definition: SoVRMLAnchor.h:51
SoVertexShape::vertexProperty
SoSFNode vertexProperty
Definition: SoVertexShape.h:50
SbThreadAutoLock
Simple convenience class for locking access to a function.
Definition: SbThreadAutoLock.h:30
SoNotList
The SoNotList class is a list of SoNotRec notification records.
Definition: SoNotification.h:34
SoVRMLAppearance::search
virtual void search(SoSearchAction *action)
Definition: Appearance.cpp:250
SoGLRenderAction
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:39
SbPList::getArrayPtr
void ** getArrayPtr(const int start=0) const
Definition: SbPList.h:110
SoVRMLAudioClip::open
void * open(const SbStringList &url)
Definition: AudioClip.cpp:491
SoVRMLTexture::repeatT
SoSFBool repeatT
Definition: SoVRMLTexture.h:40
SoVRMLAudioClip::loop
SoSFBool loop
Definition: SoVRMLAudioClip.h:61
SoVRMLAppearance::texture
SoSFNode texture
Definition: SoVRMLAppearance.h:44
SoChildList::traverseInPath
void traverseInPath(SoAction *const action, const int numindices, const int *indices)
Definition: SoChildList.cpp:253
SoVRMLAudioClip::close
int close(void *datasource)
Definition: AudioClip.cpp:539
SoNode::copyContents
virtual void copyContents(const SoFieldContainer *from, SbBool copyconnections)
Definition: SoNode.cpp:1382
SoSearchAction::isFound
SbBool isFound(void) const
Definition: SoSearchAction.cpp:376
SoVRMLAudioClip::isActive
SoSFBool isActive
Definition: SoVRMLAudioClip.h:92

Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.

Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18