VR-Forces 4.3 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
DtOsgEmissivityMapController.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2012 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvOsg/DtOsgEffectTextureController.h
>
13
#include <osg/Vec4>
14
#include <osg/StateSet>
15
#include <osg/Texture>
16
#include <string>
17
18
namespace
makVrv
19
{
22
class
DT_DLL_VRVOSG
DtOsgEmissivityMapController
:
public
DtOsgEffectTextureController
23
{
24
public
:
26
DtOsgEmissivityMapController
(
DtDe
& de );
27
29
virtual
~
DtOsgEmissivityMapController
();
30
31
public
:
// control methods
32
37
static
osg::Uniform* createLightRampUniform();
38
41
static
osg::Uniform* getLightRampUniform(osg::StateSet* stateSet);
42
43
public
:
// DtOsgEffectTextureController interface
44
45
std::string
getEffectTypeCode
()
const
{
return
"EMM"
; }
46
47
osg::Texture
* installEffectTexture(
osg::Texture
* baseTexture,
int
texUnit, osg::StateSet* stateSet,
const
osgDB::Options* dbOptions);
48
49
bool
generateShaders(
int
baseUnit,
int
effectUnit,
osg::Texture
* tex, osg::StateSet* stateSet);
50
};
51
52
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)