VR-Forces 4.6 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
vrvPostProcessor
DtVolumetricLighting.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2016 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
6
#pragma once
7
11
12
#include <
vrvPostProcessor/vrvPostProcessor.h
>
13
14
#include <
vrvPostProcessor/DtPostProcessor.h
>
15
#include <
vrvUtil/DtSignalConnectionManager.h
>
16
17
namespace
makVrv
18
{
19
20
class
DtWindow;
21
class
DtVolumetricDrawable;
22
26
class
DT_DLL_VRVPOSTPROCESSOR
DtVolumetricLighting
:
public
DtPostProcessor
27
{
28
public
:
30
DtVolumetricLighting
(
DtDe
& de,
const
std::string& postProcessType,
bool
handles2D);
31
33
virtual
~
DtVolumetricLighting
();
34
36
virtual
bool
update(
DtChannel
*channel);
37
39
virtual
void
slot_reloadShaders();
40
virtual
void
slot_setGodRayEffects(
bool
enabled);
41
virtual
osg::Texture2D* outputTexture();
42
43
bool
getLocalEnabled
() {
return
myLocalEnabled; }
44
46
virtual
bool
effectItrEnabled(EffectMap::iterator &effect);
47
virtual
bool
postProcessorEnabled()
const
;
48
49
50
protected
:
51
virtual
void
slot_windowRemoved(
DtWindow
* window);
52
53
DtDe
&
myDe
;
54
DtSignalConnectionManager
myConnections
;
55
56
DtVolumetricDrawable *
myVolumeDrawable
;
57
bool
myLocalEnabled
;
58
};
59
60
//
61
// Creator
62
//
63
67
class
DT_DLL_VRVPOSTPROCESSOR
DtVolumetricLightingCreator
68
:
public
DtPostProcessorCreator
69
{
70
public
:
72
friend
class
DtPostProcessManager
;
73
75
DtVolumetricLightingCreator
();
76
78
virtual
~
DtVolumetricLightingCreator
();
79
80
protected
:
82
virtual
DtPostProcessor
* create(
DtDe
& de,
const
std::string& postProcessType);
83
};
84
85
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)