VR-Forces Developer's Guide
 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() override;
21 
23  virtual void init() override;
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, bool* dataAvailable = nullptr) const override;
38 
41  DtPhysicalWorld* physicalWorld);
42 };
43 
Contains the DtSignaturePropagatorArgs class declaration.
Definition: signaturePropagatorArgs.h:23
virtual ~MySignaturePropagator() override
destructor
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. This propagator returns an apparent signature ...
Definition: visualSignaturePropagator.h:38
Definition: mySignaturePropagator.h:12
virtual void init() override
Does any initialization required by the new propagator.
The DtPhysicalWorld is the primary interface to and manager of all of the "physical" aspects of the s...
Definition: physicalWorld.h:112
Base class for all sensor signal propagators. Signal propagators model the propagation of an absolute...
Definition: signaturePropagator.h:35
virtual double calculateApparentSignature(double absoluteSignature, const DtSignaturePropagatorArgs &args, bool *dataAvailable=nullptr) const override
Takes the given absolute signature and applies to it the effects of the environmental visibility rang...
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)