VR-Forces 4.7 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
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
DtEnvironment::PrecipitationType
precipitationType()
const
;
30
virtual
void
setPrecipitationType(
DtEnvironment::PrecipitationType
newType);
31
32
virtual
float
intensity()
const
;
33
virtual
void
setIntensity(
const
float
& newIntensity);
34
35
virtual
void
execute(
DtDe
& de);
36
37
protected
:
38
DtEnvironment::PrecipitationType
myPrecipitationType
;
39
float
myIntenstiy
;
40
};
41
44
class
DT_DLL_VRVCORE
DtPrecipitationCommandCreator
:
public
DtVrvCommandCreator
45
{
46
public
:
47
DtPrecipitationCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
48
virtual
~DtPrecipitationCommandCreator
() {}
49
50
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
51
};
52
53
}
//makVrv::
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)