VR-Forces 4.3.1 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
vrvOsg
DtOsgFlowMapController.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2014 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvOsg/DtOsgEffectTextureController.h
>
13
#include <
vrvOsg/DtEffectControllerFactory.h
>
14
15
#include <osg/Vec4>
16
#include <osg/StateSet>
17
#include <osg/Texture>
18
#include <string>
19
20
namespace
makVrv
21
{
24
class
DT_DLL_VRVOSG
DtFlowMapControllerCreator
:
public
DtEffectControllerCreator
25
{
26
public
:
27
virtual
DtOsgEffectTextureController
* create(
DtOsgFileCache
& fileCache,
DtOsgShaderManager
& shaderMgr,
DtDe
& de);
28
};
29
32
class
DT_DLL_VRVOSG
DtOsgFlowMapController
:
public
DtOsgEffectTextureController
33
{
34
public
:
36
DtOsgFlowMapController
(
DtOsgFileCache
& fileCache,
DtOsgShaderManager
& shaderMgr,
DtDe
& de);
37
39
virtual
~
DtOsgFlowMapController
();
40
41
public
:
// DtOsgEffectTextureController interface
42
43
std::string
getEffectTypeCode
()
const
{
return
"FLW"
; }
44
45
bool
generateShaders(
int
baseUnit,
int
effectUnit,
osg::Texture
* tex, osg::StateSet* stateSet,
const
std::string& baseTextureName);
46
47
protected
:
48
std::string
myFragUserLightingSource
;
49
DtDe
&
myDe
;
50
};
51
52
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)