PolyVox  0.2.1
Open source voxel management library
Classes | Namespaces | Functions | Variables
AStarPathfinder.h File Reference
#include "Impl/AStarPathfinderImpl.h"
#include "Impl/TypeDef.h"
#include "PolyVoxCore/Array.h"
#include <list>
#include <stdexcept>
#include "PolyVoxCore/AStarPathfinder.inl"

Go to the source code of this file.

Classes

struct  PolyVox::AStarPathfinderParams< VolumeType >
 Provides a configuration for the AStarPathfinder. More...
class  PolyVox::AStarPathfinder< VolumeType >
 The AStarPathfinder compute a path from one point in the volume to another. More...

Namespaces

namespace  PolyVox
 Main namespace.

Functions

template<typename VolumeType >
bool PolyVox::aStarDefaultVoxelValidator (const VolumeType *volData, const Vector3DInt32 &v3dPos)
 This function provides the default method for checking whether a given voxel is valid for the path computed by the AStarPathfinder.

Variables

const float PolyVox::sqrt_1 = 1.0f
const float PolyVox::sqrt_2 = 1.4143f
const float PolyVox::sqrt_3 = 1.7321f
const Vector3DInt32 PolyVox::arrayPathfinderFaces [6]
const Vector3DInt32 PolyVox::arrayPathfinderEdges [12]
const Vector3DInt32 PolyVox::arrayPathfinderCorners [8]