![]() |
Blue Brain BioExplorer
|
The PointOctreeNode class implement a spherical node of the Octree acceleration structure used by the Fields renderer. More...
#include <PointOctreeNode.h>
Public Member Functions | |
PointOctreeNode (const Vector3f ¢er, const double size) | |
Construct a new Octree Node object. More... | |
void | addValue (const double value) |
Add a value to the node. More... | |
void | setChild (PointOctreeNode *child) |
Add a Child to the node. More... | |
const std::vector< PointOctreeNode * > & | getChildren () const |
Get the node children. More... | |
const Vector3f & | getCenter () const |
Get the center of the node. More... | |
double | getValue () const |
Get the value of the node. More... | |
The PointOctreeNode class implement a spherical node of the Octree acceleration structure used by the Fields renderer.
Definition at line 35 of file PointOctreeNode.h.
core::PointOctreeNode::PointOctreeNode | ( | const Vector3f & | center, |
const double | size | ||
) |
Construct a new Octree Node object.
The | center of the node |
The | node size |
Definition at line 28 of file PointOctreeNode.cpp.
void core::PointOctreeNode::addValue | ( | const double | value | ) |
Add a value to the node.
The | value of the node |
Definition at line 39 of file PointOctreeNode.cpp.
const Vector3f & core::PointOctreeNode::getCenter | ( | ) | const |
Get the center of the node.
Definition at line 45 of file PointOctreeNode.cpp.
const std::vector< PointOctreeNode * > & core::PointOctreeNode::getChildren | ( | ) | const |
double core::PointOctreeNode::getValue | ( | ) | const |
Get the value of the node.
Definition at line 50 of file PointOctreeNode.cpp.
void core::PointOctreeNode::setChild | ( | PointOctreeNode * | child | ) |
Add a Child to the node.
The | node child |
Definition at line 34 of file PointOctreeNode.cpp.