![]() |
VR-Forces Development_Version Class Documentation
|
Central manager for calculating apparent signatures of entities from various viewpoints. More...
Public Member Functions | |
| virtual | ~DtSensorSignatureManager () |
| virtual void | reinitialize () |
| Resets any internals when scenario is closed. | |
| virtual std::vector< DtString > | sensorDomains () const |
| virtual double | apparentObjectSignature (const DtSymbolString &sensorDomain, const DtSignaturePropagatorArgs &propagatorArgs) const |
| virtual double | apparentObjectSignature (const DtSymbolString &sensorDomain, const DtVrfObject *targetObject, const DtVrfObject *viewingObject) const |
| Convenience function. | |
| virtual double | apparentObjectSignature (const DtSignaturePropagator *propagator, const DtSymbolString &sensorDomain, const DtSignaturePropagatorArgs &propagatorArgs) const |
| Convenience function. | |
| virtual bool | createPropagatorsFromDescriptorList (const DtSignaturePropagatorDescriptorList &descList) |
| Instantiates a new propagator for each sensor domain specified in the provided descriptor list using the DtSensorSignatureFactory and the types specified. | |
Static Public Member Functions | |
| static DtSensorSignatureManager * | create (DtPhysicalWorld *physicalWorld) |
| Constructs a new instance, and calls init() on it. | |
Protected Types | |
| typedef std::map < DtSymbolString, DtSignaturePropagator * > | DtSignaturePropagatorMap |
Protected Member Functions | |
| DtSensorSignatureManager (DtPhysicalWorld *physicalWorld) | |
| Protected to prevent uninitialized instances of DtSensorSignatureManager. | |
| virtual bool | init () |
| Called by create() after constructor. | |
| virtual const DtSignaturePropagator * | propagatorForDomain (const DtSymbolString &domain) const |
| Returns the signature propagator for the specified domain by looking it up in mySignaturePropagatorMap. | |
| void | deleteSignaturePropagators () |
| Removes and deletes all propagators from mySignaturePropagatorMap. | |
Protected Attributes | |
| DtPhysicalWorld * | myPhysicalWorld |
| DtSignaturePropagatorMap | mySignaturePropagatorMap |
Private Member Functions | |
| DtSensorSignatureManager () | |
| Not implemented. | |
| DtSensorSignatureManager (const DtSensorSignatureManager &orig) | |
| Not implemented. | |
| DtSensorSignatureManager & | operator= (const DtSensorSignatureManager &orig) |
| Not implemented. | |
Central manager for calculating apparent signatures of entities from various viewpoints.
This class encapsulates all the functionality for calculating the apparent signatures of entities in all the sensor domains. This is done by querying the VRF object state repository of the target entity for the absolute signature in the sensor domain, and then running a propagation model for that domain to correct the signature for the viewing location. Signature propagators are created from the DtSignaturePropagatorFactory based on the sensor domain specified in the original query.
|
protected |
|
private |
Not implemented.
|
private |
Not implemented.
|
protected |
Protected to prevent uninitialized instances of DtSensorSignatureManager.
Call create() to instantiate a new DtSensorSignatreManager.
|
virtual |
|
private |
Not implemented.
|
protectedvirtual |
Called by create() after constructor.
|
static |
Constructs a new instance, and calls init() on it.
|
virtual |
Resets any internals when scenario is closed.
|
virtual |
|
virtual |
|
virtual |
Convenience function.
Creates a DtSignaturePropagatorArgs with the provided target and viewing object, and calls the above function.
|
virtual |
Convenience function.
Allows you to pass in a custom propagator that a user created along with the arguments that they added. This does the same as apparentObjectSignature(const DtSymbolString& sensorDomain, const DtSignaturePropagatorArgs& propagatorArgs) const
|
virtual |
Instantiates a new propagator for each sensor domain specified in the provided descriptor list using the DtSensorSignatureFactory and the types specified.
New propagators are put in mySignaturePropagatorMap indexed by domain.
|
protectedvirtual |
Returns the signature propagator for the specified domain by looking it up in mySignaturePropagatorMap.
If one is not found and cannot be created, returns NULL.
|
protected |
Removes and deletes all propagators from mySignaturePropagatorMap.
Non-virtual because it is called from the destructor.
|
protected |
|
protected |