OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimMatrix3x3.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts (gpotts@imagelinks.com)
6 //
7 // Description:
8 //
9 // Helper class for using NEWMAT::Matrix's.
10 //
11 //*******************************************************************
12 // $Id: ossimMatrix3x3.h 14789 2009-06-29 16:48:14Z dburken $
13 
14 #ifndef ossimMatrix3x3_HEADER
15 #define ossimMatrix3x3_HEADER
16 
17 #include <iostream>
18 
19 #include <ossim/matrix/newmat.h>
20 #include <ossim/matrix/newmatio.h>
22 
24 
26 {
27  public:
28 
29 
34  ossimColumnVector3d getEigenValues(const NEWMAT::Matrix& rhs);
35 
39  static NEWMAT::Matrix create();
40 
46  static NEWMAT::Matrix create(const NEWMAT::Matrix& m);
47 
51  static NEWMAT::Matrix create(double v00, double v01, double v02,
52  double v10, double v11, double v12,
53  double v20, double v21, double v22);
54 
55  static NEWMAT::Matrix createIdentity();
56 
57  static NEWMAT::Matrix createZero();
58  static NEWMAT::Matrix createRotationMatrix(double angleX,
59  double angleY,
60  double angleZ,
62  static NEWMAT::Matrix createRotationXMatrix(double angle,
64  static NEWMAT::Matrix createRotationYMatrix(double angle,
66  static NEWMAT::Matrix createRotationZMatrix(double angle,
68 
69  static NEWMAT::Matrix createScaleMatrix(double X, double Y, double Z);
70 
71  static NEWMAT::Matrix createTranslationMatrix(double dx,double dy);
72 
73 protected:
74  ossimMatrix3x3(){} // To squash un-warranted compiler warnings...
75 
76 private:
77  ossimMatrix3x3(const ossimMatrix3x3& rhs);
78  const ossimMatrix3x3& operator=(const ossimMatrix3x3& rhs);
79 };
80 
81 #endif
#define OSSIMDLLEXPORT
ossimCoordSysOrientMode