42 virtual const char*
type()
const;
61 static bool pathCostEvalFcn(
const DtNavTag& navTag,
float* costMultiplier,
void* userData);
62 virtual bool evaluatePathCost(
const DtNavTag& navTag,
float* costMultiplier);
64 virtual void buildNormalizedSoilRoughnessFactors();
65 virtual void buildSoilAndSemanticFactors();
68 virtual bool finalizePathCost(
double pathCost,
float* costMultiplier);
70 static void setNavigationPreferencesCallback(
DtSimMessage * msg,
void * usr);
71 virtual void processSetNavigationPreferences(
DtSimMessage* msg);
73 static void requestAvailableNavigationPreferencesCallback(
const DtVrfObjectMessage* msg,
void* usr);
74 virtual void processRequestAvailableNavigationPreferences(
const DtVrfObjectMessage* msg);
76 void sendAvailableNavigationPreferences(
const DtUUID& receiver,
bool sendList);
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool postAddComponentsInit()
Called after all components have been created, initialized and added to the component manager...
Definition: simComponent.h:144
Stores the state data used by the DtNavigationPreferenceController component.
Definition: navigationPreferenceControllerPsr.h:18
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual bool init()
Calls setRadio()
const DtSetController & operator=(const DtSetController &orig)
assignment operator; not implemented
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:86
DtNavigationPreferenceDescriptor; descriptor for the DtNavigationPreferenceController component...
Definition: navigationPreferenceDescriptor.h:22
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
std::map< DtU32, double > mySoilCharacteristicFactors
Definition: navigationPreferenceController.h:82
Wrapper for GameWare NavTag.
Definition: navDataTag.h:54
std::map< DtRoughnessSoilType, double > myNormalizedSoilRoughnessFactors
These tables are calculated once on initialization of the controller for fast access to these factors...
Definition: navigationPreferenceController.h:81
DtUUID myFrontEndSender
Definition: navigationPreferenceController.h:101
std::map< unsigned int, double > mySemanticDataFactors
Definition: navigationPreferenceController.h:83
This controller manages what terrain types an entity prefers or avoids when calculating paths to dest...
Definition: navigationPreferenceController.h:24
File: simMsg.h.
Definition: simMessage.h:35
DtNavigationPreferenceControllerPsr * myProcessState
Definition: navigationPreferenceController.h:87
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.
Definition: vrfObjectMessage.h:30
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102