NLPACS::UGlobalPosition Class Reference

#include <u_global_position.h>

Inheritance diagram for NLPACS::UGlobalPosition:

NLPACS::CGlobalRetriever::CGlobalPosition

Detailed Description

The global position in the the global retriever. Contains an instance id and a local position within the instance.
Author:
Benjamin Legros

Nevrax France

Date:
2001

Definition at line 71 of file u_global_position.h.

Public Types

enum  TType { Unspecified = 0, Landscape, Interior }

Public Member Functions

void setKeepZ (const UGlobalPosition &other)

Data Fields

sint32 InstanceId
 The id of the instance referred by this global position.

ULocalPosition LocalPosition
 The local position within the CLocalRetriever referred by the instance (cf. InstanceId).


Member Enumeration Documentation

enum NLPACS::UGlobalPosition::TType
 

Enumeration values:
Unspecified 
Landscape 
Interior 

Definition at line 75 of file u_global_position.h.

00076         {
00077                 Unspecified = 0,
00078                 Landscape,
00079                 Interior
00080         };


Member Function Documentation

void NLPACS::UGlobalPosition::setKeepZ const UGlobalPosition other  )  [inline]
 

Definition at line 89 of file u_global_position.h.

References InstanceId, LocalPosition, and NLPACS::ULocalPosition::setKeepZ().

Referenced by NLPACS::CPrimitiveWorldImage::CPosition::setGlobalPosKeepZ().

00090         {
00091                 InstanceId = other.InstanceId;
00092                 LocalPosition.setKeepZ(other.LocalPosition);
00093         }


Field Documentation

sint32 NLPACS::UGlobalPosition::InstanceId
 

The id of the instance referred by this global position.

Definition at line 83 of file u_global_position.h.

Referenced by NLPACS::CEdgeQuad::build(), NLPACS::CGlobalRetriever::distanceToBorder(), NLPACS::CGlobalRetriever::doMove(), NLPACS::CGlobalRetriever::findAStarPath(), NLPACS::CGlobalRetriever::getBorders(), NLPACS::CGlobalRetriever::getDoubleGlobalPosition(), NLPACS::CGlobalRetriever::getGlobalPosition(), NLPACS::CGlobalRetriever::getIdentifier(), NLPACS::CGlobalRetriever::getLocalRetrieverId(), NLPACS::CGlobalRetriever::getMaterial(), NLPACS::CGlobalRetriever::getMeanHeight(), NLPACS::CGlobalRetriever::insurePosition(), NLPACS::CGlobalRetriever::isInterior(), NLPACS::CGlobalRetriever::isWaterPosition(), NLPACS::CGlobalRetriever::retrievePosition(), setKeepZ(), NLPACS::CGlobalRetriever::testBBoxMove(), NLPACS::CGlobalRetriever::testBBoxRot(), NLPACS::CGlobalRetriever::testCollisionWithCollisionChains(), NLPACS::CGlobalRetriever::testCylinderMove(), NLPACS::CGlobalRetriever::testMovementWithCollisionChains(), and NLPACS::CGlobalRetriever::testPosition().

ULocalPosition NLPACS::UGlobalPosition::LocalPosition
 

The local position within the CLocalRetriever referred by the instance (cf. InstanceId).

Definition at line 86 of file u_global_position.h.

Referenced by NLPACS::CEdgeQuad::build(), NLPACS::CGlobalRetriever::distanceToBorder(), NLPACS::CGlobalRetriever::doMove(), NLPACS::CGlobalRetriever::findAStarPath(), NLPACS::CGlobalRetriever::findPath(), NLPACS::CGlobalRetriever::getDoubleGlobalPosition(), NLPACS::CGlobalRetriever::getGlobalPosition(), NLPACS::CGlobalRetriever::getMaterial(), NLPACS::CGlobalRetriever::getMeanHeight(), NLPACS::CGlobalRetriever::insurePosition(), NLPACS::CGlobalRetriever::isWaterPosition(), NLPACS::CGlobalRetriever::retrievePosition(), NLPACS::CPrimitiveWorldImage::CPosition::setGlobalPos(), setKeepZ(), NLPACS::CGlobalRetriever::testBBoxMove(), NLPACS::CGlobalRetriever::testBBoxRot(), NLPACS::CGlobalRetriever::testCollisionWithCollisionChains(), NLPACS::CGlobalRetriever::testCylinderMove(), NLPACS::CGlobalRetriever::testMovementWithCollisionChains(), NLPACS::CGlobalRetriever::testPosition(), and NLPACS::CGlobalRetriever::updateHeight().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 14:25:23 2004 for NeL by doxygen 1.3.6