![]() |
VR-Forces 4.0.4 Class Documentation
|
DtObstructionSensor; models a sensor able to detect potential collisions with other entities and/or terrain vector data. More...

Public Member Functions | |
| DtHumanObstructionSensor (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
| virtual | ~DtHumanObstructionSensor () |
| destructor | |
| virtual DtString | type () const |
| Returns a string identifies the class type of component. | |
Static Public Member Functions | |
| static DtSimComponent * | creator (const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) |
| (const DtString&,DtVrfObject*,DtSimManager*, | |
Protected Member Functions | |
| virtual bool | calculateStoppingDistance (const DtObstructionSensorDescriptor &obstructionSensorDesc, double &stoppingDistance) |
| Overridden to eliminate dependency on DtGroundAutoControllerComponent class. | |
Private Member Functions | |
| DtHumanObstructionSensor (const DtObstructionSensor &orig) | |
| copy constructor; not implemented | |
| DtHumanObstructionSensor & | operator= (const DtObstructionSensor &orig) |
| assignment operator; not implemented | |
DtObstructionSensor; models a sensor able to detect potential collisions with other entities and/or terrain vector data.
DtHumanObstructionSensor models a sensor able to detect potential collisions with other entities and/or terrain vector data.
Uses Descriptor Type: DtObstructionSensorDescriptor
| DtHumanObstructionSensor::DtHumanObstructionSensor | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
(const DtString&,DtVrfObject*,DtSimManager*,
| name | Reader writer name of this component. |
| owner | The DtVrfObject that owns this component |
| simManager | The simulation manager (provides access to terrain, message interface, simulation clock). |
| desc | The component descriptor used to initialize this component. |
| parentRegistry | Pointer to the parent reader writer registry (the containing object that reads/writes this object). |
| virtual DtHumanObstructionSensor::~DtHumanObstructionSensor | ( | ) | [virtual] |
destructor
| DtHumanObstructionSensor::DtHumanObstructionSensor | ( | const DtObstructionSensor & | orig | ) | [private] |
copy constructor; not implemented
| virtual DtString DtHumanObstructionSensor::type | ( | ) | const [virtual] |
Returns a string identifies the class type of component.
Type values are defined in compTypes.h. DtSimComponent creation functions are registered with the DtSimComponentFactory using the type values as the key.
Reimplemented from DtObstructionSensor.
| DtHumanObstructionSensor& DtHumanObstructionSensor::operator= | ( | const DtObstructionSensor & | orig | ) | [private] |
assignment operator; not implemented
Reimplemented from DtObstructionSensor.
| virtual bool DtHumanObstructionSensor::calculateStoppingDistance | ( | const DtObstructionSensorDescriptor & | obstructionSensorDesc, |
| double & | stoppingDistance | ||
| ) | [protected, virtual] |
Overridden to eliminate dependency on DtGroundAutoControllerComponent class.
Enables sensor to be used with human movement model.
Reimplemented from DtObstructionSensor.
| static DtSimComponent* DtHumanObstructionSensor::creator | ( | const DtString & | name, |
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | desc = 0, |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | [static] |
(const DtString&,DtVrfObject*,DtSimManager*,
| name | Reader writer name of this component. |
| owner | The DtVrfObject that owns this component |
| simManager | The simulation manager (provides access to terrain, message interface, simulation clock). |
| desc | The component descriptor used to initialize this component. |
| parentRegistry | Pointer to the parent reader writer registry (the containing object that reads/writes this object). |
Reimplemented from DtObstructionSensor.