NLPACS::CLocalRetriever::CLocalPosition Class Reference

#include <local_retriever.h>

Inheritance diagram for NLPACS::CLocalRetriever::CLocalPosition:

NLPACS::ULocalPosition

Detailed Description

An estimation of the position of a point on a specified surface. The estimated position is LOCAL reference to the retriever axis.
Author:
Benjamin Legros

Nevrax France

Date:
2001

Definition at line 140 of file local_retriever.h.

Public Member Functions

 CLocalPosition (sint32 surface=-1, const NLMISC::CVector &estimation=NLMISC::CVector::Null)
 Constructor.

void setKeepZ (const ULocalPosition &other)

Data Fields

NLMISC::CVector Estimation
 The best position estimation of the point snapped on the surface. This is a CLocalRetriever local axis position.

sint32 Surface
 The id of the surface corresponding to the local position.


Constructor & Destructor Documentation

NLPACS::CLocalRetriever::CLocalPosition::CLocalPosition sint32  surface = -1,
const NLMISC::CVector estimation = NLMISC::CVector::Null
[inline]
 

Constructor.

Definition at line 144 of file local_retriever.h.

References sint32.

00145                 {
00146                         Surface=surface;
00147                         Estimation=estimation;
00148                 }


Member Function Documentation

void NLPACS::ULocalPosition::setKeepZ const ULocalPosition other  )  [inline, inherited]
 

Definition at line 54 of file u_global_position.h.

References NLPACS::ULocalPosition::Estimation, NLMISC::CVector::set(), NLPACS::ULocalPosition::Surface, NLMISC::CVector::x, NLMISC::CVector::y, and NLMISC::CVector::z.

Referenced by NLPACS::UGlobalPosition::setKeepZ().

00055         {
00056                 Surface = other.Surface;
00057                 Estimation.set(other.Estimation.x,
00058                                            other.Estimation.y,
00059                                            Estimation.z);
00060         }


Field Documentation

NLMISC::CVector NLPACS::ULocalPosition::Estimation [inherited]
 

The best position estimation of the point snapped on the surface. This is a CLocalRetriever local axis position.

Definition at line 51 of file u_global_position.h.

Referenced by NLPACS::CLocalRetriever::distanceToBorder(), NLPACS::CGlobalRetriever::doMove(), NLPACS::CLocalRetriever::findPath(), NLPACS::CGlobalRetriever::findPath(), NLPACS::CGlobalRetriever::getDoubleGlobalPosition(), NLPACS::CGlobalRetriever::getGlobalPosition(), NLPACS::CLocalRetriever::getHeight(), NLPACS::CGlobalRetriever::getMeanHeight(), NLPACS::CLocalRetriever::insurePosition(), NLPACS::CRetrieverInstance::retrievePosition(), NLPACS::CGlobalRetriever::retrievePosition(), NLPACS::CPrimitiveWorldImage::CPosition::setGlobalPos(), NLPACS::ULocalPosition::setKeepZ(), NLPACS::CRetrieverInstance::snap(), NLPACS::CLocalRetriever::snapToInteriorGround(), NLPACS::CGlobalRetriever::testBBoxMove(), NLPACS::CGlobalRetriever::testBBoxRot(), NLPACS::CGlobalRetriever::testCollisionWithCollisionChains(), NLPACS::CGlobalRetriever::testCylinderMove(), NLPACS::CGlobalRetriever::testMovementWithCollisionChains(), NLPACS::CLocalRetriever::testPosition(), NLPACS::CGlobalRetriever::testPosition(), and NLPACS::CGlobalRetriever::updateHeight().

sint32 NLPACS::ULocalPosition::Surface [inherited]
 

The id of the surface corresponding to the local position.

Definition at line 48 of file u_global_position.h.

Referenced by NLPACS::CEdgeQuad::build(), NLPACS::CLocalRetriever::distanceToBorder(), NLPACS::CGlobalRetriever::doMove(), NLPACS::CGlobalRetriever::findAStarPath(), NLPACS::CLocalRetriever::findPath(), NLPACS::CGlobalRetriever::findPath(), NLPACS::CLocalRetriever::getHeight(), NLPACS::CGlobalRetriever::getMaterial(), NLPACS::CGlobalRetriever::getMeanHeight(), NLPACS::CLocalRetriever::insurePosition(), NLPACS::CGlobalRetriever::isWaterPosition(), NLPACS::CRetrieverInstance::retrievePosition(), NLPACS::CGlobalRetriever::retrievePosition(), NLPACS::ULocalPosition::setKeepZ(), NLPACS::CLocalRetriever::snapToInteriorGround(), NLPACS::CGlobalRetriever::testBBoxMove(), NLPACS::CGlobalRetriever::testBBoxRot(), NLPACS::CGlobalRetriever::testCollisionWithCollisionChains(), NLPACS::CGlobalRetriever::testCylinderMove(), NLPACS::CGlobalRetriever::testMovementWithCollisionChains(), and NLPACS::CLocalRetriever::testPosition().


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