Open Inventor Reference
SbLinear.h File Reference
#include <Inventor/system/SbSystem.h>
#include <math.h>
#include <Inventor/SbBasic.h>

Go to the source code of this file.

Classes

class  SbVec3f
 3D vector class. More...
 
class  SbVec2f
 2D vector class. More...
 
class  SbVec2s
 2D vector class. More...
 
class  SbVec3s
 3D vector used to represet points or directions. More...
 
class  SbVec4f
 4D vector class. More...
 
class  SbRotation
 Class for representing a rotation. More...
 
class  SbMatrix
 4x4 matrix class. More...
 
class  SbViewVolume
 3D viewing volume class. More...
 
class  SbLine
 Directed line in 3D. More...
 
class  SbPlane
 Oriented plane in 3D. More...
 
class  SbCylinder
 Class for representing a cylinder. More...
 
class  SbSphere
 Class for representing a sphere. More...
 

Typedefs

typedef float SbMat[4][4]
 

Functions

INVENTOR_API SbVec3f operator* (const SbVec3f &v, float d)
 
INVENTOR_API SbVec3f operator* (float d, const SbVec3f &v)
 
INVENTOR_API SbVec3f operator/ (const SbVec3f &v, float d)
 
INVENTOR_API SbVec3f operator+ (const SbVec3f &v1, const SbVec3f &v2)
 
INVENTOR_API SbVec3f operator- (const SbVec3f &v1, const SbVec3f &v2)
 
INVENTOR_API bool operator== (const SbVec3f &v1, const SbVec3f &v2)
 
INVENTOR_API bool operator!= (const SbVec3f &v1, const SbVec3f &v2)
 
INVENTOR_API SbVec2f operator* (const SbVec2f &v, float d)
 
INVENTOR_API SbVec2f operator* (float d, const SbVec2f &v)
 
INVENTOR_API SbVec2f operator/ (const SbVec2f &v, float d)
 
INVENTOR_API SbVec2f operator+ (const SbVec2f &v1, const SbVec2f &v2)
 
INVENTOR_API SbVec2f operator- (const SbVec2f &v1, const SbVec2f &v2)
 
INVENTOR_API bool operator== (const SbVec2f &v1, const SbVec2f &v2)
 
INVENTOR_API bool operator!= (const SbVec2f &v1, const SbVec2f &v2)
 
INVENTOR_API SbVec2s operator* (const SbVec2s &v, int d)
 
INVENTOR_API SbVec2s operator* (const SbVec2s &v, double d)
 
INVENTOR_API SbVec2s operator* (int d, const SbVec2s &v)
 
INVENTOR_API SbVec2s operator* (double d, const SbVec2s &v)
 
INVENTOR_API SbVec2s operator/ (const SbVec2s &v, int d)
 
INVENTOR_API SbVec2s operator/ (const SbVec2s &v, double d)
 
INVENTOR_API SbVec2s operator+ (const SbVec2s &v1, const SbVec2s &v2)
 
INVENTOR_API SbVec2s operator- (const SbVec2s &v1, const SbVec2s &v2)
 
INVENTOR_API bool operator== (const SbVec2s &v1, const SbVec2s &v2)
 
INVENTOR_API bool operator!= (const SbVec2s &v1, const SbVec2s &v2)
 
INVENTOR_API SbVec3s operator* (const SbVec3s &v, int d)
 
INVENTOR_API SbVec3s operator* (const SbVec3s &v, double d)
 
INVENTOR_API SbVec3s operator* (int d, const SbVec3s &v)
 
INVENTOR_API SbVec3s operator* (double d, const SbVec3s &v)
 
INVENTOR_API SbVec3s operator/ (const SbVec3s &v, int d)
 
INVENTOR_API SbVec3s operator/ (const SbVec3s &v, double d)
 
INVENTOR_API SbVec3s operator+ (const SbVec3s &v1, const SbVec3s &v2)
 
INVENTOR_API SbVec3s operator- (const SbVec3s &v1, const SbVec3s &v2)
 
INVENTOR_API bool operator== (const SbVec3s &v1, const SbVec3s &v2)
 
INVENTOR_API bool operator!= (const SbVec3s &v1, const SbVec3s &v2)
 
INVENTOR_API SbVec4f operator* (const SbVec4f &v, float d)
 
INVENTOR_API SbVec4f operator* (float d, const SbVec4f &v)
 
INVENTOR_API SbVec4f operator/ (const SbVec4f &v, float d)
 
