VR-Forces 5.0.2 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();
43 
45  virtual bool init();
46 
49  virtual const char* type() const;
50 
51  virtual void tick();
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();
73 
75  virtual bool createPorts();
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
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
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
virtual bool init()
Calls setRadio()
DtHumanLocalObjectFacade myHumanLocalObjectFacade
Member to allow for access to platform specific data.
Definition: humanEyepointController.h:109
DtLifeformState myLastState
Definition: humanEyepointController.h:104
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:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
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. 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
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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)