VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
platformSimObjectFacade.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 
14 #include <boost/signals2.hpp>
15 
20 
30 {
31 public:
33 
35 
37  virtual bool isUsable() const override;
38  bool isMoveable() const;
39 
40  bool hasHighFidelityObjectGeometryModel() const;
41 
42  bool flaming() const;
43  bool smoking() const;
44  bool powerPlantOn() const;
45  bool lightState(int state) const;
46 
50  double sensorSignature(const DtSymbolString& sensorDomain) const;
52 
54  double illumination() const;
55  double expectedIllumination(double dateAndTimeOfDay) const;
56 
58  bool canPivot() const;
59 
61  double turningRadius() const;
62 
64  bool protectEmbarkedFromCollateralDamage() const;
65 
68  bool intersect(const DtChord&, DtVrfChordIntersectionRecord* record = nullptr) const;
70 
72  bool isEmbeddedInTerrain() const;
73 
75  void embedInTerrainIfNeeded();
76 
77 protected:
78  virtual void setupDecorator() override;
80  virtual DtSimObjectReference simObject() const override = 0;
81 
82 protected:
86 };
87 
This will keep track of the objects illumination for sensor purposes.
Definition: illuminationDecorator.h:14
NOTE: This entire class is deprecated, in favor of Dt3dChord.
Definition: chord.h:40
Thie DtNavigationSimObjectFacadeInterface class is a wrapper around the DtNavigationSimObjectDecorato...
Definition: navigationSimObjectFacade.h:17
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
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
DtSensorSignatureSimObjectDecorator * mySensorSignatureSimObjectDecorator
Definition: platformSimObjectFacade.h:83
DtPlatformGeometrySimObjectDecorator * myPlatformGeometrySimObjectDecorator
Definition: platformSimObjectFacade.h:85
This DtArticulatedPartsSimObjectFacadeInterface class will provide API functionality for objects that...
Definition: articulatedPartsSimObjectFacade.h:17
This DtMovementSimObjectFacadeInterface class will provide API functionality for objects that have ve...
Definition: movementSimObjectFacade.h:21
bool isUsable() const
Make this call after construction to see if the supplied sim object can use this class.
The DtRangeItemSimObjectFacadeInterface class deals with range rings items for objects that support i...
Definition: rangeItemSimObjectFacade.h:14
DtIlluminationSimObjectDecorator * myIlluminationSimObjectDecorator
Definition: platformSimObjectFacade.h:84
#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
This DtAppearanceSimObjectFacadeInterface class will provide common routines for appearances that app...
Definition: appearanceSimObjectFacade.h:20
This will keep track of the objects illumination for sensor purposes.
Definition: platformGeometryDecorator.h:20
Definition: vrfChordIntersectionRecord.h:19
This DtPlatformSimObjectFacadeInterface class will provide API functionality for platform objects...
Definition: platformSimObjectFacade.h:24

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)