VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Tutorials
File List
File Members
include
vrvGlStudioShared
DtHudsCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: $ $Revision: 102211 $ $State: $
7
*******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvGlStudioShared/DtGlStudioShared.h
>
16
17
#include <
vrvCore/DtVrvCommand.h
>
18
19
namespace
makVrv
20
{
23
class
DT_DLL_VRVGLSTUDIOSHARED
DtHudsCommand
:
public
DtVrvCommand
24
{
25
public
:
26
DtHudsCommand
();
27
virtual
~
DtHudsCommand
();
28
30
virtual
bool
isEnabled()
const
;
31
33
virtual
void
setEnabled(
bool
state);
34
36
virtual
float
smoothingPeriod()
const
;
37
39
virtual
void
setSmoothingPeriod(
const
float
& newPeriod);
40
42
virtual
void
execute(
DtDe
& de);
43
44
protected
:
45
bool
myState
;
46
float
mySmoothingPeriod
;
47
};
48
51
class
DT_DLL_VRVGLSTUDIOSHARED
DtHudsCommandCreator
:
public
DtVrvCommandCreator
52
{
53
public
:
54
DtHudsCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
55
virtual
~DtHudsCommandCreator
() {}
56
57
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
58
};
59
60
}
//makVrv::
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)