VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
movementLocalObjectFacade.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
10 
13 {
14 public:
15 
18 
21 
22  bool isUsable() const;
23 
24  DtDeadReckonTypes nextFrameDeadReckoningAlgorithm() const;
25  void setNextFrameDeadReckoningAlgorithm(DtDeadReckonTypes);
26 
27  void setNextFrameLocalVelocity(const DtVector&);
28  const DtVector& nextFrameLocalVelocity() const;
29 
30  void setNextFrameRelativeVelocity(const DtVector&);
31  void setNextFrameWorldVelocity(const DtVector&);
32  const DtVector& nextFrameWorldVelocity() const;
33  const DtVector& nextFrameRelativeVelocity() const;
34 
35  void setNextFrameRotationalVelocity(const DtVector&);
36  const DtVector& nextFrameRotationalVelocity() const;
37 
38  void setNextFrameParentStationName(DtStationName);
39  DtStationName nextFrameParentStationName() const;
40 
41  void setNextFrameParentVelocity(const DtVector&);
42  const DtVector& nextFrameParentVelocity() const;
43 
44  void setNextFrameLocalSpeed(double);
45 
46  void setNextFrameLocalAcceleration(const DtVector&);
47  const DtVector& nextFrameLocalAcceleration() const;
48  const DtVector& nextFrameRelativeAcceleration() const;
49 
50  void setNextFrameRelativeAcceleration(const DtVector&);
51  void setNextFrameParentAcceleration(const DtVector&);
52  const DtVector& nextFrameParentAcceleration() const;
53 
54  void setNextFrameWorldAcceleration(const DtVector&);
55  const DtVector& nextFrameWorldAcceleration() const;
56 
57  void setNextFrameIsFrozen(bool);
58  bool nextFrameIsFrozen() const;
59 
60  bool nextFrameIsSpatiallyFrozen() const;
61  void nextFrameFreezeSpatial();
62  void nextFrameThawSpatial();
63 
64  DtThresholder& nextFrameThresholder();
65  DtThresholder nextFrameThresholder() const;
66 
67 protected:
68 
69  virtual DtLocalObject* localObject() const = 0;
70  void setupDecorator() {};
71 
72 };
73 
74 
void setupDecorator()
Definition: movementLocalObjectFacade.h:70
This DtMovementLocalObjectFacadeInterface class will provide API functionality for objects that have ...
Definition: movementLocalObjectFacade.h:12
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtLocalObjectFacade< DtMovementSimObjectFacadeInterface, DtMovementLocalObjectFacadeInterface > DtMovementLocalObjectFacade
Definition: movementLocalObjectFacade.h:75
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

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)