Go to the documentation of this file.
62 Voxels(
const char *filename);
64 void Export(
const char *filename);
121 uint32_t
Part1By2(uint32_t x)
const;
122 uint32_t
EncodeMorton3(uint32_t x, uint32_t y, uint32_t z)
const;
127 size_t GetIndex(
size_t x,
size_t y,
size_t z)
const;
double HCost(const voxelState &node1, const voxelState &node2) const
Heuristic value between two arbitrary nodes.
point3d GetVoxelCoordinate(uint64_t morton, float voxelSize, const float minbounds[4]) const
uint64_t GetActionHash(voxelAction act) const
void GetCoordsForIndex(size_t i, size_t &x, size_t &y, size_t &z) const
uint32_t DecodeMorton3Y(uint32_t code) const
void ApplyAction(voxelState &s, voxelAction a) const
std::vector< uint64_t > mLayer0VoxelGrids
void GetSuccessors(const voxelState &nodeID, std::vector< voxelState > &neighbors) const
uint32_t DecodeMorton3Z(uint32_t code) const
uint32_t EncodeMorton3(uint32_t x, uint32_t y, uint32_t z) const
uint32_t Part1By2(uint32_t x) const
uint64_t GetStateHash(const voxelState &node) const
Voxels(const char *filename)
bool operator==(const voxelState &v1, const voxelState &v2)
void GetStateFromHash(uint64_t parent, voxelState &s)
void GLDrawLine(const voxelState &x, const voxelState &y) const
double GCost(const voxelState &node1, const voxelState &node2) const
void GetActions(const voxelState &nodeID, std::vector< voxelAction > &actions) const
void GLLabelState(const voxelState &, const char *) const
bool InvertAction(voxelAction &a) const
uint32_t DecodeMorton3X(uint32_t code) const
void AddVoxelCubeToOctree(uint64_t values, point3d p)
void Draw(Graphics::Display &display) const
size_t GetIndex(size_t x, size_t y, size_t z) const
bool GoalTest(const voxelState &node, const voxelState &goal) const
std::vector< OctreeNode > OctreeLayer
void Export(const char *filename)
std::vector< OctreeLayer > mOctreeLayers
uint32_t Compact1By2(uint32_t x) const
Nodes to be stored within a Graph.