|
WSF
|
#include <WsfZoneRouteFinder.hpp>


Public Member Functions | |
| WsfZoneRouteFinder (WsfSimulation *aSimulationPtr) | |
| WsfZoneRouteFinder (const WsfZoneRouteFinder &aSrc) | |
| ~WsfZoneRouteFinder () override | |
| WsfZoneRouteFinder & | operator= (const WsfZoneRouteFinder &)=delete |
| WsfZoneRouteFinder * | Clone () const override |
| void | ClearAvoidanceZones () |
| void | DrawGraph (double aDuration, const UtVec3d &aColor) |
| void | DrawAvoidances (double aDuration, const UtVec3d &aColor) |
| WsfSimulation * | GetSimulation () const |
| void | AvoidZone (WsfZone *aZonePtr) |
| const WsfZone * | GetAvoidanceZone (size_t aIndex) const noexcept |
| size_t | NumberOfAvoidanceZones () const noexcept |
| WsfRoute * | RouteAroundZones (const WsfGeoPoint &aFrom, const WsfGeoPoint &aTo, double aSpeed) |
| Public Member Functions inherited from WsfObject | |
| WsfObject () | |
| This is the constructor for the WsfObject class. | |
| ~WsfObject () override | |
| This is the destructor for the WsfObject class. | |
| const char * | GetScriptClassName () const override |
| virtual bool | ProcessInput (UtInput &aInput) |
| const std::string & | GetType () const |
| WsfStringId | GetTypeId () const |
| Get the string ID of the 'type' of the object. | |
| void | SetType (WsfStringId aType) |
| const std::string & | GetBaseType () const |
| WsfStringId | GetBaseTypeId () const |
| const TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (const WsfObject &aRhs) |
| Assignment operator. | |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| For XIO (de)serialization. | |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
Static Public Member Functions | |
| static std::unique_ptr< UtScriptClass > | CreateScriptClass (const std::string &aClassName, UtScriptTypes *aScriptTypesPtr) |
Additional Inherited Members | |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
| WsfZoneRouteFinder::WsfZoneRouteFinder | ( | WsfSimulation * | aSimulationPtr | ) |
References WsfDraw::cELLIPSE_LINE, WsfDraw::cFOREVER, and WsfDraw::cSOLID.
Referenced by Clone(), operator=(), and WsfZoneRouteFinder().
| WsfZoneRouteFinder::WsfZoneRouteFinder | ( | const WsfZoneRouteFinder & | aSrc | ) |
References WsfZoneRouteFinder().
|
override |
| void WsfZoneRouteFinder::AvoidZone | ( | WsfZone * | aZonePtr | ) |
| void WsfZoneRouteFinder::ClearAvoidanceZones | ( | ) |
|
inlineoverridevirtual |
Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.
Implements WsfObject.
References WsfZoneRouteFinder().
Referenced by WsfScriptZoneRouteFinderClass::Clone().
|
static |
Referenced by WsfScriptManager::RegisterTypes().
| void WsfZoneRouteFinder::DrawAvoidances | ( | double | aDuration, |
| const UtVec3d & | aColor ) |
| void WsfZoneRouteFinder::DrawGraph | ( | double | aDuration, |
| const UtVec3d & | aColor ) |
|
noexcept |
Get avoidance zone
| aIndex | is the index of the avoidance zone |
|
inline |
|
inlinenoexcept |
Get the number of avoidance zones
|
delete |
References WsfZoneRouteFinder().
| WsfRoute * WsfZoneRouteFinder::RouteAroundZones | ( | const WsfGeoPoint & | aFrom, |
| const WsfGeoPoint & | aTo, | ||
| double | aSpeed ) |