VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtLuaNavFindPathJob Class Reference

Lua object class which finds a path to the specified location.

Inheritance diagram for DtLuaNavFindPathJob:
Inheritance graph
[legend]

Public Member Functions

 DtLuaNavFindPathJob ()
 
 ~DtLuaNavFindPathJob ()
 
virtual luabind::object getObject (lua_State *L, int &index, std::string &message)
 
virtual luabind::object getDebugObject (lua_State *L)
 
virtual DtString objectType () const
 
virtual void start ()
 
virtual void run (const DtAlgorithmManager &mgr=DtAlgorithmManager())
 
virtual void taskComplete ()
 
- Public Member Functions inherited from DtLuaNavJob
 DtLuaNavJob ()
 
 ~DtLuaNavJob ()
 
virtual void cancel (lua_State *L)
 
void addMessage (DtAlgorithmManager::Severity, std::string)
 
virtual DtString serialize ()
 
virtual bool deserialize (const DtString &)
 
virtual bool complete ()
 
- Public Member Functions inherited from DtLuaAsyncJob
void init (void *userData)
 
- Public Member Functions inherited from DtAsciiSerializable
 DtAsciiSerializable ()
 
 DtAsciiSerializable (const DtAsciiSerializable &orig)
 
virtual ~DtAsciiSerializable ()
 
virtual std::string objectTypeC () const
 

Static Public Member Functions

static boost::shared_ptr
< DtLuaNavFindPathJob
Make (DtSimulationServices *mgr, DtString navigationProfile, DtLocation3D startPoint, DtLocation3D endPoint, bool useAbstractGraphs, const DtLocation3D &avoidLocation, double avoidanceRadius, DtActiveBotNavInterface *navIf=0)
 
static DtAsciiSerializablecreator ()
 

Protected Member Functions

 DtLuaNavFindPathJob (DtSimulationServices *mgr, DtString navigationProfile, DtLocation3D startPoint, DtLocation3D endPoint, bool useAbstractGraphs, const DtLocation3D &avoidLocation, double avoidanceRadius, DtActiveBotNavInterface *navIf=0)
 
- Protected Member Functions inherited from DtLuaNavJob
 DtLuaNavJob (DtSimulationServices *mgr, DtString navigationProfile, DtLocation3D startPoint, DtLocation3D accessPoint=DtLocation3D(DtVector::zero()), Points boundingArea=Points())
 
- Protected Member Functions inherited from DtLuaAsyncJob
 DtLuaAsyncJob ()
 
 DtLuaAsyncJob (DtSimulationServices *)
 

Protected Attributes

DtLocation3D myEndPoint
 
Points myPathPoints
 
bool myUseAbstractGraphs
 
DtLocation3D myAvoidLocation
 
double myAvoidanceRadius
 
DtActiveBotNavInterfacemyNavIf
 
double myPathCost
 
bool myGenerated
 
Points myDebugPoints
 
- Protected Attributes inherited from DtLuaNavJob
DtString myNavigationProfile
 
DtLocation3D myStartPoint
 
DtLocation3D myAccessPoint
 
Points myBoundingArea
 
std::string myMessage
 
DtNavAreaQuery::Ptr myQuery
 
- Protected Attributes inherited from DtLuaAsyncJob
DtSimulationServicesmySimulationServices
 

Additional Inherited Members

- Public Types inherited from DtLuaNavJob
typedef std::list< DtLocation3DPoints
 

Constructor & Destructor Documentation

DtLuaNavFindPathJob::DtLuaNavFindPathJob ( )

For creating when deserializing.

DtLuaNavFindPathJob::~DtLuaNavFindPathJob ( )

DTOR.

DtLuaNavFindPathJob::DtLuaNavFindPathJob ( DtSimulationServices mgr,
DtString  navigationProfile,
DtLocation3D  startPoint,
DtLocation3D  endPoint,
bool  useAbstractGraphs,
const DtLocation3D avoidLocation,
double  avoidanceRadius,
DtActiveBotNavInterface navIf = 0 
)
protected

For creating from lua call.

Member Function Documentation

static boost::shared_ptr<DtLuaNavFindPathJob> DtLuaNavFindPathJob::Make ( DtSimulationServices mgr,
DtString  navigationProfile,
DtLocation3D  startPoint,
DtLocation3D  endPoint,
bool  useAbstractGraphs,
const DtLocation3D avoidLocation,
double  avoidanceRadius,
DtActiveBotNavInterface navIf = 0 
)
static
virtual luabind::object DtLuaNavFindPathJob::getObject ( lua_State *  L,
int index,
std::string &  message 
)
virtual

Retrieve value - in this case, a series of points in a path.

Implements DtLuaNavJob.

virtual luabind::object DtLuaNavFindPathJob::getDebugObject ( lua_State *  L)
virtual

Retrieve debug data, if available.

Reimplemented from DtLuaNavJob.

static DtAsciiSerializable* DtLuaNavFindPathJob::creator ( )
static

DtAsciiSerializable functions.

virtual DtString DtLuaNavFindPathJob::objectType ( ) const
inlinevirtual

Should return the string name of this object. The object name should not be part of the serialization unless you want it to be, but you should take it into account when implementing both functions.

Implements DtLuaNavJob.

References DtLuaNavCoverPointJobType.

virtual void DtLuaNavFindPathJob::start ( )
virtual

Reimplemented from DtLuaNavJob.

virtual void DtLuaNavFindPathJob::run ( const DtAlgorithmManager mgr = DtAlgorithmManager())
virtual

Implements DtLuaNavJob.

virtual void DtLuaNavFindPathJob::taskComplete ( )
virtual

Called by task object whenever it is done.

Implements DtLuaNavJob.

Member Data Documentation

DtLocation3D DtLuaNavFindPathJob::myEndPoint
protected
Points DtLuaNavFindPathJob::myPathPoints
protected
bool DtLuaNavFindPathJob::myUseAbstractGraphs
protected
DtLocation3D DtLuaNavFindPathJob::myAvoidLocation
protected
double DtLuaNavFindPathJob::myAvoidanceRadius
protected
DtActiveBotNavInterface* DtLuaNavFindPathJob::myNavIf
protected
double DtLuaNavFindPathJob::myPathCost
protected
bool DtLuaNavFindPathJob::myGenerated
protected
Points DtLuaNavFindPathJob::myDebugPoints
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)