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