VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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/cntrlCmpnt.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
DtString
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 Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)