From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/namespaceNLPACS.html | 1236 +++++++++++++++++++++++++++++++++ 1 file changed, 1236 insertions(+) create mode 100644 docs/doxygen/nel/namespaceNLPACS.html (limited to 'docs/doxygen/nel/namespaceNLPACS.html') diff --git a/docs/doxygen/nel/namespaceNLPACS.html b/docs/doxygen/nel/namespaceNLPACS.html new file mode 100644 index 00000000..5c575daa --- /dev/null +++ b/docs/doxygen/nel/namespaceNLPACS.html @@ -0,0 +1,1236 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLPACS Namespace Reference

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Compounds

class  NLPACS::CQuadBranch
class  NLPACS::CQuadLeaf
class  NLPACS::IQuadNode
struct  NLPACS::CRetrieverInstance::CAStarNodeInfo
 The information bound to the surfaces nodes. More...

struct  NLPACS::CRetrieverInstance::CAStarNodeAccess
 The link to another node. More...

class  NLPACS::CRetrieverInstance::CLink
 A neighbor link. More...

class  NLPACS::CQuadGrid::CIterator
class  NLPACS::CQuadGrid::const_iterator
class  NLPACS::CQuadGrid::CNode
class  NLPACS::CQuadGrid::CBaseNode
class  NLPACS::CChain
 A list of ordered chains of vertices, delimiting 2 surfaces. More...

class  NLPACS::CChainQuad
 a quadgrid of list of edge chain. More...

struct  NLPACS::CLocalRetriever::CIntersectionMarker
 The intersection between an ordered chain and the path. More...

class  NLPACS::CLocalRetriever::CInteriorFace
 The faces used for snapping in interior retrievers. More...

class  NLPACS::CLocalRetriever::CLocalPosition
 An estimation of the position of a point on a specified surface. More...

struct  NLPACS::CLocalRetriever::CTip::CChainTip
 A chain tip. More...

class  NLPACS::ICollisionCallback
 Collision callback interface. More...

class  NLPACS::CCollisionChain
 Temp collision data used during tryMove(). More...

class  NLPACS::CCollisionDesc
 Description of the contact of a collision. More...

struct  NLPACS::CCollisionFace
class  NLPACS::CCollisionMeshBuild
 The collision intermediate mesh, used to build the real collision meshes. More...

class  NLPACS::CCollisionOT
 Odered table element. More...

class  NLPACS::CCollisionOTDynamicInfo
 Dynamic collisions descriptor for time odered table. More...

class  NLPACS::CCollisionOTInfo
 Collision descriptor for time odered table. More...

class  NLPACS::CCollisionOTStaticInfo
 Static collisions descriptor for time odered table. More...

class  NLPACS::CCollisionSurfaceDesc
 Description of the contact of a collision against a surface (interior/zones). More...

class  NLPACS::CCollisionSurfaceTemp
 Temp collision data used during resolution of collision within surfaces. More...

class  NLPACS::CCollisionSurfaceTemp::CDistanceSurface
struct  NLPACS::EChainQuad
struct  NLPACS::CCollisionMeshBuild::CEdgeKey
struct  NLPACS::CCollisionMeshBuild::CEdgeInfo
struct  NLPACS::CExteriorMesh::CEdge
 An edge of the edge list. More...

class  NLPACS::CEdgeChainEntry
 Temp collision data used during tryMove(). More...

class  NLPACS::CEdgeCollide
 Collisions against edge in 2D. More...

class  NLPACS::CEdgeCollideNode
 Temp collision data used during tryMove(). More...

class  NLPACS::CEdgeQuad
 a quadgrid of list of edge chain. More...

struct  NLPACS::EEdgeQuad
class  NLPACS::CExteriorEdgeEntry
 Temp collision data used for exterior mesh collision detection. More...

class  NLPACS::CExteriorMesh
 The external mesh of a interior local retriever. More...

class  NLPACS::CFaceGrid
 A selection grid for the interior faces. More...

class  NLPACS::CFaceGrid::CFaceGridBuild
 A temporary grid, used to create a static CFaceGrid object. More...

class  NLPACS::CGlobalRetriever::CGlobalPosition
 The global position in the the global retriever. More...

class  NLPACS::CGlobalRetriever
 A class that allows to retrieve surface in a large amount of zones (referred as instances.). More...

