![]() |
Dandelion 2.0.0
A light-weight 3D builder for educational usage
|
用于渲染轴对齐包围盒 (AABB) 的特殊线条集。 更多...
#include <mesh.hpp>
Public 成员函数 | |
| void | add_AABB (const Eigen::Vector3f &p_min, const Eigen::Vector3f &p_max) |
| Public 成员函数 继承自 LineSet | |
| LineSet ()=default | |
| LineSet (const LineSet &other)=default | |
| LineSet (LineSet &&other)=default | |
| void | add_line (const Eigen::Vector3f &from, const Eigen::Vector3f &to) |
| std::size_t | n_lines () const noexcept |
| void | clear () noexcept |
| 清空 Mesh 中所有的图元数据。 | |
额外继承的成员函数 | |
| Public 属性 继承自 LineSet | |
| std::vector< Eigen::Vector3f > | positions |
| std::vector< std::array< unsigned int, 2 > > | lines |
| Eigen::Vector3f | color |
| bool | modified |
| std::string | name |
| void AABBSet::add_AABB | ( | const Eigen::Vector3f & | p_min, |
| const Eigen::Vector3f & | p_max ) |
添加一个 AABB 。
| p_min | 三轴坐标最小的点。 |
| p_max | 三轴坐标最大的点。 |