Open Inventor Reference
MeVis/ThirdParty/Sources/Inventor/inventor/lib/database/include/Inventor/SbBasic.h File Reference
#include <Inventor/system/SbSystem.h>
#include <inttypes.h>
#include <stdint.h>
#include <sys/types.h>
#include <stdio.h>

Go to the source code of this file.

Defines

#define SO_VERSION   2
 These symbols can be used to determine what version of Inventor your application is compiling against.
#define SO_VERSION_REVISION   5
#define SO_VERSION_PATCHLEVEL   0
#define SGI_VERSION   20500
#define FALSE   0
#define TRUE   1
#define SoEXTENDER
 Provide inline template functions for abs, swap, min, max, and clamp.
#define SoINTERNAL
#define M_E   2.7182818284590452354
#define M_LOG2E   1.4426950408889634074
#define M_LOG10E   0.43429448190325182765
#define M_LN2   0.69314718055994530942
#define M_LN10   2.30258509299404568402
#define M_PI   3.14159265358979323846
#define M_PI_2   1.57079632679489661923
#define M_PI_4   0.78539816339744830962
#define M_1_PI   0.31830988618379067154
#define M_2_PI   0.63661977236758134308
#define M_2_SQRTPI   1.12837916709551257390
#define M_SQRT2   1.41421356237309504880
#define M_SQRT1_2   0.70710678118654752440
#define MAXFLOAT   ((float)3.40282346638528860e+38)

Typedefs

typedef int SbBool
 This typedef is used to represent the Boolean values TRUE and FALSE.

Define Documentation

#define M_1_PI   0.31830988618379067154

Definition at line 180 of file SbBasic.h.

#define M_2_PI   0.63661977236758134308

Definition at line 183 of file SbBasic.h.

#define M_2_SQRTPI   1.12837916709551257390

Definition at line 186 of file SbBasic.h.

#define M_E   2.7182818284590452354

Definition at line 156 of file SbBasic.h.

#define M_LN10   2.30258509299404568402

Definition at line 168 of file SbBasic.h.

#define M_LN2   0.69314718055994530942

Definition at line 165 of file SbBasic.h.

#define M_LOG10E   0.43429448190325182765

Definition at line 162 of file SbBasic.h.

#define M_LOG2E   1.4426950408889634074

Definition at line 159 of file SbBasic.h.

#define M_PI   3.14159265358979323846

Definition at line 171 of file SbBasic.h.

#define M_PI_2   1.57079632679489661923

Definition at line 174 of file SbBasic.h.

#define M_PI_4   0.78539816339744830962

Definition at line 177 of file SbBasic.h.

#define M_SQRT1_2   0.70710678118654752440

Definition at line 192 of file SbBasic.h.

#define M_SQRT2   1.41421356237309504880

Definition at line 189 of file SbBasic.h.

#define MAXFLOAT   ((float)3.40282346638528860e+38)

Definition at line 195 of file SbBasic.h.

#define SGI_VERSION   20500

Definition at line 68 of file SbBasic.h.

#define SO_VERSION   2

These symbols were first added with Inventor 2.1 (SO_VERSION==2, SO_VERSION_REVISION==1); they were undefined in previous revisions of Inventor.

Definition at line 65 of file SbBasic.h.

#define SO_VERSION_PATCHLEVEL   0

Definition at line 67 of file SbBasic.h.

#define SO_VERSION_REVISION   5

Definition at line 66 of file SbBasic.h.

#define SoEXTENDER

These symbols are used in Inventor header files to distinguish between varying levels of use of classes and members.

Types of classes are:

"class" means a public class intended for use by all users. "SoEXTENDER class" indicates a class that is used only by people extending the set of Inventor classes. "SoINTERNAL class" means that the class is used only by Inventor developers at Silicon Graphics.

Types of member variables and methods are:

"public:" members are used by everybody. "SoEXTENDER public:" members are used when extending Inventor. "SoINTERNAL public:" members are for SGI Inventor developers only.

"protected:" members are for people extending Inventor classes. (The "SoEXTENDER" is implied.) "SoINTERNAL protected:" members are for SGI use only.

"private:" members are private, dammit.

Definition at line 152 of file SbBasic.h.

#define SoINTERNAL

Definition at line 153 of file SbBasic.h.


Typedef Documentation

typedef int SbBool

SbBool is not a class and does not have any methods or variables.

Definition at line 88 of file SbBasic.h.