CARLA
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
ASoilTypeManager Class Reference

#include <SoilTypeManager.h>

+ Inheritance diagram for ASoilTypeManager:
+ Collaboration diagram for ASoilTypeManager:

Public Member Functions

void AddTerrainPropertiesToTile (int TileX, int TileY, FSoilTerramechanicsProperties TerrainProperties)
 
 ASoilTypeManager ()
 
void ClearTerrainPropertiesMap ()
 
FSoilTerramechanicsProperties GetGeneralTerrainProperties ()
 
FSoilTerramechanicsProperties GetTerrainPropertiesAtGlobalLocation (FVector VehicleLocation)
 
FSoilTerramechanicsProperties GetTerrainPropertiesAtLocalLocation (FVector VehicleLocation)
 
void SetGeneralTerrainProperties (FSoilTerramechanicsProperties TerrainProperties)
 
virtual void Tick (float DeltaSeconds) override
 

Public Attributes

TSubclassOf< AActorCarClass
 

Protected Member Functions

virtual void BeginPlay () override
 

Private Attributes

FSoilTerramechanicsProperties GeneralTerrainProperties
 
ALargeMapManagerLargeMapManager
 
TMap< FIntVector, FSoilTerramechanicsPropertiesTilesTerrainProperties
 

Detailed Description

Definition at line 42 of file SoilTypeManager.h.

Constructor & Destructor Documentation

◆ ASoilTypeManager()

ASoilTypeManager::ASoilTypeManager ( )

Definition at line 8 of file SoilTypeManager.cpp.

Member Function Documentation

◆ AddTerrainPropertiesToTile()

void ASoilTypeManager::AddTerrainPropertiesToTile ( int  TileX,
int  TileY,
FSoilTerramechanicsProperties  TerrainProperties 
)

◆ BeginPlay()

void ASoilTypeManager::BeginPlay ( )
overrideprotectedvirtual

Definition at line 15 of file SoilTypeManager.cpp.

◆ ClearTerrainPropertiesMap()

void ASoilTypeManager::ClearTerrainPropertiesMap ( )

Definition at line 91 of file SoilTypeManager.cpp.

References TilesTerrainProperties.

◆ GetGeneralTerrainProperties()

FSoilTerramechanicsProperties ASoilTypeManager::GetGeneralTerrainProperties ( )

Definition at line 47 of file SoilTypeManager.cpp.

References GeneralTerrainProperties.

◆ GetTerrainPropertiesAtGlobalLocation()

FSoilTerramechanicsProperties ASoilTypeManager::GetTerrainPropertiesAtGlobalLocation ( FVector  VehicleLocation)

Definition at line 52 of file SoilTypeManager.cpp.

References GeneralTerrainProperties, ALargeMapManager::GetTileVectorID(), LargeMapManager, and TilesTerrainProperties.

Referenced by GetTerrainPropertiesAtLocalLocation(), FSparseHighDetailMap::SaveMap(), and Tick().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTerrainPropertiesAtLocalLocation()

FSoilTerramechanicsProperties ASoilTypeManager::GetTerrainPropertiesAtLocalLocation ( FVector  VehicleLocation)

Definition at line 64 of file SoilTypeManager.cpp.

References GetTerrainPropertiesAtGlobalLocation(), LargeMapManager, and ALargeMapManager::LocalToGlobalLocation().

+ Here is the call graph for this function:

◆ SetGeneralTerrainProperties()

void ASoilTypeManager::SetGeneralTerrainProperties ( FSoilTerramechanicsProperties  TerrainProperties)

Definition at line 70 of file SoilTypeManager.cpp.

References GeneralTerrainProperties, and FSoilTerramechanicsProperties::ToString().

+ Here is the call graph for this function:

◆ Tick()

void ASoilTypeManager::Tick ( float  DeltaSeconds)
overridevirtual

Definition at line 21 of file SoilTypeManager.cpp.

References CarClass, GetTerrainPropertiesAtGlobalLocation(), ALargeMapManager::GetTileID(), ALargeMapManager::GetTileVectorID(), LargeMapManager, ALargeMapManager::LocalToGlobalLocation(), and FSoilTerramechanicsProperties::ToString().

+ Here is the call graph for this function:

Member Data Documentation

◆ CarClass

TSubclassOf<AActor> ASoilTypeManager::CarClass

Definition at line 61 of file SoilTypeManager.h.

Referenced by Tick().

◆ GeneralTerrainProperties

FSoilTerramechanicsProperties ASoilTypeManager::GeneralTerrainProperties
private

◆ LargeMapManager

ALargeMapManager* ASoilTypeManager::LargeMapManager
private

◆ TilesTerrainProperties

TMap<FIntVector, FSoilTerramechanicsProperties> ASoilTypeManager::TilesTerrainProperties
private

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