49 #define cc_min(x, y) (((x) < (y)) ? (x) : (y))
50 #define cc_max(x, y) (((x) > (y)) ? (x) : (y))
65 #include <Inventor/system/inttypes.h>
79 #define M_E 2.7182818284590452354
82 #define M_LOG2E 1.4426950408889634074
85 #define M_LOG10E 0.43429448190325182765
88 #define M_LN2 0.69314718055994530942
91 #define M_LN10 2.30258509299404568402
94 #define M_PI 3.14159265358979323846
97 #define M_TWOPI (M_PI * 2.0)
100 #define M_PI_2 1.57079632679489661923
103 #define M_PI_4 0.78539816339744830962
106 #define M_3PI_4 2.3561944901923448370E0
109 #define M_SQRTPI 1.77245385090551602792981
112 #define M_1_PI 0.31830988618379067154
115 #define M_2_PI 0.63661977236758134308
118 #define M_2_SQRTPI 1.12837916709551257390
121 #define M_SQRT2 1.41421356237309504880
124 #define M_SQRT1_2 0.70710678118654752440
127 #define M_LN2LO 1.9082149292705877000E-10
130 #define M_LN2HI 6.9314718036912381649E-1
133 #define M_SQRT3 1.73205080756887719000
136 #define M_IVLN10 0.43429448190325182765
139 #define M_LOG2_E 0.693147180559945309417
142 #define M_INVLN2 1.4426950408889633870E0
163 #define COIN_MAJOR_VERSION 2
164 #define COIN_MINOR_VERSION 5
165 #define COIN_MICRO_VERSION 0
167 #define COIN_VERSION "2.5.0"
175 #define HAVE_HASH_QUOTING 1
199 #define cosf(x) NO_SINGLEPREC
202 #define sinf(x) NO_SINGLEPREC
205 #define tanf(x) NO_SINGLEPREC
208 #define powf(x) NO_SINGLEPREC
211 #define sqrtf(x) NO_SINGLEPREC
214 #define acosf(x) NO_SINGLEPREC
217 #define asinf(x) NO_SINGLEPREC
220 #define atanf(x) NO_SINGLEPREC
223 #define atan2f(x) NO_SINGLEPREC
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
239 #error No valid way to do macro quoting!
247 # error Leave the internal COIN_DLL_API define alone.
251 # error The COIN_NOT_DLL define is not supposed to be used when building the library, only when building Win32 applications.
254 # error The COIN_DLL define is not supposed to be used when building the library, only when building Win32 applications.
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)
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.
299 # define COIN_DLL_API __declspec(dllimport)
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.
310 # define COIN_DLL_API
SoSFString description
Definition: SoVRMLAnchor.h:48
int getLength(void) const
Definition: SbPList.h:94
SoMFInt32 normalIndex
Definition: SoIndexedShape.h:44
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:33
static SoType getClassTypeId(void)
Definition: Background.cpp:269
SoSFBool repeatS
Definition: SoVRMLTexture.h:39
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
int getNum(void) const
Definition: SoMField.h:86
virtual void search(SoSearchAction *action)
Definition: SoNode.cpp:1120
SbBool hasTerminated(void) const
Definition: SoAction.cpp:1018
SoSFFloat nearDistance
Definition: SoCamera.h:74
void pop(void)
Definition: SoState.cpp:284
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:37
The SoIndexedFaceSet class is used to handle generic indexed facesets.
Definition: SoIndexedFaceSet.h:36
The SoChildList class is a container for node children.
Definition: SoChildList.h:33
static SoAudioDevice * instance()
Definition: SoAudioDevice.cpp:99
The SoSensor class is the abstract base class for all sensors.
Definition: SoSensor.h:34
virtual void notify(SoNotList *l)
Definition: SoNode.cpp:423
The SoIndexedTriangleStripSet class keeps data for rendering and otherwise representing triangle stri...
Definition: SoIndexedTriangleStripSet.h:36
virtual void GLRender(SoGLRenderAction *action)
Definition: SoNode.cpp:904
@ COUNTERCLOCKWISE
Definition: SoShapeHints.h:44
void truncate(const int length, const int dofit=0)
Definition: SbList.h:149
SoMFInt32 coordIndex
Definition: SoIndexedShape.h:42
SbBool enableNotify(const SbBool flag)
Definition: SoFieldContainer.cpp:443
void push(void)
Definition: SoState.cpp:265
static void setFetchURLCallBack(SoVRMLAnchorCB *, void *closure)
Definition: Anchor.cpp:228
void setCallbacks(open_func *opencb, read_func *readcb, seek_func *seekcb, tell_func *tellcb, close_func *closecb, void *userdataptr)
Definition: AudioClip.cpp:476
int unlock(void)
Definition: SbMutex.h:41
virtual void doAction(SoAction *action)
Definition: Appearance.cpp:162
The SoVRMLAnchor class is used for linking to other URL resources.
Definition: SoVRMLAnchor.h:38
The SoSearchAction class provides methods for searching through scene graphs.
Definition: SoSearchAction.h:32
static void postWarning(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:324
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:67
virtual void GLRender(SoGLRenderAction *action)
Definition: Appearance.cpp:183
int lock(void)
Definition: SbMutex.h:35
The SoScale class is a node type for scaling scene graph geometry.
Definition: SoScale.h:31
virtual SoChildList * getChildren(void) const
Definition: Appearance.cpp:259
SoSFFloat transparency
Definition: SoVRMLMaterial.h:48
static void updateChildList(const SoNode *const *nodes, const int numnodes, SoChildList &cl)
Definition: Parent.cpp:378
virtual void addChild(SoNode *node)
Definition: SoGroup.cpp:393
SoSFEnum model
Definition: SoLightModel.h:45
void append(const Type item)
Definition: SbList.h:98
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:42
SoSFVec3f bboxSize
Definition: SoVRMLAnchor.h:52
SoSFEnum materialBinding
Definition: SoVertexProperty.h:59
@ SOLID
Definition: SoShapeHints.h:49
virtual ~SoVRMLAnchor()
Definition: Anchor.cpp:220
static void addMethod(const SoType type, SoActionMethod method)
Definition: SoGetBoundingBoxAction.cpp:211
The SbStringList class is a container for arrays of SbString pointers.
Definition: SbStringList.h:31
void popPushCurPath(const int childindex, SoNode *node=NULL)
Definition: SoAction.cpp:1132
@ CLOCKWISE
Definition: SoShapeHints.h:43
virtual void handleEvent(SoHandleEventAction *action)
Definition: SoGroup.cpp:613
SbBool abortNow(void)
Definition: SoGLRenderAction.cpp:1112
void unref(void) const
Definition: SoBase.cpp:627
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:37
The SoField class is the top-level abstract base class for fields.
Definition: SoField.h:38
SoMFUInt32 orderedRGBA
Definition: SoVertexProperty.h:58
The SoVRMLBackground class is used for specifying a viewer panorama.
Definition: SoVRMLBackground.h:36
The SoVRMLMaterial class is used to assign a material to geometry.
Definition: SoVRMLMaterial.h:34
SbRotation inverse(void) const
Definition: SbRotation.cpp:316
static void postInfo(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:334
SoSFTime startTime
Definition: SoVRMLAudioClip.h:63
virtual ~SoVRMLAppearance()
Definition: Appearance.cpp:154
SoSFEnum vertexOrdering
Definition: SoShapeHints.h:57
int getLength(void) const
Definition: SbList.h:145
virtual ~SoVRMLBackground()
Definition: Background.cpp:459
SoSFVec3f scaleFactor
Definition: SoScale.h:40
virtual void GLRender(SoGLRenderAction *action)
Definition: Background.cpp:486
@ BASE_COLOR
Definition: SoLightModel.h:41
The SoVRMLAudioClip class is used to load and store audio data.
Definition: SoVRMLAudioClip.h:39
virtual void callback(SoCallbackAction *action)
Definition: Appearance.cpp:176
void popCurPath(const PathCode prevpathcode)
Definition: SoAction.h:165
The SoLightModel class is a node for specifying the model for geometry lighting.
Definition: SoLightModel.h:31
SoMFString parameter
Definition: SoVRMLAnchor.h:49
SoSFString description
Definition: SoVRMLAudioClip.h:60
PathCode getPathCode(int &numindices, const int *&indices)
Definition: SoAction.cpp:890
SbString format(const char *const fmt="%S.%i") const
Definition: SbTime.cpp:381
The SoTimerSensor class is a sensor which will trigger at given intervals.
Definition: SoTimerSensor.h:29
SoState * getState(void) const
Definition: SoAction.cpp:1028
The SoVRMLImageTexture class is used for mapping a texture file onto geometry.
Definition: SoVRMLImageTexture.h:39
The SoMFString class is a container for SbString values.
Definition: SoMFString.h:31
The SoFieldContainer class is a base class for all classes that contain fields.
Definition: SoFieldContainer.h:35
SoSFTime stopTime
Definition: SoVRMLAudioClip.h:64
void ref(void) const
Definition: SoBase.cpp:574
SoSFEnum shapeType
Definition: SoShapeHints.h:58
The SoVRMLAppearance class specifies visual properties for shapes.
Definition: SoVRMLAppearance.h:33
SoSFEnum faceType
Definition: SoShapeHints.h:59
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
virtual void handleEvent(SoHandleEventAction *action)
Definition: Anchor.cpp:236
SoMFInt32 textureCoordIndex
Definition: SoIndexedShape.h:45
SoMFVec3f normal
Definition: SoVertexProperty.h:56
virtual SoType getTypeId(void) const =0
The SoCallbackAction class invokes callbacks at specific nodes.
Definition: SoCallbackAction.h:70
The SoPerspectiveCamera class defines a camera node with perspective rendering.
Definition: SoPerspectiveCamera.h:30
@ PER_VERTEX_INDEXED
Definition: SoMaterialBinding.h:47
virtual ~SoVRMLAudioClip()
Definition: AudioClip.cpp:401
SoSFFloat pitch
Definition: SoVRMLAudioClip.h:62
SoMFString url
Definition: SoVRMLAnchor.h:47
PathCode getCurPathCode(void) const
Definition: SoAction.h:159
A basic class for managing a mutex.
Definition: SbMutex.h:30
SoMFVec3f vertex
Definition: SoVertexProperty.h:53
SoVRMLAppearance(void)
Definition: Appearance.cpp:136
int seek(void *datasource, long offset, int whence)
Definition: AudioClip.cpp:506
virtual void notify(SoNotList *list)
Definition: Appearance.cpp:279
static void init(void)
Definition: SoDB.cpp:548
SoMFString url
Definition: SoVRMLAudioClip.h:65
The SoVertexProperty class collects the functionality of various appearance nodes.
Definition: SoVertexProperty.h:33
The SoFieldSensor class detects changes to a field.
Definition: SoFieldSensor.h:29
SoMFInt32 materialIndex
Definition: SoIndexedShape.h:43
SoSFNode material
Definition: SoVRMLAppearance.h:43
SoSFTime duration_changed
Definition: SoVRMLAudioClip.h:91
@ CONVEX
Definition: SoShapeHints.h:54
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:34
float normalize(void)
Definition: SbVec3f.cpp:436
virtual SbBool affectsState(void) const
Definition: SoNode.cpp:783
void pushCurPath(const int childindex, SoNode *node=NULL)
Definition: SoAction.cpp:919
static SoSeparator * readAll(SoInput *in)
Definition: SoDB.cpp:1048
SoSFNode textureTransform
Definition: SoVRMLAppearance.h:45
SoVRMLBackground(void)
Definition: Background.cpp:382
const SoEvent * getEvent(void) const
Definition: SoHandleEventAction.cpp:196
The SbTime class instances represents time values.
Definition: SbTime.h:41
SoField * getLastField(void) const
Definition: SoNotification.cpp:167
virtual SoNode * getChild(int index) const
Definition: SoGroup.cpp:257
long tell(void *datasource)
Definition: AudioClip.cpp:523
SoVRMLAudioClip(void)
Definition: AudioClip.cpp:321
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
SoSFEnum normalBinding
Definition: SoVertexProperty.h:57
PathCode
Definition: SoAction.h:70
void get1(const int index, SbString &valuestring)
Definition: SoMField.cpp:382
The SoHandleEventAction class distributes user events to the scene.
Definition: SoHandleEventAction.h:36
SoVRMLAnchor(void)
Definition: Anchor.cpp:205
static SbTime getTimeOfDay(void)
Definition: SbTime.cpp:139
virtual void copyContents(const SoFieldContainer *from, SbBool copyConn)
Definition: Appearance.cpp:290
void traverse(SoAction *const action)
Definition: SoChildList.cpp:404
The SoEvent class is the base class for all Coin events.
Definition: SoEvent.h:34
int getLength(void) const
Definition: SbString.h:63
The SoShapeHints class is a node containing hints about how to render geometry.
Definition: SoShapeHints.h:32
size_t read(void *datasource, void *buffer, int numframes, int &channels)
Definition: AudioClip.cpp:569
SoSFVec3f bboxCenter
Definition: SoVRMLAnchor.h:51
SoSFNode vertexProperty
Definition: SoVertexShape.h:50
Simple convenience class for locking access to a function.
Definition: SbThreadAutoLock.h:29
The SoNotList class is a list of SoNotRec notification records.
Definition: SoNotification.h:34
virtual void search(SoSearchAction *action)
Definition: Appearance.cpp:250
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:39
void ** getArrayPtr(const int start=0) const
Definition: SbPList.h:110
void * open(const SbStringList &url)
Definition: AudioClip.cpp:491
SoSFBool repeatT
Definition: SoVRMLTexture.h:40
SoSFBool loop
Definition: SoVRMLAudioClip.h:61
SoSFNode texture
Definition: SoVRMLAppearance.h:44
void traverseInPath(SoAction *const action, const int numindices, const int *indices)
Definition: SoChildList.cpp:253
int close(void *datasource)
Definition: AudioClip.cpp:539
virtual void copyContents(const SoFieldContainer *from, SbBool copyconnections)
Definition: SoNode.cpp:1382
SbBool isFound(void) const
Definition: SoSearchAction.cpp:376
SoSFBool isActive
Definition: SoVRMLAudioClip.h:92
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17