INVENTOR_API SbVec4f operator+ (const SbVec4f &v1, const SbVec4f &v2)
 
INVENTOR_API SbVec4f operator- (const SbVec4f &v1, const SbVec4f &v2)
 
INVENTOR_API bool operator== (const SbVec4f &v1, const SbVec4f &v2)
 
INVENTOR_API bool operator!= (const SbVec4f &v1, const SbVec4f &v2)
 
INVENTOR_API bool operator== (const SbRotation &q1, const SbRotation &q2)
 
INVENTOR_API bool operator!= (const SbRotation &q1, const SbRotation &q2)
 
INVENTOR_API SbRotation operator* (const SbRotation &q1, const SbRotation &q2)
 
INVENTOR_API SbMatrix operator* (const SbMatrix &m1, const SbMatrix &m2)
 
INVENTOR_API bool operator== (const SbMatrix &m1, const SbMatrix &m2)
 
INVENTOR_API bool operator!= (const SbMatrix &m1, const SbMatrix &m2)
 
INVENTOR_API bool operator== (const SbPlane &p1, const SbPlane &p2)
 Equality/inequality comparison operators.
 
INVENTOR_API bool operator!= (const SbPlane &p1, const SbPlane &p2)
 

Typedef Documentation

◆ SbMat

typedef float SbMat[4][4]

Types/classes defined in this file:


Definition at line 84 of file SbLinear.h.

Function Documentation

◆ operator!=() [1/8]

INVENTOR_API bool operator!= ( const SbMatrix m1,
const SbMatrix m2 
)
inline

Definition at line 1038 of file SbLinear.h.

◆ operator!=() [2/8]

INVENTOR_API bool operator!= ( const SbPlane p1,
const SbPlane p2 
)
inline

Definition at line 1416 of file SbLinear.h.

◆ operator!=() [3/8]

INVENTOR_API bool operator!= ( const SbRotation q1,
const SbRotation q2 
)
inline

Definition at line 802 of file SbLinear.h.

◆ operator!=() [4/8]

INVENTOR_API bool operator!= ( const SbVec2f v1,
const SbVec2f v2 
)
inline

Definition at line 334 of file SbLinear.h.

◆ operator!=() [5/8]

INVENTOR_API bool operator!= ( const SbVec2s v1,
const SbVec2s v2 
)
inline

Definition at line 442 of file SbLinear.h.

◆ operator!=() [6/8]

INVENTOR_API bool operator!= ( const SbVec3f v1,
const SbVec3f v2 
)
inline

Definition at line 225 of file SbLinear.h.

◆ operator!=() [7/8]

INVENTOR_API bool operator!= ( const SbVec3s v1,
const SbVec3s v2 
)
inline

Definition at line 540 of file SbLinear.h.

◆ operator!=() [8/8]

INVENTOR_API bool operator!= ( const SbVec4f v1,
const SbVec4f v2 
)
inline

Definition at line 653 of file SbLinear.h.

◆ operator*() [1/16]

INVENTOR_API SbMatrix operator* ( const SbMatrix m1,
const SbMatrix m2 
)

◆ operator*() [2/16]

INVENTOR_API SbRotation operator* ( const SbRotation q1,
const SbRotation q2 
)

◆ operator*() [3/16]

INVENTOR_API SbVec2f operator* ( const SbVec2f v,
float  d 
)

◆ operator*() [4/16]

INVENTOR_API SbVec2s operator* ( const SbVec2s v,
double  d 
)

◆ operator*() [5/16]

INVENTOR_API SbVec2s operator* ( const SbVec2s v,
int  d 
)

◆ operator*() [6/16]

INVENTOR_API SbVec3f operator* ( const SbVec3f v,
float  d 
)

◆ operator*() [7/16]

INVENTOR_API SbVec3s operator* ( const SbVec3s v,
double  d 
)

◆ operator*() [8/16]

INVENTOR_API SbVec3s operator* ( const SbVec3s v,
int  d 
)

◆ operator*() [9/16]

INVENTOR_API SbVec4f operator* ( const SbVec4f v,
float  d 
)

◆ operator*() [10/16]

INVENTOR_API SbVec2s operator* ( double  d,
const SbVec2s v 
)
inline

Definition at line 432 of file SbLinear.h.

◆ operator*() [11/16]

INVENTOR_API SbVec3s operator* ( double  d,
const SbVec3s v 
)
inline

Definition at line 530 of file SbLinear.h.

◆ operator*() [12/16]

