geolib2
|
#include <HeightMapNode.h>
Public Member Functions | |
HeightMapNode * | clone () const |
HeightMapNode (const Box &box) | |
HeightMapNode (const HeightMapNode &orig) | |
HeightMapNode (HeightMapNode &&orig) | |
bool | intersect (const Ray &r, float t0, float t1, double &distance) const |
virtual | ~HeightMapNode () |
Public Attributes | |
Box | box_ |
HeightMapNode * | children_ [4] |
bool | occupied_ |
One node of the quad tree used to make the heightmap.
A leaf node describes a box of occupied space A branch node describes geometry as the union of the geometry of its child nodes.
Definition at line 17 of file HeightMapNode.h.
geo::HeightMapNode::HeightMapNode | ( | const Box & | box | ) |
Definition at line 5 of file HeightMapNode.cpp.
geo::HeightMapNode::HeightMapNode | ( | const HeightMapNode & | orig | ) |
Definition at line 11 of file HeightMapNode.cpp.
geo::HeightMapNode::HeightMapNode | ( | HeightMapNode && | orig | ) |
Definition at line 21 of file HeightMapNode.cpp.
|
virtual |
Definition at line 32 of file HeightMapNode.cpp.
HeightMapNode * geo::HeightMapNode::clone | ( | ) | const |
Definition at line 35 of file HeightMapNode.cpp.
bool geo::HeightMapNode::intersect | ( | const Ray & | r, |
float | t0, | ||
float | t1, | ||
double & | distance | ||
) | const |
Definition at line 39 of file HeightMapNode.cpp.
Box geo::HeightMapNode::box_ |
Definition at line 34 of file HeightMapNode.h.
HeightMapNode* geo::HeightMapNode::children_[4] |
Definition at line 37 of file HeightMapNode.h.
bool geo::HeightMapNode::occupied_ |
Definition at line 40 of file HeightMapNode.h.