1 #ifndef COIN_SBDPMATRIX_H 2 #define COIN_SBDPMATRIX_H 37 #include <Inventor/SbBasic.h> 45 typedef double SbDPMat[4][4];
50 SbDPMatrix(
const double a11,
const double a12,
const double a13,
const double a14,
51 const double a21,
const double a22,
const double a23,
const double a24,
52 const double a31,
const double a32,
const double a33,
const double a34,
53 const double a41,
const double a42,
const double a43,
const double a44);
59 void setValue(
const SbDPMat & m);
61 void setValue(
const double * pMat);
62 const SbDPMat & getValue(
void)
const;
64 void makeIdentity(
void);
67 double det3(
int r1,
int r2,
int r3,
68 int c1,
int c2,
int c3)
const;
69 double det3(
void)
const;
70 double det4(
void)
const;
72 SbBool equals(
const SbDPMatrix & m,
double tolerance)
const;
75 void getValue(SbDPMat & m)
const;
77 void setScale(
const double s);
78 void setScale(
const SbVec3d & s);
79 void setTranslate(
const SbVec3d & t);
83 void setTransform(
const SbVec3d & translation,
93 SbBool LUDecomposition(
int index[4],
double & d);
94 void LUBackSubstitution(
int index[4],
double b[4])
const;
104 void print(FILE * fp)
const;
106 operator double*(void);
107 operator SbDPMat&(void);
108 double * operator [](
int i);
109 const double * operator [](
int i)
const;
122 void operator /=(
const double v);
123 void operator *=(
const double v);
132 #endif // !COIN_SBDPMATRIX_H The SbDPLine class represents a line in 3D space.SbDPLine is used by many other classes in Coin...
Definition: SbDPLine.h:41
The SbVec3d class is a 3 dimensional vector with double precision floating point coordinates.This vector class provides storage for a 3 dimensional double precision floating point vector aswell as simple floating point arithmetic operations.
Definition: SbVec3d.h:50
The SbDPRotation class represents a rotation in 3D space.SbDPRotation is used extensively throughout ...
Definition: SbDPRotation.h:42
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:46
The SbVec4d class is a 4 dimensional vector with double precision floating point coordinates.This vector class is not by many other classes in Coin. It provides storage for a 3 dimensional homogeneoues vector (with the 4 components usually referred to as <x, y, z, w>) aswell as simple double precision floating point arithmetic operations.
Definition: SbVec4d.h:49
The SbDPMatrix class is a 4x4 dimensional representation of a double-precision matrix.This class is like the SbMatrix class, but uses double-precision floating point values for its elements. For more class documentation, see SbMatrix.
Definition: SbDPMatrix.h:47