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 using double precision coordinates.
Definition: SbDPLine.h:41
The SbVec3d class is a 3 dimensional vector with double precision floating point coordinates.
Definition: SbVec3d.h:50
int operator==(const SbBox2s &b1, const SbBox2s &b2)
Definition: SbBox2s.h:102
int operator!=(const SbBox2s &b1, const SbBox2s &b2)
Definition: SbBox2s.h:106
The SbDPRotation class represents a rotation in 3D space using double precision data.
Definition: SbDPRotation.h:42
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:47
The SbVec4d class is a 4 dimensional vector with double precision floating point coordinates.
Definition: SbVec4d.h:49
SbVec2s operator*(const SbVec2s &v, int d)
The SbDPMatrix class is a 4x4 dimensional representation of a double-precision matrix.
Definition: SbDPMatrix.h:47