class  NLPACS::CInt128
 A 128 bits integer. More...

class  NLPACS::CInteriorBorder
 The border of interior surfaces. More...

class  NLPACS::CInteriorSurface
 The interior surface class. More...

class  NLPACS::CExteriorMesh::CLink
 A neighbor link, on an interior surface. More...

class  NLPACS::CGlobalRetriever::CLocalPath
class  NLPACS::CLocalRetriever
 A surface retriever, located by its bounding box. More...

class  NLPACS::CMoveCell
 Move cell. More...

class  NLPACS::CMoveContainer
 A container for movable objects Some constraints: * The move bounding box must be lower than the cell size. More...

class  NLPACS::CMoveElement
 Move element linkable in sorted lists. More...

class  NLPACS::CMovePrimitive
 Description of movables primitives. More...

class  NLPACS::CMoveSurfaceDesc
 Description of the contact of a collision against a chain. More...

class  NLPACS::COrderedChain
 A list of ordered vertices, partially delimiting 2 different surfaces. More...

class  NLPACS::COrderedChain3f
 A list of ordered vertices, partially delimiting 2 different surfaces. More...

struct  NLPACS::CExteriorMesh::COrderedEdges
 A list of edges that are sorted. More...

class  NLPACS::CPrimitiveWorldImage::CPosition
class  NLPACS::CPrimitiveBlock
 Block of pacs primitive. More...

class  NLPACS::CPrimitiveDesc
 PACS primitive description. More...

class  NLPACS::CPrimitiveWorldImage
 Data for the primitive duplicated for each world image it is linked. More...

class  NLPACS::CQuadGrid
 This container is a simple grid, used to quickly find elements. More...

class  NLPACS::CQuadGrid::CQuadNode
class  NLPACS::CRational64
 A Rational of 2 64 bits. More...

class  NLPACS::CRetrievableSurface
 A retrievable surface (inside a local surface retriever). More...

class  NLPACS::CRetrieverBank
 A bank of retrievers, shared by several global retrievers. More...

class  NLPACS::CRetrieverInstance
 An instance of a local retriever. More...

class  NLPACS::CRotSurfaceDesc
 Description of the contact of a rot collision against a chain. More...

class  NLPACS::CSurfaceIdent
 Ident of a surface. More...

class  NLPACS::CCollisionSurfaceTemp::CSurfaceLUTEntry
class  NLPACS::CLocalRetriever::CTip
 A tip of several chains. More...

class  NLPACS::CLocalRetriever::CTopology
 A topology. More...

class  NLPACS::CRetrievableSurface::CSurfaceLink
 A link from the current surface to a neighbor surface through a chain. More...

struct  NLPACS::CRetrievableSurface::TLoop
class  NLPACS::CSurfaceQuadTree
class  NLPACS::UCollisionDesc
 Description of the contact of a collision. More...

class  NLPACS::UGlobalPosition
 The global position in the the global retriever. More...

class  NLPACS::UGlobalRetriever
 A class that allows to retrieve surface in a large amount of zones (referred as instances.). More...

class  NLPACS::ULocalPosition
 An estimation of the position of a point on a specified surface. More...

class  NLPACS::UMoveContainer
 A container for movable objects Some constraints: * The move bounding box must be lower than the cell size. More...

class  NLPACS::UMovePrimitive
 Description of movables primitives. More...

class  NLPACS::UPrimitiveBlock
 Block of pacs primitives, user interface. More...

class  NLPACS::URetrieverBank
 <Class description>. More...

class  NLPACS::UTriggerInfo
 Description of the contact of a collision. More...

class  NLPACS::CVector2s
 <Class description>. More...


Typedefs

typedef std::vector< CCollisionSurfaceDescTCollisionSurfaceDescVector

Enumerations

enum  {
+  NumCreatureModels = 4, +ModelRadius = 0, +ModelHeight = 1, +ModelInclineThreshold = 2, +
+  NumModelCharacteristics = 3 +
+ }
 The various features of the models (precisely, the indexes to the table of features). More...


Functions

