VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tacticalGraphicLocalObjectFacade.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 
12 
13 class DtRwColor;
14 
19 {
20 public:
23 
26 
27  bool isUsable() const;
28 
32  void setNextFrameFillStyle(int);
33  int nextFrameFillStyle() const;
35 
39  void setNextFramePenStyle(int);
40  int nextFramePenStyle() const;
42 
46  void setNextFrameLineWidth(int);
47  int nextFrameLineWidth() const;
49 
53  void setNextFrameArrowStyle(int);
54  int nextFrameArrowStyle() const;
56 
60  void setNextFrameArrowHeadPlacement(int);
61  int nextFrameArrowHeadPlacement() const;
63 
67  void setNextFrameArrowSize(int);
68  int nextFrameArrowSize() const;
70 
73  void setNextFrameCeiling(double);
74 
75  void setNextFramePhysicalLineHeight(double);
76  double nextFramePhysicalLineHeight() const;
77 
81  void setNextFrameFloor(double);
82 
84  double nextFramePhysicalLineWidth() const;
85  void setNextFramePhysicalLineWidth(double);
86 
87  int nextFrameColor() const;
88  void setNextFrameColor (int color);
89  void setNextFrameColor (const DtRwColor&);
90  void setNextFrameColor(DtU8 red, DtU8 green, DtU8 blue, DtU8 alpha);
91 
92  void setNextFrameUserData(const char* data, int dataLen);
93  const DtString nextFrameUserData() const;
94 
95  void setNextFrameProjection(bool b);
96  void setNextFrameClosedFigure(bool b);
97  void setNextFrameEllipsoid(bool b);
98 
101  void addNextFrameRangeItem(const DtRangeItem&);
102  void removeNextFrameRangeItem(int index);
107 
111  double nextFrameFloor() const;
112 
115  bool nextFrameActivated() const;
116  void setNextFrameActivated(bool);
117 
119  bool nextFrameUseActivationTimes() const;
120  void setNextFrameUseActivationTimes(bool);
121 
123  bool nextFrameActivationTimesAreSimulationTime() const;
124  void setNextFrameActivationTimesAreSimulationTime(bool);
125 
128  bool nextFrameActivationTimeIsReusable() const;
129  void setNextFrameActivationTimeIsReusable(bool);
130 
132  int nextFrameActivationMode() const;
133  void setNextFrameActivationMode(int);
134 
136  void setNextFrameActivatedOnce(bool);
137  bool nextFrameActivatedOnce() const;
138 
139  void setNextFrameActivationTime(double);
140  double nextFrameActivationTime() const;
141 
142  void setNextFrameDeactivationTime(double);
143  double nextFrameDeactivationTime() const;
144 
145  bool nextFrameShouldDeactivate() const;
146  bool nextFrameShouldActivate() const;
147 
148  void setNextFrameAssumeUnknownIsHostile(bool);
149  bool nextFrameAssumeUnknownIsHostile() const;
150 
153 
154 protected:
155  virtual DtLocalObject* localObject() const = 0;
156  virtual void setupDecorator() override;
157 };
158 
virtual DtLocalObject * localObject() const =0
Definition: rangeItem.h:149
Reader-Writer color specified by red, green, blue components.
Definition: rwColor.h:19
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
This DtTacticalGraphicLocalObjectFacadeInterface class will provide API functionality for tactical gr...
Definition: tacticalGraphicLocalObjectFacade.h:16
This DtAppearanceLocalObjectFacadeInterface class will provide API functionality for objects that hav...
Definition: appearanceLocalObjectFacade.h:15
Definition: rangeItem.h:206
void addNextFrameRangeItem(const DtRangeItem &)
void setNextFrameRangeItems(const DtRangeItems &)
The DtRangeItemLocalObjectFacadeInterface class deals with range ring items for objects that support ...
Definition: rangeItemLocalObjectFacade.h:15
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86
DtLocalObjectFacade< DtTacticalGraphicSimObjectFacadeInterface, DtTacticalGraphicLocalObjectFacadeInterface > DtTacticalGraphicLocalObjectFacade
Definition: tacticalGraphicLocalObjectFacade.h:159

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)