![]() |
VR-Forces 4.10 Class Documentation
|
Lua object class for finding random points within a nav area. More...

Public Member Functions | |
| DtLuaNavRandomPointJob () | |
| For creating when deserializing. More... | |
| ~DtLuaNavRandomPointJob () | |
| DTOR. More... | |
| virtual luabind::object | getObject (lua_State *L, int &index, std::string &message) |
| Retrieve value - in this case, a table of points. More... | |
| virtual luabind::object | getDebugObject (lua_State *L) |
| Retrieve debug data - in this case a table of points relevant to finding an access point. More... | |
| virtual void | cancel (lua_State *L) |
| Cancels the job. More... | |
| virtual DtString | objectType () const |
| Should return the string name of this object. More... | |
| virtual void | start () |
| virtual void | run (const DtAlgorithmManager &mgr=DtAlgorithmManager()) |
| virtual bool | complete () |
| virtual void | taskComplete () |
| Called by task object whenever it is done. More... | |
Public Member Functions inherited from DtLuaNavJob | |
| DtLuaNavJob () | |
| For creating when deserializing. More... | |
| ~DtLuaNavJob () | |
| DTOR. More... | |
| void | addMessage (DtAlgorithmManager::Severity, std::string) |
| Sets the output message in a thread-safe manner. More... | |
| virtual DtString | serialize () |
| DtAsciiSerializable functions. More... | |
| virtual bool | deserialize (const DtString &) |
| This function should take the string that was serialized via serialize() and fill this object with the correct data. More... | |
Public Member Functions inherited from DtLuaAsyncJob | |
| void | init (void *userData) |
| Called by framework with userData set to the DtSimManager. More... | |
Public Member Functions inherited from DtAsciiSerializable | |
| DtAsciiSerializable () | |
| The implementer of this interface should be sure to create a creator function to create an empty object that returns a pointer to this interface. More... | |
| DtAsciiSerializable (const DtAsciiSerializable &orig) | |
| virtual | ~DtAsciiSerializable () |
| virtual std::string | objectTypeC () const |
| Returns a std::string version of the objectType. More... | |
Static Public Member Functions | |
| static boost::shared_ptr < DtLuaNavRandomPointJob > | Make (DtSimManager *mgr, DtString navigationProfile, DtLocation3D startPoint, double minDistanceFromStart, double maxDistanceFromStart, DtLocation3D accessPoint=DtLocation3D(DtVector::zero()), Points boundingArea=Points(), int numberOfPoints=1, double minDistanceBetweenPoints=0.0, DtString placementRestriction=DtMovementModeFree, bool isStrict=true, bool tightlyPack=false, bool needLos=false, bool groundClamp=false, Points leftOfLine=Points(), const DtVrfObject *parentObject=0) |
| static DtAsciiSerializable * | creator () |
| DtAsciiSerializable functions. More... | |
Protected Member Functions | |
| DtLuaNavRandomPointJob (DtSimManager *mgr, DtString navigationProfile, DtLocation3D startPoint, double minDistanceFromStart, double maxDistanceFromStart, DtLocation3D accessPoint=DtLocation3D(DtVector::zero()), Points boundingArea=Points(), int numberOfPoints=1, double minDistanceBetweenPoints=0.0, DtString placementRestriction=DtMovementModeFree, bool isStrict=true, bool tightlyPack=false, bool needLos=false, bool groundClamp=false, Points leftOfLine=Points(), const DtVrfObject *parentObject=0) | |
| For creating from lua call. More... | |
Protected Member Functions inherited from DtLuaNavJob | |
| DtLuaNavJob (DtSimManager *mgr, DtString navigationProfile, DtLocation3D startPoint, DtLocation3D accessPoint=DtLocation3D(DtVector::zero()), Points boundingArea=Points()) | |
| For creating from lua call. More... | |
Protected Member Functions inherited from DtLuaAsyncJob | |
| DtLuaAsyncJob () | |
| DtLuaAsyncJob (DtSimManager *) | |
Protected Attributes | |
| int | myNumberOfPoints |
| double | myMinDistanceFromStart |
| double | myMaxDistanceFromStart |
| double | myMinDistanceBetweenPoints |
| DtString | myPlacementRestriction |
| bool | myIsStrict |
| bool | myTightlyPack |
| bool | myNeedLos |
| bool | myGroundClamp |
| Points | myLeftOfLine |
| Points | myResultPoints |
| Points | myDebugPoints |
| const DtVrfObject * | myParentObject |
| bool | myRanOnce |
| bool | myGenerated |
Protected Attributes inherited from DtLuaNavJob | |
| DtString | myNavigationProfile |
| DtLocation3D | myStartPoint |
| DtLocation3D | myAccessPoint |
| Points | myBoundingArea |
| std::string | myMessage |
| DtNavAreaQuery::Ptr | myQuery |
Protected Attributes inherited from DtLuaAsyncJob | |
| DtSimManager * | mySimManager |
Additional Inherited Members | |
Public Types inherited from DtLuaNavJob | |
| typedef std::list< DtLocation3D > | Points |
Lua object class for finding random points within a nav area.
| DtLuaNavRandomPointJob::DtLuaNavRandomPointJob | ( | ) |
For creating when deserializing.
| DtLuaNavRandomPointJob::~DtLuaNavRandomPointJob | ( | ) |
DTOR.
|
protected |
For creating from lua call.
|
static |
|
virtual |
Retrieve value - in this case, a table of points.
Implements DtLuaNavJob.
|
virtual |
Retrieve debug data - in this case a table of points relevant to finding an access point.
Reimplemented from DtLuaNavJob.
|
virtual |
Cancels the job.
Reimplemented from DtLuaNavJob.
|
static |
DtAsciiSerializable functions.
|
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 DtLuaNavRandomPointJobType.
|
virtual |
Reimplemented from DtLuaNavJob.
|
virtual |
Implements DtLuaNavJob.
|
virtual |
Reimplemented from DtLuaNavJob.
|
virtual |
Called by task object whenever it is done.
Implements DtLuaNavJob.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |