VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
engagementZonesManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
11 #include "vrfobjcore/simObject.h"
12 #include <matrix/vlVector.h>
13 
14 #include <map>
15 
18 
21 {
22 public:
25 
27  virtual ~DtEngagementZonesManager();
28 
30  virtual void init();
31 
33  virtual void tick();
34 
38  virtual bool contactConsideredHostile(DtSimObjectReference engagementArea,
39  const DtVector& localLocation, int perceivedForce) const;
40 
42  virtual bool isInsideEngagementArea(DtSimObjectReference engagementArea,
43  const DtVector& localLocation) const;
44 
45 private:
48 
50  DtEngagementZonesManager & operator=(const DtEngagementZonesManager & orig);
51 
52 protected:
54  typedef std::map<DtString, bool> PerceivedHostile;
55 };
The DtEngagementZonesManager will keep track of all the engagement zones and their state...
Definition: engagementZonesManager.h:20
std::map< DtString, bool > PerceivedHostile
Definition: engagementZonesManager.h:54
This class represents the data gathered by a sensor about a particular single sensor contact...
Definition: rwSensorContactInfo.h:68
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
const DtSimulationServices * mySimulationServices
Definition: engagementZonesManager.h:53
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.

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)