VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfmodel
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
12
#include "
vrfobjcore/controllerComponent.h
"
13
#include "
vrfmodel/vrfmodelDefines.h
"
14
#include <vlpi/disEnums.h>
15
16
class
DtOutputPortGroup
;
17
class
DtOrientationOutputPort
;
18
class
DtVectorOutputPort
;
19
class
DtHumanStateRepository
;
20
29
class
DT_DLL_vrfmodel
DtHumanEyepointController
:
public
DtControllerComponent
30
{
31
public
:
34
DtHumanEyepointController
(
const
DtString
& name,
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
:
63
DtHumanEyepointController
();
65
DtHumanEyepointController
(
const
DtHumanEyepointController
& orig);
67
const
DtHumanEyepointController
&
operator=
(
const
DtHumanEyepointController
& orig);
68
69
protected
:
71
virtual
bool
createPortGroups
();
72
74
virtual
bool
createPorts
();
75
76
protected
:
78
79
80
81
82
83
84
DtOutputPortGroup
*
myEyepointOutputPortGroup
;
85
92
DtOrientationOutputPort
*
myOrientationOutputPort
;
93
99
DtVectorOutputPort
*
myPositionOutputPort
;
101
102
DtHumanStateRepository
*
myLifeformStateRep
;
103
DtLifeformState
myLastState
;
104
105
int
myLookDirection
;
106
};
107
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)