void buildSnapping (CCollisionMeshBuild &cmb, CLocalRetriever &lr)
void buildSurfaces (CCollisionMeshBuild &cmb, CLocalRetriever &lr)
void floodFillSurfaces (CCollisionMeshBuild &cmb, vector< CInteriorSurface > &surfaces)
void resetEdgeFlags (CCollisionMeshBuild &cmb)
void followBorder (CInteriorSurface &surface, uint first, uint edge, uint sens, vector< CVector > &vstore, bool &loop)
void computeSurfaceBorders (CInteriorSurface &surface, vector< CInteriorBorder > &borders)
void computeSurfaceCenter (CInteriorSurface &surface)
void computeSurfaceQuadTree (CInteriorSurface &surface, CSurfaceQuadTree &quad)
void buildExteriorMesh (CCollisionMeshBuild &cmb, CExteriorMesh &em)
void linkExteriorToInterior (CLocalRetriever &lr)
bool computeRetriever (CCollisionMeshBuild &cmb, CLocalRetriever &lr, CVector &translation, string &error, bool useCmbTrivialTranslation)
 Computation functions, returns false if false. More...

float testCirclePoint (const CVector2f &start, const CVector2f &delta, float radius, const CVector2f &point)
bool isStrictlyLess (const CVector &a, const CVector &b)
bool isStrictlyGreater (const CVector &a, const CVector &b)
uint secondDegree (double a, double b, double c, double &s0, double &s1)

Variables

const uint32 StartEdgeCollideNodeSize = 128
const uint32 StartCollisionChainSize = 128
const uint32 StartEdgeChainEntrySize = 1024
const uint32 StartCollisionDescSize = 64
const uint32 StartCollisionInstanceSize = 64
const float EdgeCollideEpsilon = 1e-5f
float Models [NumCreatureModels][NumModelCharacteristics]
 The features of the models, as floats. More...

const float SnapPrecision = 1024
 Precision of Snap. 1/1024 meter. If you change this, CEdgeCollide::testPointMove() won't work. More...

const float Vector2sAccuracy = 128.0f
+


Typedef Documentation

+

+ + + + +
+ + +
typedef std::vector<CCollisionSurfaceDesc> NLPACS::TCollisionSurfaceDescVector +
+
+ + + + + +
+   + + +

+ +

+Definition at line 110 of file collision_desc.h. +

+Referenced by NLPACS::CEdgeQuad::build, NLPACS::CPrimitiveWorldImage::evalCollision, and NLPACS::CMoveContainer::evalOneTerrainCollision.

+


Enumeration Type Documentation

+

+ + + + +
+ + +
anonymous enum +
+
+ + + + + +
+   + + +

+The various features of the models (precisely, the indexes to the table of features). +

+

+Enumeration values:
+ + + + + + +
NumCreatureModels  +
ModelRadius  +
ModelHeight  +
ModelInclineThreshold  +
NumModelCharacteristics  +
+
+ +

+Definition at line 44 of file retrievable_surface.h.

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void buildExteriorMesh CCollisionMeshBuild  cmb,
CExteriorMesh  em
+
+ + + + + +
+   + + +

+ +

+Definition at line 430 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLPACS::buildSnapping CCollisionMeshBuild  cmb,
CLocalRetriever  lr
+
+ + + + + +
+   + + +

+ +

+Definition at line 404 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLPACS::buildSurfaces CCollisionMeshBuild  cmb,
CLocalRetriever  lr
+
+ + + + + +
+   + + +

+ +

+Definition at line 365 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool NLPACS::computeRetriever CCollisionMeshBuild  cmb,
CLocalRetriever  lr,
NLMISC::CVector  translation,
std::string &   error,
bool   useCmbTrivialTranslation = true
+
+ + + + + +
+   + + +

+Computation functions, returns false if false. +

+ +

+Definition at line 616 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void computeSurfaceBorders CInteriorSurface  surface,
vector< CInteriorBorder > &   borders
+
+ + + + + +
+   + + +

+ +

+Definition at line 240 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + +
void computeSurfaceCenter CInteriorSurface  surface
+
+ + + + + +
+   + + +

+ +

+Definition at line 304 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void computeSurfaceQuadTree CInteriorSurface  surface,
CSurfaceQuadTree  quad
+
+ + + + + +
+   + + +

+ +

+Definition at line 331 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void floodFillSurfaces CCollisionMeshBuild  cmb,
vector< CInteriorSurface > &   surfaces
+
+ + + + + +
+   + + +

+ +

+Definition at line 109 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void followBorder CInteriorSurface  surface,
uint   first,
uint   edge,
uint   sens,
vector< CVector > &   vstore,
bool &   loop
+
+ + + + + +
+   + + +

