VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tacticalGraphicSimObjectFacade.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 
11 class DtRangeItems;
13 class DtSymbolString;
14 
18 {
19 public:
22 
24 
26  virtual bool isUsable() const;
27 
28  int fillStyle() const;
29  int penStyle() const;
30  int lineWidth() const;
31  int arrowStyle() const;
32  int arrowHeadPlacement() const;
33  int arrowSize() const;
34 
37  double ceiling() const;
38  bool ceilingSet() const;
39 
43  double floor() const;
44 
46  double physicalLineHeight() const;
47 
49  double physicalLineWidth() const;
50 
51  int color() const;
52  const DtString userData() const;
53 
54  double intelAreaModifierForForce(int force) const;
55 
57  bool closedFigure() const;
58  bool projected() const;
59  bool ellipsoid() const;
60 
61  int objectAttachMode() const;
62 
65  const DtRangeItems& rangeItems() const;
67 
71  double sensorSignature(const DtSymbolString& sensorDomain) const;
73 
75  bool leftOf(const DtVector& point) const;
76  bool inside(const DtVector& point) const;
77  bool insideVolume(const DtVector& point) const;
78 
81  bool activated() const;
82  bool useActivationTimes() const;
83  bool activationTimesAreSimulationTime() const;
84  bool activationTimeIsReusable() const;
85  int activationMode() const;
86  bool activatedOnce() const;
87  double activationTime() const;
88  double deactivationTime() const;
89  bool assumeUnknownIsHostile() const;
91 
92 protected:
94  virtual DtSimObjectReference simObject() const override = 0;
95  virtual void setupDecorator() override;
96 
97 protected:
100 };
101 
virtual DtSimObjectReference simObject() const =0
Implemented by subclasses to return the sim object this class represents.
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtSensorSignatureSimObjectDecorator * mySensorSignatureSimObjectDecorator
Definition: tacticalGraphicSimObjectFacade.h:98
DT_DLL_vrfutil bool leftOf(const DtVector &localPoint, const DtLocalVertexList &localVertexList, const Coordinate_System &coordinateSystem)
Returns true if localPoint is left of the localVertexList in 2D. Always returns false if this has onl...
bool isUsable() const
Make this call after construction to see if the supplied sim object can use this class.
DT_DLL_vrfutil bool inside(const DtVector &localPoint, const DtLocalVertexList &localVertexList, const Coordinate_System &coordinateSystem)
Determine if the given localPoint is inside the polygon defined by the given localVertexList.
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
This will keep track of the objects sensor signature.
Definition: sensorSignatureDecorator.h:16
DtSimObjectFacade< DtTacticalGraphicSimObjectFacadeInterface > DtTacticalGraphicSimObjectFacade
Definition: tacticalGraphicSimObjectFacade.h:102
This DtAppearanceSimObjectFacadeInterface class will provide common routines for appearances that app...
Definition: appearanceSimObjectFacade.h:20
Definition: rangeItem.h:206
This DtTacticalGraphicSimObjectFacadeInterface class will provide API functionality for tactical grap...
Definition: tacticalGraphicSimObjectFacade.h:16
bool myIsVrfTacticalGraphic
Definition: tacticalGraphicSimObjectFacade.h:99

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)