Public Member Functions | |
TrafficSimulationCell (const Resources::Roads::Navigation::NavigationGraph *graph, IVehicleFactory &vehicleFactory, VehicleRenderablesModel *vehicleRenderables, Resources::Terrain::Heights::TerrainHeightProvider &terrainHeightProvider, const Rendering::EnvironmentFlatteningService &environmentFlatteningService) | |
const TVehicleVector & | GetVehicles () const |
const Resources::Roads::Navigation::NavigationGraph * | GetGraph () const |
void | ManagePopulation (bool isOutsideView) |
void | Update (float deltaSeconds, float speedMultiplier, const dv3 &ecefInterestPoint) |
void | AddVehicles (const TVehicleVector vehicles) |
void | AddVehicle (IVehicle *vehicle) |
void | RemoveVehicle (IVehicle *vehicle) |
void | PopulateInitialVehicles () |
void | PopulateRenderableList (const float maxDistanceForLandVehiclesSq, const dv3 &cameraEcefLocation) |
void | SetModelNameSuffixOnVehicles (const std::string suffix) |
void | ReleaseVehicles () |
Additional Inherited Members | |
Protected Member Functions inherited from Eegeo::NonCopyable | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |