43 virtual const char*
type()
const;
60 virtual void processNavigationInterfaceChanged();
63 static bool pathCostEvalFcn(
const DtNavTag& navTag,
float slope,
float elevationChange,
float* costMultiplier,
void* userData);
64 virtual bool evaluatePathCost(
const DtNavTag& navTag,
float slope,
float elevationChange,
float* costMultiplier);
66 virtual void buildNormalizedSoilRoughnessFactors();
67 virtual void buildSoilAndSemanticFactors();
75 virtual double slopeMultiplier(
const double elevationChange,
const double slope,
const double soilModifier = 0.0);
79 virtual bool finalizePathCost(
double pathCost,
float* costMultiplier);
81 static void setNavigationPreferencesCallback(
DtSimMessage * msg,
void * usr);
82 virtual void processSetNavigationPreferences(
DtSimMessage* msg);
84 static void requestAvailableNavigationPreferencesCallback(
const DtVrfObjectMessage* msg,
void* usr);
85 virtual void processRequestAvailableNavigationPreferences(
const DtVrfObjectMessage* msg);
87 void sendAvailableNavigationPreferences(
const DtUUID& receiver,
bool sendList);
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Stores the state data used by the DtNavigationPreferenceController component.
Definition: navigationPreferenceControllerPsr.h:17
DtVrfMovingObjectStateRepository * myMovingObjectStateRep
Definition: navigationPreferenceController.h:114
tbb::spin_mutex myMutex
Definition: navigationPreferenceController.h:118
virtual bool postAddComponentsInit() override
Calls enableTaskTypes()
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:31
virtual bool init()
Calls setRadio()
const DtSetController & operator=(const DtSetController &orig)
assignment operator; not implemented
This is the DtVrfObjectNavInterface subclass for objects which are actively querying the navigation s...
Definition: activeBotNavInterface.h:27
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
DtNavigationPreferenceDescriptor * myNavigationPreferenceDesc
Definition: navigationPreferenceController.h:97
DtNavigationPreferenceDescriptor; descriptor for the DtNavigationPreferenceController component...
Definition: navigationPreferenceDescriptor.h:23
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
std::map< DtU32, double > mySoilCharacteristicFactors
These tables are calculated once on initialization of the controller for fast access to these factors...
Definition: navigationPreferenceController.h:93
VR-Forces wrapper for Gameware NavTag. Note: This class keeps only a pointer to the data...
Definition: navDataTag.h:87
std::map< DtRoughnessSoilType, double > myNormalizedSoilRoughnessFactors
These tables are calculated once on initialization of the controller for fast access to these factors...
Definition: navigationPreferenceController.h:92
DtActiveBotNavInterface * myNavInterface
Definition: navigationPreferenceController.h:116
DtUUID myFrontEndSender
Definition: navigationPreferenceController.h:112
std::map< unsigned int, double > mySemanticDataFactors
These tables are calculated once on initialization of the controller for fast access to these factors...
Definition: navigationPreferenceController.h:94
This controller manages what terrain types an entity prefers or avoids when calculating paths to dest...
Definition: navigationPreferenceController.h:25
File: simMsg.h.
Definition: simMessage.h:35
DtNavigationPreferenceControllerPsr * myProcessState
Definition: navigationPreferenceController.h:98
This class will define a basic set controller that will allow for adding sets of that can be register...
Definition: setController.h:21
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86