VR-Forces 4.10 Class Documentation
 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 
14 #include <vlpi/disEnums.h>
15 
16 class DtOutputPortGroup;
18 class DtVectorOutputPort;
20 
30 {
31 public:
35  DtVrfObject* owner,
36  DtSimManager* simManager,
37  DtComponentDescriptor* desc = 0,
38  DtReaderWriterRegistry* parentRegistry = 0);
39 
41  virtual ~DtHumanEyepointController();
42 
44  virtual bool init();
45 
48  virtual const char* type() const;
49 
50  virtual void tick();
51 
55  static DtSimComponent * creator(const DtString& name,
56  DtVrfObject* owner,
57  DtSimManager* simManager,
58  DtComponentDescriptor* desc = 0,
59  DtReaderWriterRegistry* parentRegistry = 0);
60 
61 private:
68 
69 protected:
71  virtual bool createPortGroups();
72 
74  virtual bool createPorts();
75 
76 protected:
78 
79  DtOutputPortGroup* myEyepointOutputPortGroup;
85 
93 
101 
103  DtLifeformState myLastState;
104 
106 };
107 
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
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
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:32
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:42
Definition: readerWriterRegistry.h:39
DtOutputPortGroup is a data port group of a data provider.
Definition: outputPortGroup.h:30
DtVectorOutputPort * myPositionOutputPort
Output Port Name: position Output Port Description: Specifies the position of the eyes of the lifefor...
Definition: humanEyepointController.h:99
virtual bool init()
Calls setRadio()
DtLifeformState myLastState
Definition: humanEyepointController.h:103
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.
virtual bool createPorts()
Called by init.
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:29
virtual bool createPortGroups()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtHumanStateRepository * myLifeformStateRep
Definition: humanEyepointController.h:102
End User Description: This controller monitors the posture of the lifeform entity that it is mounted ...
Definition: humanEyepointController.h:29
DtOrientationOutputPort * myOrientationOutputPort
Output Port Name: orientation Input Port Description: Always outputs 0,0,0.
Definition: humanEyepointController.h:92
int myLookDirection
Definition: humanEyepointController.h:105

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)