VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lookAtPointControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
15 #include <readerWriter/rwBoolean.h>
16 #include "readerWriter/rwVector.h"
17 #include <readerWriter/rwString.h>
18 #include "vrfobjcore/simObject.h"
20 
24 {
25 public:
28  const DtString& rwName = DtString::nullString(),
29  DtReaderWriterRegistry* parentRegistry = 0);
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
36  const DtLookAtPointControllerPSR& orig);
38  virtual ~DtLookAtPointControllerPSR() override;
39 
42  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
43 
45  virtual DtString type() const override;
46 
48  static DtVrfProcessStateRepository* creator(const DtString& rwName,
49  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
50 
53  virtual DtVector lookAtPoint() const;
54  virtual void setLookAtPoint(const DtVector& newValue);
56 
60  virtual DtSimObjectReference target() const;
61 
63  virtual void setTarget(const DtUUID& newValue);
65 
71  virtual double lookingAzimuth() const;
72  virtual void setLookingAzimuth(double az);
74 
80  virtual double lookingElevation() const;
81  virtual void setLookingElevation(double el);
83 
86  virtual DtSetLookAtPointRequest::LookAtType lookAtType() const;
87  virtual void setLookAtType(DtSetLookAtPointRequest::LookAtType stop);
89 
91  virtual void shakeHead(double minRange, double maxRange, double rate);
92 
94  virtual void nodHead(double minRange, double maxRange, double rate);
95 
97  virtual void setNodOrShakeEndTime(double);
98  virtual double nodOrShakeEndTime() const;
99 
101  virtual void getNodShakeData(int& nodOrShake, double& minRange, double& maxRange, double& rate);
102 
104  virtual void clearNodOrShakeData();
105 
106 protected:
115 };
116 
DtRwReal myLookingElevation
Definition: lookAtPointControllerPSR.h:110
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtRwReal myNodOrShakeEndTime
Definition: lookAtPointControllerPSR.h:114
DtRwSimObjectReference myTarget
Definition: lookAtPointControllerPSR.h:108
DtRwReal myLookingAzimuth
Definition: lookAtPointControllerPSR.h:109
DtRwVector myNodShakeValues
Definition: lookAtPointControllerPSR.h:112
Definition: readerWriterRegistry.h:39
LookAtType
Definition: setLookAtPointRequest.h:35
DtRwInt myNodOrShake
Definition: lookAtPointControllerPSR.h:113
DtRwVector myLookAtPoint
Definition: lookAtPointControllerPSR.h:107
Definition: rwVector.h:23
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: rwSimObjectReference.h:21
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
DtRwInt myLookAtType
Definition: lookAtPointControllerPSR.h:111
virtual DtString type() const =0
Returns the string type of the repository, as defined in psrTypes.h.
DtLookAtPointControllerPSR is a process state repository which holds state variables for the DtLookAt...
Definition: lookAtPointControllerPSR.h:23
File: rwVector.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object.
Definition: localObject.h:98

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)