VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
DtLaserDesignatorUpdater.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/vrvCore.h
>
13
14
#include <
vrvCore/DtDe.h
>
15
#include <
vrvCore/DtIntersector.h
>
16
#include <
vrvCore/DtSceneObjectUpdater.h
>
17
18
#include <string>
19
20
namespace
makVrv
21
{
26
class
DT_DLL_VRVCORE
DtLaserDesignatorUpdater
:
public
DtSceneObjectUpdater
27
{
28
public
:
29
31
DtLaserDesignatorUpdater
(
DtDe
& de,
DtUniqueID
id
);
32
34
virtual
~
DtLaserDesignatorUpdater
();
35
37
virtual
void
update(
double
simTime );
38
41
virtual
void
setEnabled(
bool
enabled);
42
45
virtual
void
setSpotLocation(
const
DtVector
& end);
46
49
// created the model that this updater updates
50
virtual
void
setDesignator(
DtUniqueID
sourceId);
51
56
virtual
void
setDesignatedObject(
DtUniqueID
designee);
57
58
protected
:
59
// If a scene object is found for the designee it comes back in designeeSceneObject
60
virtual
DtVector
updateLocation(
double
simTime,
DtSceneObject
*& designeeSceneObject);
61
virtual
DtTaitBryan updateOrientation(
double
simTime,
DtSceneObject
* designeeSceneObject);
62
63
protected
:
64
DtUniqueID
mySource
;
65
DtUniqueID
myDesignatedObject
;
66
DtVector
mySpotLocation
;
67
bool
myDirty
;
68
};
69
}
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)