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
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/vrvOsg.h
>
13
14
#include <
vrvOsg/DtOsgEffectTextureController.h
>
15
#include <
vrvOsg/DtEffectControllerFactory.h
>
16
17
#include <string>
18
19
namespace
osg
20
{
21
class
Texture
;
22
class
StateSet;
23
}
24
25
namespace
makVrv
26
{
29
class
DT_DLL_VRVOSG
DtOsgEmissivityMapController
:
public
DtOsgEffectTextureController
30
{
31
public
:
33
DtOsgEmissivityMapController
(
const
DtOsgFileCache
& fileCache);
34
36
virtual
~
DtOsgEmissivityMapController
();
37
38
public
:
// control methods
39
44
static
osg::Uniform* createLightRampUniform();
45
48
static
osg::Uniform* getLightRampUniform(osg::StateSet* stateSet);
49
50
public
:
// DtOsgEffectTextureController interface
51
52
virtual
osg::Texture
* installEffectTexture(
osg::Texture
* baseTexture,
int
texUnit, osg::StateSet* stateSet,
const
osgDB::Options* dbOptions,
const
DtPossibleFileNamesCache
& possibleFilenames)
const
;
53
54
virtual
bool
installShaders(
int
baseUnit,
int
effectUnit,
const
osg::Texture
* tex, osg::StateSet* stateSet,
const
std::string& baseTextureName)
const
;
55
};
56
59
typedef
DtEffectControllerCreatorTemplate<DtOsgEmissivityMapController>
DtEMMControllerCreator
;
60
}
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
)