VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
addSensorPropagator
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
8
#include "
vrfobjcore/visualSignaturePropagator.h
"
9
10
const
char
MyPropagatorType
[] =
"my-signature-propagator"
;
11
12
class
MySignaturePropagator
:
public
DtVisualSignaturePropagator
13
{
14
public
:
16
MySignaturePropagator
(
const
DtSignaturePropagatorDescriptor
* desc,
17
DtPhysicalWorld
*
physicalWorld
);
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
40
static
DtSignaturePropagator
*
create
(
const
DtSignaturePropagatorDescriptor
* desc,
41
DtPhysicalWorld
* physicalWorld);
42
};
43
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)