#include <ossimMatrix4x4.h>
|
| ossimMatrix4x4 () |
|
| ossimMatrix4x4 (const NEWMAT::Matrix &m) |
|
| ossimMatrix4x4 (double v00, double v01, double v02, double v03, double v10, double v11, double v12, double v13, double v20, double v21, double v22, double v23, double v30, double v31, double v32, double v33) |
|
| ossimMatrix4x4 (const ossim::Quaternion &quat) |
|
| ossimMatrix4x4 (const ossimMatrix4x4 &rhs) |
|
void | makeRotate (const ossim::Quaternion &quat) |
|
void | setRotate (const ossim::Quaternion &quat) |
|
ossim::Quaternion | getRotate () const |
|
void | getRotate (ossim::Quaternion &quat) const |
|
ossimMatrix4x4 | operator+ (const ossimMatrix4x4 &rhs) const |
|
ossimMatrix4x4 | operator- (const ossimMatrix4x4 &rhs) const |
|
ossimColumnVector4d | rotateOnly (const ossimColumnVector4d &rhs) const |
|
ossimColumnVector3d | rotateOnly (const ossimColumnVector3d &rhs) const |
|
ossimMatrix4x4 | operator* (double scalar) const |
|
ossimMatrix4x4 | operator* (const ossimMatrix4x4 &rhs) const |
|
ossimMatrix4x4 & | i () |
|
ossimMatrix4x4 & | t () |
|
double | getDeterminant () const |
|
ossimColumnVector3d | getEigenValues () const |
|
bool | isEqualTo (const ossimMatrix4x4 &rhs, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
|
void | setZero () |
|
void | setIdentity () |
|
const NEWMAT::Matrix & | getData () const |
|
NEWMAT::Matrix & | getData () |
|
|
static NEWMAT::Matrix | createIdentity () |
|
static NEWMAT::Matrix | createRotateOnly (const ossimMatrix4x4 &aMatrix) |
|
static NEWMAT::Matrix | createZero () |
|
static NEWMAT::Matrix | createTranslationMatrix (double x, double y, double z) |
|
static NEWMAT::Matrix | createRotationMatrix (double angleX, double angleY, double angleZ, ossimCoordSysOrientMode orientationMode=OSSIM_RIGHT_HANDED) |
|
static NEWMAT::Matrix | createRotationXMatrix (double angle, ossimCoordSysOrientMode orientationMode=OSSIM_RIGHT_HANDED) |
|
static NEWMAT::Matrix | createRotationYMatrix (double angle, ossimCoordSysOrientMode orientationMode=OSSIM_RIGHT_HANDED) |
|
static NEWMAT::Matrix | createRotationZMatrix (double angle, ossimCoordSysOrientMode orientationMode=OSSIM_RIGHT_HANDED) |
|
static NEWMAT::Matrix | createScaleMatrix (double X, double Y, double Z) |
|
Definition at line 21 of file ossimMatrix4x4.h.
◆ ossimMatrix4x4() [1/5]
ossimMatrix4x4::ossimMatrix4x4 |
( |
| ) |
|
◆ ossimMatrix4x4() [2/5]
ossimMatrix4x4::ossimMatrix4x4 |
( |
const NEWMAT::Matrix & |
m | ) |
|
◆ ossimMatrix4x4() [3/5]
ossimMatrix4x4::ossimMatrix4x4 |
( |
double |
v00, |
|
|
double |
v01, |
|
|
double |
v02, |
|
|
double |
v03, |
|
|
double |
v10, |
|
|
double |
v11, |
|
|
double |
v12, |
|
|
double |
v13, |
|
|
double |
v20, |
|
|
double |
v21, |
|
|
double |
v22, |
|
|
double |
v23, |
|
|
double |
v30, |
|
|
double |
v31, |
|
|
double |
v32, |
|
|
double |
v33 |
|
) |
| |
◆ ossimMatrix4x4() [4/5]
Definition at line 35 of file ossimMatrix4x4.h.
void makeRotate(const ossim::Quaternion &quat)
◆ ossimMatrix4x4() [5/5]
◆ createIdentity()
NEWMAT::Matrix ossimMatrix4x4::createIdentity |
( |
| ) |
|
|
static |
◆ createRotateOnly()
NEWMAT::Matrix ossimMatrix4x4::createRotateOnly |
( |
const ossimMatrix4x4 & |
aMatrix | ) |
|
|
static |
◆ createRotationMatrix()
Definition at line 326 of file ossimMatrix4x4.cpp.
References createRotationXMatrix(), createRotationYMatrix(), and createRotationZMatrix().
static NEWMAT::Matrix createRotationYMatrix(double angle, ossimCoordSysOrientMode orientationMode=OSSIM_RIGHT_HANDED)
static NEWMAT::Matrix createRotationXMatrix(double angle, ossimCoordSysOrientMode orientationMode=OSSIM_RIGHT_HANDED)
static NEWMAT::Matrix createRotationZMatrix(double angle, ossimCoordSysOrientMode orientationMode=OSSIM_RIGHT_HANDED)
◆ createRotationXMatrix()
◆ createRotationYMatrix()
◆ createRotationZMatrix()
◆ createScaleMatrix()
NEWMAT::Matrix ossimMatrix4x4::createScaleMatrix |
( |
double |
X, |
|
|
double |
Y, |
|
|
double |
Z |
|
) |
| |
|
static |
Definition at line 419 of file ossimMatrix4x4.cpp.
References x, and y.
421 NEWMAT::Matrix m(4, 4);
423 m <<
x << 0.0 << 0.0 << 0.0
424 << 0.0 <<
y << 0.0 << 0.0
425 << 0.0 << 0.0 << z << 0.0
426 << 0.0 << 0.0 << 0.0 << 1.0;
◆ createTranslationMatrix()
NEWMAT::Matrix ossimMatrix4x4::createTranslationMatrix |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
static |
◆ createZero()
NEWMAT::Matrix ossimMatrix4x4::createZero |
( |
| ) |
|
|
static |
◆ getData() [1/2]
const NEWMAT::Matrix& ossimMatrix4x4::getData |
( |
| ) |
const |
|
inline |
Definition at line 274 of file ossimMatrix4x4.h.
Referenced by ossimMapProjection::applyScale(), ossimEllipsoid::computeLocalToWorldTransformFromXYZ(), createIdentity(), createRotateOnly(), createTranslationMatrix(), createZero(), ossimMapProjection::lineSampleHeightToWorld(), ossimMapProjection::operator==(), ossimMapProjection::saveState(), ossimMapProjection::updateFromTransform(), ossimSonomaSensor::updateModel(), and ossimMapProjection::worldToLineSample().
◆ getData() [2/2]
NEWMAT::Matrix& ossimMatrix4x4::getData |
( |
| ) |
|
|
inline |
◆ getDeterminant()
double ossimMatrix4x4::getDeterminant |
( |
| ) |
const |
|
inline |
uses the matrix package to compute the determinant
Definition at line 238 of file ossimMatrix4x4.h.
◆ getEigenValues()
Uses the matrix package to compute the eigenvalues for this matrix
Definition at line 234 of file ossimMatrix4x4.cpp.
References EigenValues(), and theData.
236 NEWMAT::DiagonalMatrix d;
237 NEWMAT::SymmetricMatrix s;
void EigenValues(const SymmetricMatrix &, DiagonalMatrix &)
◆ getRotate() [1/2]
◆ getRotate() [2/2]
◆ i()
◆ isEqualTo()
◆ makeRotate()
◆ operator*() [1/2]
◆ operator*() [2/2]
◆ operator+()
◆ operator-()
◆ rotateOnly() [1/2]
◆ rotateOnly() [2/2]
◆ setIdentity()
void ossimMatrix4x4::setIdentity |
( |
| ) |
|
◆ setRotate()
Definition at line 130 of file ossimMatrix4x4.cpp.
References ossim::Quaternion::length2(), QW, QX, QY, QZ, and theData.
Referenced by makeRotate().
133 double length2 = q.length2();
134 if (length2!=1.0 && length2!=0)
144 double wx, wy, wz, xx, yy, yz, xy, xz, zz, x2, y2, z2;
163 theData[0][0] = 1.0 - (yy + zz);
168 theData[1][1] = 1.0 - (xx + zz);
173 theData[2][2] = 1.0 - (xx + yy);
◆ setZero()
void ossimMatrix4x4::setZero |
( |
| ) |
|
◆ t()
Uses the matrix package to compute the transpose.
Definition at line 228 of file ossimMatrix4x4.h.
References t().
Referenced by t().
◆ operator* [1/2]
◆ operator* [2/2]
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const ossimMatrix4x4 & |
data |
|
) |
| |
|
friend |
◆ theData
NEWMAT::Matrix ossimMatrix4x4::theData |
|
private |
Definition at line 278 of file ossimMatrix4x4.h.
Referenced by createRotateOnly(), getEigenValues(), getRotate(), isEqualTo(), operator*(), operator+(), operator-(), ossimMatrix4x4(), setIdentity(), setRotate(), and setZero().
The documentation for this class was generated from the following files: