FCT
载入中...
搜索中...
未找到
FCT::Mat4类 参考

#include <Matrix.h>

类 FCT::Mat4 继承关系图:
Inheritance graph
FCT::Mat4 的协作图:
Collaboration graph

Public 成员函数

 Mat4 ()
 Mat4 (float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44)
void identity ()
void translate (float x, float y)
void translate (float x, float y, float z)
void rotateX (float degrees)
void rotateY (float degrees)
void rotateZ (float degrees)
Vec4 operator* (const Vec4 &vec) const
void scale (float x, float y, float z)
Mat4 operator* (const Mat4 &rhs) const
Mat4operator*= (const Mat4 &rhs)

静态 Public 成员函数

static Mat4 CreateTranslation (float x, float y)
static Mat4 CreateScale (float scaleX, float scaleY)
static Mat4 Translate (float x, float y)
static Mat4 Translate (float x, float y, float z)
static Mat4 Ortho (float left, float right, float bottom, float top, float zNear, float zFar)
static Mat4 LookAt (const Vec3 &eye, const Vec3 &center, const Vec3 &up)
static Mat4 Scale (float scaleX, float scaleY)
static Mat4 Scale (float scaleX, float scaleY, float scaleZ)
static Mat4 Perspective (float fovx, float aspect, float zNear, float zFar)

Public 属性

float m [16]

友元

std::ostream & operator<< (std::ostream &os, const Mat4 &mat)

详细描述

在文件 Matrix.h8 行定义.

构造及析构函数说明

◆ Mat4() [1/2]

FCT::Mat4::Mat4 ( )
inline

在文件 Matrix.h13 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Mat4() [2/2]

FCT::Mat4::Mat4 ( float m11,
float m12,
float m13,
float m14,
float m21,
float m22,
float m23,
float m24,
float m31,
float m32,
float m33,
float m34,
float m41,
float m42,
float m43,
float m44 )
inline

在文件 Matrix.h17 行定义.

成员函数说明

◆ CreateScale()

Mat4 FCT::Mat4::CreateScale ( float scaleX,
float scaleY )
inlinestatic

在文件 Matrix.h83 行定义.

函数调用图:

◆ CreateTranslation()

Mat4 FCT::Mat4::CreateTranslation ( float x,
float y )
inlinestatic

在文件 Matrix.h76 行定义.

函数调用图:

◆ identity()

void FCT::Mat4::identity ( )
inline

在文件 Matrix.h40 行定义.

这是这个函数的调用关系图:

◆ LookAt()

Mat4 FCT::Mat4::LookAt ( const Vec3 & eye,
const Vec3 & center,
const Vec3 & up )
inlinestatic

在文件 Matrix.h120 行定义.

函数调用图:

◆ operator*() [1/2]

Mat4 FCT::Mat4::operator* ( const Mat4 & rhs) const
inline

在文件 Matrix.h209 行定义.

函数调用图:

◆ operator*() [2/2]

Vec4 FCT::Mat4::operator* ( const Vec4 & vec) const
inline

在文件 Matrix.h190 行定义.

◆ operator*=()

Mat4 & FCT::Mat4::operator*= ( const Mat4 & rhs)
inline

在文件 Matrix.h225 行定义.

函数调用图:

◆ Ortho()

Mat4 FCT::Mat4::Ortho ( float left,
float right,
float bottom,
float top,
float zNear,
float zFar )
inlinestatic

在文件 Matrix.h111 行定义.

函数调用图:

◆ Perspective()

Mat4 FCT::Mat4::Perspective ( float fovx,
float aspect,
float zNear,
float zFar )
inlinestatic

在文件 Matrix.h153 行定义.

函数调用图:

◆ rotateX()

void FCT::Mat4::rotateX ( float degrees)
inline

在文件 Matrix.h63 行定义.

函数调用图:

◆ rotateY()

void FCT::Mat4::rotateY ( float degrees)
inline

在文件 Matrix.h164 行定义.

函数调用图:

◆ rotateZ()

void FCT::Mat4::rotateZ ( float degrees)
inline

在文件 Matrix.h177 行定义.

函数调用图:

◆ Scale() [1/2]

Mat4 FCT::Mat4::Scale ( float scaleX,
float scaleY )
inlinestatic

在文件 Matrix.h135 行定义.

函数调用图:

◆ Scale() [2/2]

Mat4 FCT::Mat4::Scale ( float scaleX,
float scaleY,
float scaleZ )
inlinestatic

在文件 Matrix.h144 行定义.

函数调用图:

◆ scale()

void FCT::Mat4::scale ( float x,
float y,
float z )
inline

在文件 Matrix.h199 行定义.

函数调用图:

◆ Translate() [1/2]

Mat4 FCT::Mat4::Translate ( float x,
float y )
inlinestatic

在文件 Matrix.h92 行定义.

函数调用图:

◆ Translate() [2/2]

Mat4 FCT::Mat4::Translate ( float x,
float y,
float z )
inlinestatic

在文件 Matrix.h99 行定义.

函数调用图:

◆ translate() [1/2]

void FCT::Mat4::translate ( float x,
float y )
inline

在文件 Matrix.h48 行定义.

◆ translate() [2/2]

void FCT::Mat4::translate ( float x,
float y,
float z )
inline

在文件 Matrix.h53 行定义.

函数调用图:

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const Mat4 & mat )
friend

在文件 Matrix.h232 行定义.

类成员变量说明

◆ m

float FCT::Mat4::m[16]

在文件 Matrix.h11 行定义.


该类的文档由以下文件生成: