xcal
基于 C++23 的现代图形渲染引擎
|
PerspectiveCamera 测试套件 更多...
类 | |
class | AbsCamera |
相机系统命名空间 更多... | |
class | Frame |
帧处理类 更多... | |
class | OrthoCamera |
正交相机类 更多... | |
class | PerspectiveCamera |
透视相机类 更多... | |
枚举 | |
enum class | CameraType { Perspective , Orthogonal } |
enum class | ColorFormat { BGR , RGB , RGBA , Gray , YUV420 , YUV422 , YUV444 } |
颜色格式枚举 更多... | |
函数 | |
TEST (TestPerspectiveCamera, CreateWithDefaultValues) | |
测试默认构造函数 | |
TEST (TestPerspectiveCamera, CreateWithCustomValues) | |
测试自定义参数构造函数 | |
TEST (TestPerspectiveCamera, ProjectionMatrixCalculation) | |
测试投影矩阵计算 | |
TEST (TestPerspectiveCamera, ViewMatrixLookAt) | |
测试视图矩阵计算 - 标准look-at | |
TEST (TestPerspectiveCamera, VPTransformWholeVectors_Strict) | |
PerspectiveCamera 测试套件
测试 PerspectiveCamera 类的创建、矩阵计算和属性管理功能。
|
strong |
枚举值 | |
---|---|
Perspective | 透视相机 |
Orthogonal | 正交相机 |
在文件 abs_camera.hpp 第 20 行定义.
|
strong |
xcal::camera::TEST | ( | TestPerspectiveCamera | , |
CreateWithCustomValues | |||
) |
测试自定义参数构造函数
在文件 test_perspective_camera.cc 第 43 行定义.
xcal::camera::TEST | ( | TestPerspectiveCamera | , |
CreateWithDefaultValues | |||
) |
测试默认构造函数
在文件 test_perspective_camera.cc 第 16 行定义.
xcal::camera::TEST | ( | TestPerspectiveCamera | , |
ProjectionMatrixCalculation | |||
) |
测试投影矩阵计算
在文件 test_perspective_camera.cc 第 56 行定义.
xcal::camera::TEST | ( | TestPerspectiveCamera | , |
ViewMatrixLookAt | |||
) |
测试视图矩阵计算 - 标准look-at
在文件 test_perspective_camera.cc 第 80 行定义.
xcal::camera::TEST | ( | TestPerspectiveCamera | , |
VPTransformWholeVectors_Strict | |||
) |