• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • ekos
  • guide
matr.h
Go to the documentation of this file.
1 /* Ekos guide tool
2  Copyright (C) 2012 Andrew Stepanenko
3 
4  Modified by Jasem Mutlaq <mutlaqja@ikarustech.com> for KStars.
5 
6  This application is free software; you can redistribute it and/or
7  modify it under the terms of the GNU General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10  */
11 
12 //---------------------------------------------------------------------------
13 #ifndef matrH
14 #define matrH
15 
16 #include "vect.h"
17 
18 class Matrix
19 {
20 public:
21  double x [4][4];
22  Matrix();
23  explicit Matrix( double );
24  Matrix& operator = ( const Matrix& );
25  Matrix& operator += ( const Matrix& );
26  Matrix& operator -= ( const Matrix& );
27  Matrix& operator *= ( const Matrix& );
28  Matrix& operator *= ( double );
29  Matrix& operator /= ( double );
30  void Invert ();
31  void Transpose ();
32  friend Matrix operator + (const Matrix&, const Matrix&);
33  friend Matrix operator - (const Matrix&, const Matrix&);
34  friend Matrix operator * (const Matrix&, double);
35  friend Matrix operator * (const Matrix&, const Matrix&);
36  friend Vector operator * (const Vector&, const Matrix&);
37 
38 };
39 
40 Matrix Translate( const Vector& );
41 Matrix Scale( const Vector&);
42 Matrix RotateX(double);
43 Matrix RotateY(double);
44 Matrix RotateZ(double);
45 Matrix Rotate(const Vector& v, double angle);
46 Matrix Transform(const Vector& v1, const Vector& v2, const Vector& v3);
47 Matrix MirrorX();
48 Matrix MirrorY();
49 Matrix MirrorZ();
50 //---------------------------------------------------------------------------
51 #endif
Matrix::operator+
friend Matrix operator+(const Matrix &, const Matrix &)
Definition: matr.cpp:137
Matrix::Invert
void Invert()
Definition: matr.cpp:39
Matrix::Matrix
Matrix()
Definition: matr.cpp:30
Vector
Definition: vect.h:18
RotateZ
Matrix RotateZ(double)
Definition: matr.cpp:271
MirrorX
Matrix MirrorX()
Definition: matr.cpp:346
Matrix::operator=
Matrix & operator=(const Matrix &)
Definition: matr.cpp:86
Matrix::operator*=
Matrix & operator*=(const Matrix &)
Definition: matr.cpp:122
vect.h
MirrorY
Matrix MirrorY()
Definition: matr.cpp:353
Rotate
Matrix Rotate(const Vector &v, double angle)
Definition: matr.cpp:287
Scale
Matrix Scale(const Vector &)
Definition: matr.cpp:228
Matrix::operator/=
Matrix & operator/=(double)
Translate
Matrix Translate(const Vector &)
Definition: matr.cpp:214
Transform
Matrix Transform(const Vector &v1, const Vector &v2, const Vector &v3)
Definition: matr.cpp:318
Matrix::operator*
friend Matrix operator*(const Matrix &, double)
Definition: matr.cpp:173
Matrix
Definition: matr.h:18
Matrix::x
double x[4][4]
Definition: matr.h:21
RotateY
Matrix RotateY(double)
Definition: matr.cpp:257
Matrix::operator-=
Matrix & operator-=(const Matrix &)
Definition: matr.cpp:104
Matrix::Transpose
void Transpose()
Definition: matr.cpp:73
Matrix::operator-
friend Matrix operator-(const Matrix &, const Matrix &)
Definition: matr.cpp:147
RotateX
Matrix RotateX(double)
Definition: matr.cpp:238
MirrorZ
Matrix MirrorZ()
Definition: matr.cpp:360
Matrix::operator+=
Matrix & operator+=(const Matrix &)
Definition: matr.cpp:95
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal