![]() |
VR-Forces 5.0.3 Developer's Guide
|
Lua object class which represents a terrain reasoning job.

Public Types | |
| typedef std::list< DtLocation3D > | Points |
Public Member Functions | |
| DtLuaFindSinglePositionQueryJob () | |
| virtual | ~DtLuaFindSinglePositionQueryJob () |
| luabind::object | getObject (lua_State *L, int &index, std::string &message) |
| luabind::object | getDebugObject (lua_State *L) |
| virtual void | cancel (lua_State *L) |
| DtString | serialize () |
| bool | deserialize (const DtString &) |
| DtString | objectType () const |
| boost::shared_ptr < DtLuaFindSinglePositionQueryJob > | shared_from_this () |
| boost::shared_ptr< const DtLuaFindSinglePositionQueryJob > | shared_from_this () const |
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 < DtLuaFindSinglePositionQueryJob > | Make (DtSimulationServices *, const std::list< DtLocation3D > &targetAreaCorners, const DtLocation3D &pivotPoint, double targetHeightMeters, double viewHeightMeters, double hideHeightMeters, double forwardBackSearchLimitMeters, double forwardBackSearchIntervalMeters, double maxSlopeDegrees, bool bDebug=false) |
| static DtAsciiSerializable * | creator () |
Protected Member Functions | |
| DtLuaFindSinglePositionQueryJob (DtSimulationServices *, const std::list< DtLocation3D > &targetAreaCorners, const DtLocation3D &pivotPoint, double targetHeightMeters, double viewHeightMeters, double hideHeightMeters, double forwardBackSearchLimitMeters, double forwardBackSearchIntervalMeters, double maxSlopeDegrees, bool bDebug=false) | |
| void | start () |
| void | run (const DtAlgorithmManager &mgr=DtAlgorithmManager()) |
| void | taskComplete () |
Protected Member Functions inherited from DtLuaAsyncJob | |
| DtLuaAsyncJob () | |
| DtLuaAsyncJob (DtSimulationServices *) | |
Protected Attributes | |
| Points | myTargetAreaCorners |
| DtLocation3D | myPivotPoint |
| double | myHideHeight |
| double | myViewHeight |
| double | myTargetHeight |
| double | myForwardBackSearchLimit |
| double | myForwardBackSearchInterval |
| double | myMaxSlopeDegrees |
| bool | bMyDebug |
| DtAsyncJobStatus | myStatus |
| std::vector< DtLocation3D > | myFoundPositionPair |
| boost::shared_ptr < DtAsyncJobMapEntry > | myJobEntry |
Protected Attributes inherited from DtLuaAsyncJob | |
| DtSimulationServices * | mySimulationServices |
| typedef std::list<DtLocation3D> DtLuaFindSinglePositionQueryJob::Points |
| DtLuaFindSinglePositionQueryJob::DtLuaFindSinglePositionQueryJob | ( | ) |
For creating when deserializing.
|
virtual |
DTOR.
|
protected |
For creating from lua call.
|
static |
|
virtual |
Retrieve value If job is done, index will be > 0 and returned table will be Location3D points found.
Implements DtLuaAsyncJob.
|
inlinevirtual |
Retrieve debug data, if available. Default return value is an empty table.
Implements DtLuaAsyncJob.
|
inlinevirtual |
Currently a no-op.
Implements DtLuaAsyncJob.
|
static |
DtAsciiSerializable functions.
|
virtual |
The following characters are reserved and cannot be used in serialization: '|', ':'.
Implements DtAsciiSerializable.
This function should take the string that was serialized via serialize() and fill this object with the correct data.
Implements DtAsciiSerializable.
|
virtual |
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 DtAsciiSerializable.
| boost::shared_ptr<DtLuaFindSinglePositionQueryJob> DtLuaFindSinglePositionQueryJob::shared_from_this | ( | ) |
| boost::shared_ptr<const DtLuaFindSinglePositionQueryJob> DtLuaFindSinglePositionQueryJob::shared_from_this | ( | ) | const |
|
protected |
|
protected |
|
protected |
Called by task object whenever it is done.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |