gwnavruntime/navmesh/navmeshtypes.h File Reference

navmeshtypes.h File Reference

Namespaces

 Kaim
 The Autodesk Navigation namespace.
 

Typedefs

typedef Vec2LL Kaim::CoordPos64
 A type that represents the position of a point within the 2D integer grid. More...
 
typedef Box2LL Kaim::CoordBox64
 A type that represents a bounding box in the integer 2D grid. More...
 
typedef Vec2i Kaim::CoordPos
 A type that represents the position of a point within the 2D integer grid. More...
 
typedef Box2i Kaim::CoordBox
 A type that represents a bounding box in the integer 2D grid. More...
 
typedef KyInt32 Kaim::CellCoord
 A type that represents the placement of a cell on one axis of a 2D grid. More...
 
typedef Vec2i Kaim::CellPos
 A type that represents the position of a cell within a 2D grid. More...
 
typedef Box2i Kaim::CellBox
 A type that represents a bounding box around cells in a 2D grid. More...
 

Enumerations

enum  Kaim::NavHalfEdgeObstacleType { Kaim::EDGEOBSTACLETYPE_WALL = 0, Kaim::EDGEOBSTACLETYPE_HOLE = 1 }
 Enumerates the possible types of obstacles that can be represented by a NavHalfEdge whose type is EDGETYPE_OBSTACLE. More...
 
enum  Kaim::NavHalfEdgeType {
  Kaim::EDGETYPE_CELLBOUNDARY_EAST = CardinalDir_EAST, Kaim::EDGETYPE_CELLBOUNDARY_NORTH = CardinalDir_NORTH, Kaim::EDGETYPE_CELLBOUNDARY_WEST = CardinalDir_WEST, Kaim::EDGETYPE_CELLBOUNDARY_SOUTH = CardinalDir_SOUTH,
  Kaim::EDGETYPE_FLOORBOUNDARY = 4, Kaim::EDGETYPE_OBSTACLE = 5, Kaim::EDGETYPE_CONNEXBOUNDARY = 6, Kaim::EDGETYPE_PAIRED = 7
}
 Enumerates the possible types of boundary that can be represented by a NavHalfEdge. More...
 

Variables

static const KyInt32 Kaim::InvalidCoord = 0x7FFFFFFF
 Represents an invalidCoord object. More...
 
static const KyInt32 Kaim::InvalidPixelCoord = 0x7FFFFFFF
 Represents an invalidPixelCoord object. More...
 
static const KyInt32 Kaim::InvalidCellCoord = 0x7FFFFFFF
 Represents an invalidCellCoord object. More...
 

vertex Index in the Floor

typedef KyUInt16 Kaim::CompactNavVertexIdx
 
typedef KyUInt32 Kaim::NavVertexIdx
 An index that uniquely identifies a single vertex of a triangle within the set of vertices owned by a NavFloor. More...
 
static const CompactNavVertexIdx Kaim::CompactNavVertexIdx_MAXVAL = 0x0FFF
 
static const NavVertexIdx Kaim::NavVertexIdx_Invalid = (NavVertexIdx)CompactNavVertexIdx_MAXVAL
 Represents an invalid NavVertexIdx. More...
 
bool Kaim::IsNavVertexIdxValid (const NavVertexIdx idx)
 

HalfEdge Index in the Floor

typedef KyUInt16 Kaim::CompactNavHalfEdgeIdx
 
typedef KyUInt32 Kaim::NavHalfEdgeIdx
 An index that uniquely identifies a single edge of a triangle within the set of edges owned by a NavFloor. More...
 
static const CompactNavHalfEdgeIdx Kaim::CompactNavHalfEdgeIdx_MAXVAL = 0x3FFF
 
static const NavHalfEdgeIdx Kaim::NavHalfEdgeIdx_Invalid = (NavHalfEdgeIdx)CompactNavHalfEdgeIdx_MAXVAL
 Represents an invalid NavHalfEdgeIdx. More...
 
