#include <OctreeNode.h>
|
void | add (const Vector3 &p) |
|
OctreeNode * | clone (Octree *tree) const |
|
bool | contains (const Vector3 &p) const |
|
void | getCubes (std::vector< Box > &cubes, const Vector3 &offset) const |
|
bool | intersect (const Box &b) const |
|
bool | intersect (const Ray &r, float t0, float t1, double &distance, const Vector3 &offset) const |
|
| OctreeNode (const OctreeNode &orig, Octree *tree) |
|
| OctreeNode (double size, Octree *octree) |
|
void | raytrace (const Vector3 &o, const Vector3 &dir, float t0, float t1, const Vector3 &offset) |
|
virtual | ~OctreeNode () |
|
Definition at line 12 of file OctreeNode.h.
◆ OctreeNode() [1/2]
geo::OctreeNode::OctreeNode |
( |
double |
size, |
|
|
Octree * |
octree |
|
) |
| |
◆ OctreeNode() [2/2]
◆ ~OctreeNode()
geo::OctreeNode::~OctreeNode |
( |
| ) |
|
|
virtual |
◆ add()
void geo::OctreeNode::add |
( |
const Vector3 & |
p | ) |
|
◆ clone()
◆ contains()
bool geo::OctreeNode::contains |
( |
const Vector3 & |
p | ) |
const |
◆ getCubes()
◆ intersect() [1/2]
bool geo::OctreeNode::intersect |
( |
const Box & |
b | ) |
const |
◆ intersect() [2/2]
bool geo::OctreeNode::intersect |
( |
const Ray & |
r, |
|
|
float |
t0, |
|
|
float |
t1, |
|
|
double & |
distance, |
|
|
const Vector3 & |
offset |
|
) |
| const |
◆ raytrace()
void geo::OctreeNode::raytrace |
( |
const Vector3 & |
o, |
|
|
const Vector3 & |
dir, |
|
|
float |
t0, |
|
|
float |
t1, |
|
|
const Vector3 & |
offset |
|
) |
| |
◆ children_
◆ occupied_
bool geo::OctreeNode::occupied_ |
|
protected |
◆ size_
double geo::OctreeNode::size_ |
|
protected |
◆ split_
double geo::OctreeNode::split_ |
|
protected |
◆ tree_
Octree* geo::OctreeNode::tree_ |
|
protected |
The documentation for this class was generated from the following files: