Namespaces | Functions
OctreeNode.cpp File Reference
#include "SurgSim/DataStructures/OctreeNode.h"
#include "SurgSim/Framework/Assert.h"
#include <array>
#include <cmath>
#include <fstream>
#include <boost/container/static_vector.hpp>

Namespaces

 SurgSim
 
 SurgSim::DataStructures
 

Functions

SurgSim::DataStructures::OctreePath SurgSim::DataStructures::getNeighbor (const OctreePath &origin, const std::array< Symbol, 3 > &direction)
 Calculate the neighbor of an node in the octree by traversing a state machine, see http://ww1.ucmss.com/books/LFS/CSREA2006/MSV4517.pdf for detailed description. More...
 
std::vector< OctreePath > SurgSim::DataStructures::getNeighbors (const OctreePath &origin, int type)
 Fetch a list of neighbors, indicated by the type, Face, Edge and Vertex are possible types and can be combined via OR. More...