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/a03121.html | 309 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 309 insertions(+) create mode 100644 docs/doxygen/nel/a03121.html (limited to 'docs/doxygen/nel/a03121.html') diff --git a/docs/doxygen/nel/a03121.html b/docs/doxygen/nel/a03121.html new file mode 100644 index 00000000..d47b2007 --- /dev/null +++ b/docs/doxygen/nel/a03121.html @@ -0,0 +1,309 @@ + + +NeL: NLPACS::CPrimitiveWorldImage::CPosition class Reference + + + +
+

NLPACS::CPrimitiveWorldImage::CPosition Class Reference

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

Public Member Functions

const UGlobalPositiongetGlobalPos () const
const NLMISC::CVectorDgetPos () const
void setGlobalPos (const UGlobalPosition &globalPosition, CGlobalRetriever &globalRetriver)
void setGlobalPosKeepZ (const UGlobalPosition &globalPosition, CGlobalRetriever &globalRetriver)
void setPos (const NLMISC::CVectorD &newPos)

Private Attributes

NLMISC::CVectorD _3dPosition
UGlobalPosition _GlobalPosition
+

Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
const UGlobalPosition& NLPACS::CPrimitiveWorldImage::CPosition::getGlobalPos  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 429 of file primitive_world_image.h. +

+Referenced by NLPACS::CPrimitiveWorldImage::doMove(), NLPACS::CPrimitiveWorldImage::evalCollision(), NLPACS::CPrimitiveWorldImage::getGlobalPosition(), and NLPACS::CPrimitiveWorldImage::reaction(). +

+

00430                 {
+00431                         return _GlobalPosition;
+00432                 }
+
+

+ + + + +
+ + + + + + + + + + +
const NLMISC::CVectorD& NLPACS::CPrimitiveWorldImage::CPosition::getPos void   )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 417 of file primitive_world_image.h. +

+References _3dPosition. +

+Referenced by NLPACS::CPrimitiveWorldImage::doMove(), NLPACS::CPrimitiveWorldImage::getFinalPosition(), NLPACS::CPrimitiveWorldImage::move(), NLPACS::CPrimitiveWorldImage::reaction(), and NLPACS::CPrimitiveWorldImage::setGlobalPosition(). +

+

00418                 {
+00419                         return _3dPosition;
+00420                 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLPACS::CPrimitiveWorldImage::CPosition::setGlobalPos const UGlobalPosition globalPosition,
CGlobalRetriever globalRetriver
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 435 of file primitive_world_image.h. +

+References _3dPosition, NLPACS::ULocalPosition::Estimation, NLPACS::CGlobalRetriever::getDoubleGlobalPosition(), NLPACS::CGlobalRetriever::getMeanHeight(), NLPACS::UGlobalPosition::LocalPosition, and NLMISC::CVector::z. +

+Referenced by NLPACS::CPrimitiveWorldImage::doMove(), NLPACS::CPrimitiveWorldImage::reaction(), and NLPACS::CPrimitiveWorldImage::setGlobalPosition(). +

+

00437                 {                       
+00438                         // Get position with global position
+00439                         _GlobalPosition=globalPosition;
+00440                         _GlobalPosition.LocalPosition.Estimation.z = globalRetriver.getMeanHeight(globalPosition);
+00441                         _3dPosition=globalRetriver.getDoubleGlobalPosition (_GlobalPosition);
+00442 //                      _3dPosition.z=(double)globalRetriver.getMeanHeight(globalPosition);                     
+00443                 }
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLPACS::CPrimitiveWorldImage::CPosition::setGlobalPosKeepZ const UGlobalPosition globalPosition,
CGlobalRetriever globalRetriver
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 445 of file primitive_world_image.h. +

+References _3dPosition, NLPACS::CGlobalRetriever::getDoubleGlobalPosition(), NLPACS::UGlobalPosition::setKeepZ(), NLMISC::CVectorD::x, and NLMISC::CVectorD::y. +

+Referenced by NLPACS::CPrimitiveWorldImage::doMove(), and NLPACS::CPrimitiveWorldImage::setGlobalPosition(). +

+

00447                 {
+00448                         _GlobalPosition.setKeepZ(globalPosition);
+00449                         NLMISC::CVectorD dPos = globalRetriver.getDoubleGlobalPosition (globalPosition);
+00450                         _3dPosition.x = dPos.x;
+00451                         _3dPosition.y = dPos.y;
+00452                 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLPACS::CPrimitiveWorldImage::CPosition::setPos const NLMISC::CVectorD newPos  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 423 of file primitive_world_image.h. +

+References _3dPosition. +

+Referenced by NLPACS::CPrimitiveWorldImage::doMove(), NLPACS::CPrimitiveWorldImage::reaction(), and NLPACS::CPrimitiveWorldImage::setGlobalPosition(). +

+

00424                 {
+00425                         _3dPosition=newPos;
+00426                 }
+
+


Field Documentation

+

+ + + + +
+ + +
NLMISC::CVectorD NLPACS::CPrimitiveWorldImage::CPosition::_3dPosition [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 411 of file primitive_world_image.h. +

+Referenced by getPos(), setGlobalPos(), setGlobalPosKeepZ(), and setPos().

+

+ + + + +
+ + +
UGlobalPosition NLPACS::CPrimitiveWorldImage::CPosition::_GlobalPosition [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 414 of file primitive_world_image.h.

+


The documentation for this class was generated from the following file: +
Generated on Tue Mar 16 14:20:56 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1