16 #include "boost/optional.hpp"
52 virtual const char*
type()
const;
79 bool& contactInfoModified);
82 virtual int detectionLevel(
const DtVrfObject*
object);
85 virtual void updateSensorContactInfo(
const DtVrfObject*
object,
DtNbcSensorDescriptor; descriptor for the DtNbcSensor component.
Definition: nbcSensorDescriptor.h:20
Definition: nbcSensor.h:23
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtNbcSensorDescriptor * myDescriptor
Definition: nbcSensor.h:90
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
boost::optional< double > myFootprintProp
This gets cached in the tick function so it doesn't need to be looked up every time detectionLevel is...
Definition: nbcSensor.h:94
virtual int sensorType() const
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
const DtObjectSensor & operator=(const DtObjectSensor &orig)
assignment operator; not implemented
virtual bool detectObject(const DtVrfObject *object, DtRwSensorContactInfo *contactInfo)
DtObjectSensor is a base level sensor component.
Definition: objectSensor.h:50
virtual ContinueDetectingResult continueDetectingObject(const DtVrfObject *object, DtRwSensorContactInfo *contactInfo, bool &contactInfoModified)
ContinueDetectingResult
Definition: objectSensor.h:66
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
virtual const char * type() const
Returns a string identifies the class type of component.
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual void tick()
Processes only if the simulation is not paused.
virtual bool init()
Calls createPSR(), createDetectableObjectList(), createAndInitSensorMonitor() and initSensorGeometry(...