All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>
Include dependency graph for OctreeNode.cpp:

Namespaces

 SurgSim
 
 SurgSim::DataStructures
 

Functions

std::shared_ptr< OctreeNode
< EmptyData > > 
SurgSim::DataStructures::loadOctree (const std::string &fileName)
 A free function to load an octree from file. More...
 
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...