VR-Forces 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 
99  void setNextFrameObjectAttachMode(int);
100  int nextFrameObjectAttachMode() const;
101 
104  void addNextFrameRangeItem(const DtRangeItem&);
105  void removeNextFrameRangeItem(int index);
110 
114  double nextFrameFloor() const;
115 
118  bool nextFrameActivated() const;
119  void setNextFrameActivated(bool);
120 
122  bool nextFrameUseActivationTimes() const;
123  void setNextFrameUseActivationTimes(bool);
124 
126  bool nextFrameActivationTimesAreSimulationTime() const;
127  void setNextFrameActivationTimesAreSimulationTime(bool);
128 
131  bool nextFrameActivationTimeIsReusable() const;
132  void setNextFrameActivationTimeIsReusable(bool);
133 
135  int nextFrameActivationMode() const;
136  void setNextFrameActivationMode(int);
137 
139  void setNextFrameActivatedOnce(bool);
140  bool nextFrameActivatedOnce() const;
141 
142  void setNextFrameActivationTime(double);
143  double nextFrameActivationTime() const;
144 
145  void setNextFrameDeactivationTime(double);
146  double nextFrameDeactivationTime() const;
147 
148  bool nextFrameShouldDeactivate() const;
149  bool nextFrameShouldActivate() const;
150 
151  void setNextFrameAssumeUnknownIsHostile(bool);
152  bool nextFrameAssumeUnknownIsHostile() const;
153 
156 
158  static double RemoveYear(double);
159 
160 protected:
161  virtual DtLocalObject* localObject() const = 0;
162  virtual void setupDecorator() override;
163 };
164 
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:165

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)