Public Methods |
virtual bool | testRaytrace (const NLMISC::CVectorD &v0, const NLMISC::CVectorD &v1)=0 |
| Make a raytrace test. For the time, always return false. More...
|
virtual const NLMISC::CAABBox & | getBBox () const=0 |
| Return the bounding box of the global retriever. More...
|
virtual float | getMeanHeight (const UGlobalPosition &pos) const=0 |
| Return the average height for a global position. More...
|
virtual sint32 | getIdentifier (const std::string &id) const=0 |
| Return the retriever id from the string id. More...
|
virtual const std::string & | getIdentifier (const UGlobalPosition &pos) const=0 |
| Returns a human readable identifier of the global position. More...
|
virtual bool | buildInstance (const std::string &id, const NLMISC::CVectorD &position, sint32 &instanceId)=0 |
| Builds an instance of retriever, and link it on the ground (or wherever). More...
|
virtual void | removeInstance (sint32 instanceId)=0 |
| Removes an instance of retriever (perform all unlinks necessary). More...
|
virtual uint32 | getMaterial (const UGlobalPosition &pos) const=0 |
| Returns the material corresponding to the global position. More...
|
virtual UGlobalPosition | retrievePosition (const NLMISC::CVector &estimated) const=0 |
| Retrieves the position of an estimated point in the global retriever. More...
|
virtual UGlobalPosition | retrievePosition (const NLMISC::CVectorD &estimated) const=0 |
| Retrieves the position of an estimated point in the global retriever (double instead.). More...
|
virtual UGlobalPosition | retrievePosition (const NLMISC::CVector &estimated, float threshold) const=0 |
| Retrieves the position of an estimated point in the global retriever. More...
|
virtual UGlobalPosition | retrievePosition (const NLMISC::CVectorD &estimated, double threshold) const=0 |
| Retrieves the position of an estimated point in the global retriever (double instead.) with a snapping threshold. More...
|
virtual bool | isInterior (const UGlobalPosition &pos) const=0 |
| Tests if the global position is a interior position. More...
|
virtual bool | isWaterPosition (const UGlobalPosition &pos, float &waterHeight) const=0 |
| Tests if the global position is immerged. More...
|
virtual float | distanceToBorder (const UGlobalPosition &pos) const=0 |
virtual void | getBorders (const UGlobalPosition &pos, std::vector< NLMISC::CLine > &edges)=0 |
virtual NLMISC::CVector | getGlobalPosition (const UGlobalPosition &global) const=0 |
| Converts a global position object into a 'human-readable' CVector. More...
|
virtual NLMISC::CVectorD | getDoubleGlobalPosition (const UGlobalPosition &global) const=0 |
| Converts a global position object into a 'human-readable' CVector (double instead.). More...
|
Static Public Methods |
UGlobalRetriever * | createGlobalRetriever (const char *globalRetriever, const URetrieverBank *retrieverBank) |
| Create a global retriever. More...
|
void | deleteGlobalRetriever (UGlobalRetriever *retriever) |
| Delete a global retriever. More...
|