INVENTOR_API SbVec2f operator* ( float  d,
const SbVec2f v 
)
inline

Definition at line 324 of file SbLinear.h.

◆ operator*() [13/16]

INVENTOR_API SbVec3f operator* ( float  d,
const SbVec3f v 
)
inline

Definition at line 217 of file SbLinear.h.

◆ operator*() [14/16]

INVENTOR_API SbVec4f operator* ( float  d,
const SbVec4f v 
)
inline

Definition at line 643 of file SbLinear.h.

◆ operator*() [15/16]

INVENTOR_API SbVec2s operator* ( int  d,
const SbVec2s v 
)
inline

Definition at line 430 of file SbLinear.h.

◆ operator*() [16/16]

INVENTOR_API SbVec3s operator* ( int  d,
const SbVec3s v 
)
inline

Definition at line 528 of file SbLinear.h.

◆ operator+() [1/5]

INVENTOR_API SbVec2f operator+ ( const SbVec2f v1,
const SbVec2f v2 
)

◆ operator+() [2/5]

INVENTOR_API SbVec2s operator+ ( const SbVec2s v1,
const SbVec2s v2 
)

◆ operator+() [3/5]

INVENTOR_API SbVec3f operator+ ( const SbVec3f v1,
const SbVec3f v2 
)

◆ operator+() [4/5]

INVENTOR_API SbVec3s operator+ ( const SbVec3s v1,
const SbVec3s v2 
)

◆ operator+() [5/5]

INVENTOR_API SbVec4f operator+ ( const SbVec4f v1,
const SbVec4f v2 
)

◆ operator-() [1/5]

INVENTOR_API SbVec2f operator- ( const SbVec2f v1,
const SbVec2f v2 
)

◆ operator-() [2/5]

INVENTOR_API SbVec2s operator- ( const SbVec2s v1,
const SbVec2s v2 
)

◆ operator-() [3/5]

INVENTOR_API SbVec3f operator- ( const SbVec3f v1,
const SbVec3f v2 
)

◆ operator-() [4/5]

INVENTOR_API SbVec3s operator- ( const SbVec3s v1,
const SbVec3s v2 
)

◆ operator-() [5/5]

INVENTOR_API SbVec4f operator- ( const SbVec4f v1,
const SbVec4f v2 
)

◆ operator/() [1/7]

INVENTOR_API SbVec2f operator/ ( const SbVec2f v,
float  d 
)
inline

Definition at line 326 of file SbLinear.h.

◆ operator/() [2/7]

INVENTOR_API SbVec2s operator/ ( const SbVec2s v,
double  d 
)
inline

Definition at line 435 of file SbLinear.h.

◆ operator/() [3/7]

INVENTOR_API SbVec2s operator/ ( const SbVec2s v,
int  d 
)

◆ operator/() [4/7]

INVENTOR_API SbVec3f operator/ ( const SbVec3f v,
float  d 
)
inline

Definition at line 219 of file SbLinear.h.

◆ operator/() [5/7]

INVENTOR_API SbVec3s operator/ ( const SbVec3s v,
double  d 
)
inline

Definition at line 533 of file SbLinear.h.

◆ operator/() [6/7]

INVENTOR_API SbVec3s operator/ ( const SbVec3s v,
int  d 
)

◆ operator/() [7/7]

INVENTOR_API SbVec4f operator/ ( const SbVec4f v,
float  d 
)
inline

Definition at line 645 of file SbLinear.h.

◆ operator==() [1/8]

INVENTOR_API bool operator== ( const SbMatrix m1,
const SbMatrix m2 
)

◆ operator==() [2/8]

INVENTOR_API bool operator== ( const SbPlane p1,
const SbPlane p2 
)

◆ operator==() [3/8]

INVENTOR_API bool operator== ( const SbRotation q1,
const SbRotation q2 
)

◆ operator==() [4/8]

INVENTOR_API bool operator== ( const SbVec2f v1,
const SbVec2f v2 
)

◆ operator==() [5/8]

INVENTOR_API bool operator== ( const SbVec2s v1,
const SbVec2s v2 
)

◆ operator==() [6/8]

INVENTOR_API bool operator== ( const SbVec3f v1,
const SbVec3f v2 
)

◆ operator==() [7/8]

INVENTOR_API bool operator== ( const SbVec3s v1,
const SbVec3s v2 
)

◆ operator==() [8/8]

INVENTOR_API bool operator== ( const SbVec4f v1,
const SbVec4f v2 
)