VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfutil
setObserverView.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
20
21
#include "
vrfutil/vrfutilDefines.h
"
22
#include <
vrvControl/vrvControlToolkitDataTypes.h
>
23
24
vrvControlToolkit::DtVrvControlTypeEnum
Control_SetObserverView
=
25
(
vrvControlToolkit::DtVrvControlTypeEnum
)(
vrvControlToolkit::Control_DetachView
+ 100);
26
28
const
vrvControlToolkit::DtUInt32
DtVrvObserverViewRecordSize
= 1920 -
vrvControlToolkit::DtVrvControlNameSize
;
//64 bytes for names
29
30
struct
DtSetObserverView_v1
:
public
vrvControlToolkit::DtVrvControl_v1
31
{
33
vrvControlToolkit::DtInt8
myObserver
[
vrvControlToolkit::DtVrvControlNameSize
];
34
36
vrvControlToolkit::DtInt8
myObserverViewRecord
[
DtVrvObserverViewRecordSize
];
37
39
DtFloat32
mySmoothTime
;
40
42
inline
DtSetObserverView_v1
()
43
{
44
myType
=
Control_SetObserverView
;
45
myVersion
= 1;
46
mySize
=
sizeof
(
DtSetObserverView_v1
);
47
memset(
myObserver
, 0,
sizeof
(
vrvControlToolkit::DtInt8
[
vrvControlToolkit::DtVrvControlNameSize
]) );
//-V512
48
memset(
myObserverViewRecord
, 0,
sizeof
(
vrvControlToolkit::DtInt8
[DtVrvObserverViewRecordSize]) );
//-V512
49
mySmoothTime
= 3.0f;
50
}
51
53
inline
~DtSetObserverView_v1
()
54
{
55
}
56
};
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)