VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
mySignaturePropagator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 
10 const char MyPropagatorType[] = "my-signature-propagator";
11 
13 {
14 public:
18 
20  virtual ~MySignaturePropagator();
21 
23  virtual void init();
24 
25  // This is the main entry point for any signature propagator.
26  // It takes an absolute signature, which is how "bright" the target entity is,
27  // and translates that to an apparent signature, which is how bright the
28  // target entity appears from a given vantage point.
29  // A return value of 0 will guarantee that the entity cannot be seen.
30  // Higher values will result in the target being easier to see.
31  // The exact meaning of the returned apparent signatures is determined
32  // by the sensor class that is using it. For example, some sensors
33  // may be more sensitive than others, but if they are all operating in the same
34  // sensor domain, they will use the same propagator, but the more sensitive
35  // sensor will detect entities with a lower apparent signature than the other.
36  virtual double calculateApparentSignature(double absoluteSignature,
37  const DtSignaturePropagatorArgs& args) const;
38 
41  DtPhysicalWorld* physicalWorld);
42 };
43 
Base class for arguments passed into DtSignaturePropagator::calculateApparentSignature.
Definition: signaturePropagatorArgs.h:26
virtual ~MySignaturePropagator()
destructor
virtual void init()
Does any initialization required by the new propagator.
const char MyPropagatorType[]
Definition: mySignaturePropagator.h:10
Instances of DtSignaturePropagatorDescriptor are used to specify the parameters for a DtSignatureProp...
Definition: signaturePropagatorDescriptor.h:30
virtual const DtPhysicalWorld * physicalWorld() const
Signature propagator used in the visual sensor domain.
Definition: visualSignaturePropagator.h:35
Definition: mySignaturePropagator.h:12
The DtPhysicalWorld is the primary interface to and manager of all of the "physical" aspects of the s...
Definition: physicalWorld.h:88
virtual double calculateApparentSignature(double absoluteSignature, const DtSignaturePropagatorArgs &args) const
Takes the given absolute signature and applies to it the effects of the environmental visibility rang...
Base class for all sensor signal propagators.
Definition: signaturePropagator.h:35
static DtSignaturePropagator * create(const DtSignaturePropagatorDescriptor *desc, DtPhysicalWorld *physicalWorld)
Creates a new instance of this class, calls init() on it, and returns it.
MySignaturePropagator(const DtSignaturePropagatorDescriptor *desc, DtPhysicalWorld *physicalWorld)
default constructor

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)