VR-Forces Development_Version 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
DtOsgEarthEffectTextureInstaller.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: $ $Revision: $ $State: $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvOsg/vrvOsg.h
>
15
#include <
vrvOsg/DtOsgEarthFeatureDataBroker.h
>
16
#include <osg/NodeCallback>
17
18
namespace
makVrv
19
{
20
class
DtOsgEffectTextureVisitor;
21
27
class
DT_DLL_VRVOSG
DtOsgEarthEffectTextureInstaller
:
public
DtOsgEarthFeatureDataBroker::Callback
28
{
29
public
:
30
// Constructor
31
DtOsgEarthEffectTextureInstaller
(
DtDe
& de);
32
33
public
:
// DtOsgEarthFeatureDataBroker::Callback interface
34
35
// Invoked by the broker when the layer is first loaded.
36
void
onLayerLoaded(osgEarth::MapNode* mapNode,
37
osgEarth::ModelLayer* layer);
38
39
// Invoked by the broker when new data arrives.
40
void
onDataLoaded(osgEarth::Map* map, osgEarth::ModelLayer* layer,
41
osg::Node* data);
42
43
public
:
46
static
const
char
* className();
47
48
protected
:
49
virtual
~DtOsgEarthEffectTextureInstaller
() { }
50
51
protected
:
52
static
const
char
*
myClassName
;
53
54
protected
:
55
DtDe
&
myDe
;
56
};
57
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)