bool Kaim::IsNavHalfEdgeIdxValid (const NavHalfEdgeIdx idx)
 Indicates whether or not the specified NavHalfEdgeIdx is valid. More...
 

Triangle Index in the Floor

typedef KyUInt16 Kaim::CompactNavTriangleIdx
 
typedef KyUInt32 Kaim::NavTriangleIdx
 An index that uniquely identifies a single triangle within the set of triangles owned by a NavFloor. More...
 
typedef KyUInt16 Kaim::CompactNavConnexIdx
 
typedef KyUInt32 Kaim::NavConnexIdx
 An index that uniquely identifies a single triangle within the set of triangles owned by a NavFloor. More...
 
static const CompactNavTriangleIdx Kaim::CompactNavTriangleIdx_MAXVAL = 0xFFFF
 
static const NavTriangleIdx Kaim::NavTriangleIdx_Invalid = (NavTriangleIdx)CompactNavVertexIdx_MAXVAL
 Represents an invalid NavTriangleIdx. More...
 
static const CompactNavConnexIdx Kaim::CompactNavConnexIdx_MAXVAL = 0xFFFF
 
static const NavConnexIdx Kaim::NavConnexIdx_Invalid = (NavConnexIdx)CompactNavVertexIdx_MAXVAL
 Represents an invalid NavConnexIdx. More...
 
bool Kaim::IsNavTriangleIdxValid (const NavTriangleIdx idx)
 Indicates whether or not the specified NavTriangleIdx is valid. More...
 

Floor Index in the Cell

typedef KyUInt32 Kaim::NavFloorIdx
 An index that uniquely identifies a single NavFloor within the set of NavFloors owned by a NavCell. More...
 
static const NavFloorIdx Kaim::NavFloorIdx_Invalid = 0xFFFFFFFF
 Represents an invalid NavFloorIdx. More...
 
bool Kaim::IsNavFloorIdxValid (const NavFloorIdx idx)
 Indicates whether or not the specified NavFloorIdx is valid. More...
 

NavCellBlob Index in a NavMeshElement

typedef KyUInt32 Kaim::NavCellIdx
 An index that uniquely identifies a single NavCell within the set of NavCells owned by a NavMesh. More...
 
static const NavCellIdx Kaim::NavCellIdx_Invalid = 0xFFFFFFFF
 Represents an invalid NavCellIdx. More...
 
bool Kaim::IsNavCellIdxValid (const NavCellIdx idx)
 Indicates whether or not the specified NavCellIdx is valid. More...
 

index of a Cell in the buffer of ActiveData

typedef KyUInt32 Kaim::CellIdxInActiveData
 
static const CellIdxInActiveData Kaim::CellIdxInActiveData_Invalid = 0x0FFFFFFF
 

Id of connected component

#define KY_DEFINE_TEMPLATE_MASK_MANIPULATOR(integerType)
 
typedef KyUInt32 Kaim::ConnectedComponentId
 
static const ConnectedComponentId Kaim::ConnectedComponent_UNDEFINED = 0xFFFFFFFF
 
static const ConnectedComponentId Kaim::ConnectedComponent_TRAVERSALOPEN = 0xFFFFFFFF - 1
 
template<int BitIdx>
void Kaim::SetBitInMask (KyUInt8 &mask)
 
template<int BitIdx>
void Kaim::UnSetBitInMask (KyUInt8 &mask)
 
template<int BitIdx>
bool Kaim::IsBitSetInMask (KyUInt8 mask)
 
template<int BitIdx>
void Kaim::SetBitInMask (KyUInt16 &mask)
 
template<int BitIdx>
void Kaim::UnSetBitInMask (KyUInt16 &mask)
 
template<int BitIdx>
bool Kaim::IsBitSetInMask (KyUInt16 mask)
 
template<int BitIdx>
void Kaim::SetBitInMask (KyUInt32 &mask)
 
template<int BitIdx>
void Kaim::UnSetBitInMask (KyUInt32 &mask)
 
template<int BitIdx>
bool Kaim::IsBitSetInMask (KyUInt32 mask)
 

Go to the source code of this file.