VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanEyepointController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
15 #include <vlpi/disEnums.h>
16 
17 class DtOutputPortGroup;
19 class DtVectorOutputPort;
21 
31 {
32 public:
36  DtLocalObject* owner,
37  DtSimulationServices* simManager,
38  DtComponentDescriptor* desc = 0,
39  DtReaderWriterRegistry* parentRegistry = 0);
40 
42  virtual ~DtHumanEyepointController() override;
43 
45  virtual bool init() override;
46 
49  virtual const char* type() const override;
50 
51  virtual void tick() override;
52 
56  static DtSimComponent * creator(const DtString& name,
57  DtLocalObject* owner,
58  DtSimulationServices* simManager,
59  DtComponentDescriptor* desc = 0,
60  DtReaderWriterRegistry* parentRegistry = 0);
61 
62 private:
69 
70 protected:
72  virtual bool createPortGroups() override;
73 
75  virtual bool createPorts() override;
76 
77 protected:
79 
80  DtOutputPortGroup* myEyepointOutputPortGroup;
86 
94 
102 
104  DtLifeformState myLastState;
105 
107 
110 };
111 
Instances of DtOrientationOutputPort are output ports through which data producers can send a DtTaitB...
Definition: orientationIOPort.h:51
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
Description: This repository holds all information that is common to all the forms of humans within t...
Definition: humanStateRepository.h:33
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
DtOutputPortGroup is a data port group of a data provider. It may contain any number of DtOutputPorts...
Definition: outputPortGroup.h:34
DtVectorOutputPort * myPositionOutputPort
Output Port Name: position Output Port Description: Specifies the position of the eyes of the lifefor...
Definition: humanEyepointController.h:100
DtHumanLocalObjectFacade myHumanLocalObjectFacade
Member to allow for access to platform specific data.
Definition: humanEyepointController.h:109
DtLifeformState myLastState
Definition: humanEyepointController.h:104
virtual bool init() override
Calls setRadio()
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
virtual bool createPortGroups()
Called by init. Derived classes should override this method to create all their input/output port gro...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
DtHumanStateRepository * myLifeformStateRep
Definition: humanEyepointController.h:103
End User Description: This controller monitors the posture of the lifeform entity that it is mounted ...
Definition: humanEyepointController.h:30
A locally simulated VRF object.
Definition: localObject.h:98
DtOrientationOutputPort * myOrientationOutputPort
Output Port Name: orientation Input Port Description: Always outputs 0,0,0. This controller doesn&#39;t d...
Definition: humanEyepointController.h:93
int myLookDirection
Definition: humanEyepointController.h:106

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)