+ +

+Definition at line 173 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool isStrictlyGreater const CVector &   a,
const CVector &   b
[inline, static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file exterior_mesh.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool isStrictlyLess const CVector &   a,
const CVector &   b
[inline, static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 40 of file exterior_mesh.cpp.

+

+ + + + +
+ + + + + + + + + + +
void linkExteriorToInterior CLocalRetriever  lr
+
+ + + + + +
+   + + +

+ +

+Definition at line 513 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + +
void resetEdgeFlags CCollisionMeshBuild  cmb
+
+ + + + + +
+   + + +

+ +

+Definition at line 160 of file build_indoor.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
uint secondDegree double   a,
double   b,
double   c,
double &   s0,
double &   s1
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 539 of file primitive_world_image.cpp. +

+Referenced by NLPACS::CPrimitiveWorldImage::evalCollisionOCoverOC, and NLPACS::CPrimitiveWorldImage::evalCollisionPoverOC.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
float testCirclePoint const CVector2f &   start,
const CVector2f &   delta,
float   radius,
const CVector2f &   point
[inline, static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 194 of file edge_collide.cpp. +

+Referenced by NLPACS::CEdgeCollide::testCircleMove.

+


Variable Documentation

+

+ + + + +
+ + +
const float NLPACS::EdgeCollideEpsilon = 1e-5f [static] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 39 of file edge_collide.cpp. +

+Referenced by NLPACS::CEdgeCollide::testEdgeMove.

+

+ + + + +
+ + +
float NLPACS::Models +
+
+ + + + + +
+   + + +

+Initial value:

+{
+        { 0.5f, 1.0f, -1.0f },
+        { 0.8f, 2.0f, -0.5f },
+        { 2.0f, 4.0f, +0.5f },
+        { 4.0f, 8.0f, +0.707f }
+}
The features of the models, as floats. +

+ +

+Definition at line 34 of file retrievable_surface.cpp.

+

+ + + + +
+ + +
const float NLPACS::SnapPrecision = 1024 +
+
+ + + + + +
+   + + +

+Precision of Snap. 1/1024 meter. If you change this, CEdgeCollide::testPointMove() won't work. +

+ +

+Definition at line 46 of file retriever_instance.h. +

+Referenced by NLPACS::CGlobalRetriever::doMove, and NLPACS::CRetrieverInstance::snapVector.

+

+ + + + +
+ + +
const uint32 NLPACS::StartCollisionChainSize = 128 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 37 of file collision_surface_temp.cpp. +

+Referenced by NLPACS::CCollisionSurfaceTemp::CCollisionSurfaceTemp.

+

+ + + + +
+ + +
const uint32 NLPACS::StartCollisionDescSize = 64 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 39 of file collision_surface_temp.cpp. +

+Referenced by NLPACS::CCollisionSurfaceTemp::CCollisionSurfaceTemp.

+

+ + + + +
+ + +
const uint32 NLPACS::StartCollisionInstanceSize = 64 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 40 of file collision_surface_temp.cpp. +

+Referenced by NLPACS::CCollisionSurfaceTemp::CCollisionSurfaceTemp.

+

+ + + + +
+ + +
const uint32 NLPACS::StartEdgeChainEntrySize = 1024 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 38 of file collision_surface_temp.cpp. +

+Referenced by NLPACS::CCollisionSurfaceTemp::CCollisionSurfaceTemp.

+

+ + + + +
+ + +
const uint32 NLPACS::StartEdgeCollideNodeSize = 128 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 36 of file collision_surface_temp.cpp. +

+Referenced by NLPACS::CCollisionSurfaceTemp::CCollisionSurfaceTemp.

+

+ + + + +
+ + +
const float NLPACS::Vector2sAccuracy = 128.0f +
+
+ + + + + +
+   + + +

+ +

+Definition at line 38 of file vector_2s.h. +

+Referenced by NLPACS::CGlobalRetriever::doMove, NLPACS::CVector2s::operator *, NLPACS::CVector2s::pack, NLPACS::CLocalRetriever::retrievePosition, NLPACS::CLocalRetriever::snapToInteriorGround, NLPACS::CVector2s::sqrnorm, and NLPACS::CVector2s::unpack.

+ + + +
                                                                                                                                                                    +

+ + -- cgit v1.2.1