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
vrvDiGuy
DtDiGuyOsgGraphicsShape.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#include <
vrvDiGuy/vrvDiGuy.h
>
11
12
#include <diguyGraphicsShape.h>
13
14
#include <osg/Switch>
15
#include <osg/LOD>
16
#include <osg/Geode>
17
18
#include <osgEarth/ShaderUtils>
19
20
namespace
makVrv
21
{
24
class
DT_DLL_VRVDIGUY
DtDiGuyOsgGraphicsShape
:
public
diguyGraphicsShape
25
{
26
public
:
28
DtDiGuyOsgGraphicsShape
(
void
* internal_data);
29
31
virtual
~
DtDiGuyOsgGraphicsShape
();
32
36
virtual
void
build();
37
41
virtual
void
unbuild();
42
46
virtual
void
show();
47
51
virtual
void
hide();
52
54
virtual
void
set_graphics_lod_ranges(
float
* lodRanges);
55
59
virtual
void
update();
60
62
static
char
*
UniformLinkMatricesString
;
63
64
std::vector<osg::Geode*>
m_geodes
;
65
66
protected
:
67
osg::ref_ptr<osg::Switch>
mySwitchNode
;
68
osg::ref_ptr<osg::LOD>
myLodNode
;
69
71
static
bool
UsePixelLods
;
72
73
//osg::ref_ptr<osg::Uniform> myUniformLinkMatrices;
74
osg::ref_ptr<osg::Uniform>
myUniformLinkColor
;
75
osg::ref_ptr<osg::StateSet>
myStateSet
;
76
};
77
}
81
diguyGraphicsShape
*
diguyOsgGraphicsShape_create_func
(
void
* internal_data);
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
)