class Sp_Mat4

A 4x4 Matrix compatible with the opengl matrix

Public Fields

[more]float* tab
its datas

Public Methods

[more]virtual ~Sp_Mat4()
the destructor
[more]void Id()
Set this matrix to Identity
[more]void Set(float *)
the set function
[more]void Set(const Sp_Vecteur &i, const Sp_Vecteur &j, const Sp_Vecteur &k, const Sp_Point &O)
another set function
[more]void Get(float *)
the get function
[more]void Trans(float x, float y, float z)
Define the matrix to be a translation
[more]void SetX(float)
Set the Matrix to be rotation around axe X
[more]void SetY(float)
Set the Matrix to be rotation around axe Y
[more]void SetZ(float)
Set the Matrix to be rotation around axe Z
[more]void Print()
Print its informations

Public

[more] The constructors
[more] The operators


Documentation

A 4x4 Matrix compatible with the opengl matrix
o The constructors

o Sp_Mat4()
the null constructor

o Sp_Mat4(float *t)
the opengl constructor

o Sp_Mat4(const Sp_Vecteur &i, const Sp_Vecteur &j, const Sp_Vecteur &k, const Sp_Point &O)
A constrcutor define by a repere

o Sp_Mat4(const Sp_Mat4 &)
copy constructor

ovirtual ~Sp_Mat4()
the destructor

ovoid Id()
Set this matrix to Identity

ovoid Set(float *)
the set function

ovoid Set(const Sp_Vecteur &i, const Sp_Vecteur &j, const Sp_Vecteur &k, const Sp_Point &O)
another set function

ovoid Get(float *)
the get function

ovoid Trans(float x, float y, float z)
Define the matrix to be a translation

ovoid SetX(float)
Set the Matrix to be rotation around axe X

ovoid SetY(float)
Set the Matrix to be rotation around axe Y

ovoid SetZ(float)
Set the Matrix to be rotation around axe Z

o The operators

oSp_Mat4 operator*(const Sp_Mat4 &) const
the product with another matrix

oSp_Vecteur operator*(const Sp_Vecteur &) const
the product with a vector

oSp_Point operator*(const Sp_Point &) const
the product with a point

oSp_Mat4 Inverse() const
the inverse

oSp_Mat4& operator=(const Sp_Mat4 &)
the copy

ovoid Print()
Print its informations

ofloat* tab
its datas


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.