INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

matrix4.h

00001 #ifndef ORCAVIEW3D_MATRIX4_H
00002 #define ORCAVIEW3D_MATRIX4_H
00003 
00004 #include <string>
00005 
00006 namespace orcaqgui3d {
00007 
00009 //               [ a b c d ]                                                  //
00010 // Matrix Class  [ e f g h ]                                                  //
00011 //               [ i j k l ]                                                  //
00012 //               [ m n o p ]                                                  //
00014 class Matrix4
00015 {
00016 
00017 public: 
00018 
00019     Matrix4() {}
00020 
00021     double operator()(int i,int j) const { return m_[i][j]; }
00022     double &operator()(int i,int j) { return m_[i][j]; }
00023 
00024 private: 
00025 
00026     double m_[4][4];
00027 
00028 };
00029 
00030 Matrix4 operator*(const Matrix4 &A, const Matrix4 &B);
00031 
00032 std::string toString( const Matrix4 &m );
00033 
00034 }
00035 
00036 #endif
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5