VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtPrecipitationCommand.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: 95512 $ $State: $
7
*******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/DtVrvCommand.h
>
16
17
#include <
vrvCore/DtEnvironment.h
>
18
19
namespace
makVrv
20
{
23
class
DT_DLL_VRVCORE
DtPrecipitationCommand
:
public
DtVrvCommand
24
{
25
public
:
26
DtPrecipitationCommand
();
27
virtual
~
DtPrecipitationCommand
();
28
29
virtual
bool
isEnabled()
const
;
30
virtual
void
setEnabled(
bool
state);
31
32
virtual
DtEnvironment::PrecipitationType
precipitationType()
const
;
33
virtual
void
setPrecipitationType(
DtEnvironment::PrecipitationType
newType);
34
35
virtual
float
intensity()
const
;
36
virtual
void
setIntensity(
const
float
& newIntensity);
37
38
virtual
void
execute(
DtDe
& de);
39
40
protected
:
41
bool
myState
;
42
DtEnvironment::PrecipitationType
myPrecipitationType
;
43
float
myIntenstiy
;
44
};
45
48
class
DT_DLL_VRVCORE
DtPrecipitationCommandCreator
:
public
DtVrvCommandCreator
49
{
50
public
:
51
DtPrecipitationCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
52
virtual
~DtPrecipitationCommandCreator
() {}
53
54
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
55
};
56
57
}
//makVrv::
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)