All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Eegeo::Traffic::PathedVehicle Class Reference
Inheritance diagram for Eegeo::Traffic::PathedVehicle:
Eegeo::NonCopyable

Public Member Functions

 PathedVehicle (const Resources::Roads::Navigation::NavigationGraph *navGraph, const std::string &modelName, const std::string &modelNamesuffix, const int beginningRoadIndex, const bool drivesOnRight, const Config::TrafficSimulationRoadClassFilter &roadClassFilter, const TrafficSimulationCellsModel *cellsModel, Eegeo::Random *random, float velocity, float scale, float closeEnoughDistSq=CLOSE_ENOUGH_DISTANCE_SQR, float centerOfLaneOffset=CENTER_OF_LANE_OFFSET, float turningAngle=TURNING_ANGLE)
 
const Eegeo::dv3GetWorldPosition () const
 
const Eegeo::v3GetForwardsVector () const
 
const std::string & GetFullModelNodeName () const
 
TrafficSimulationCellGetNextCell ()
 
bool GetInitialised ()
 
void ClearNextCell ()
 
void Update (float elapsedSeconds, float speedMultiplier, const dv3 &ecefInterestPoint)
 
void Initialise (const dv3 &ecefInterestPoint)
 
void UpdateVelocity (float velocity)
 
float GetDistanceToEndOfCurrentPath ()
 
bool IsOnFinalRoadInPath (float &out_distanceToEnd)
 
bool GetVehicleOnDeadEnd ()
 
float Alpha ()
 
bool VehicleMarkedToRemove ()
 
float GetBoundsRadius () const
 
float GetScale () const
 
void FadeOutThenDestroyVehicle ()
 
bool IsPlayingDeathCeremony ()
 
float GetCollisionRadius () const
 
bool CanCollide () const
 
void SetModelNodeNameSuffix (const std::string &suffix)
 
bool IsUnderground () const
 
void SetIsUnderground (bool isUnderground)
 
bool NeedsUndergroundCheck ()
 

Additional Inherited Members

- Protected Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

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