|
Path Tracer
|
#include "KDTreeNode.h"Functions | |
| DoubleVec3D | getMinPoint (std::vector< Object3D * > objects) |
| Computes the minimum point of a cuboid containing all the objects. More... | |
| DoubleVec3D | getMaxPoint (std::vector< Object3D * > objects) |
| Computes the maximum point of a cuboid containing all the objects. More... | |
| void | to_json (json &j, const KDTreeNode &node) |
| Conversion to json. More... | |
| DoubleVec3D getMaxPoint | ( | std::vector< Object3D * > | objects | ) |
Computes the maximum point of a cuboid containing all the objects.
| objects | The objects that will be used for the computation. |
| DoubleVec3D getMinPoint | ( | std::vector< Object3D * > | objects | ) |
Computes the minimum point of a cuboid containing all the objects.
| objects | The objects that will be used for the computation. |
| void to_json | ( | json & | j, |
| const KDTreeNode & | node | ||
| ) |
Conversion to json.
Only used for debugging.
| j | Json output. |
| node | The node that will be converted. |