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
DtInstanceLpProcessor.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvOsg/vrvOsg.h
>
13
#include <
vrvOsg/DtInstanceProcessor.h
>
14
#include <
vrvOsg/DtInstanceState.h
>
15
16
namespace
osg
17
{
18
class
Camera
;
19
}
20
21
namespace
makVrv
22
{
23
class
DtDe;
24
25
class
DtInstanceManager;
26
30
class
DT_DLL_VRVOSG
DtInstanceLpProcessor
:
public
DtInstanceProcessor
31
{
32
public
:
33
35
DtInstanceLpProcessor
(
DtInstanceManager
& instanceManager,
DtDe
& de);
36
38
virtual
~
DtInstanceLpProcessor
();
39
41
virtual
void
processRange(
unsigned
int
instanceStride,
unsigned
int
instanceOffset,
unsigned
int
instanceCount);
42
43
protected
:
44
46
void
updateLpRange(
unsigned
int
instanceStride,
unsigned
int
instanceOffset,
unsigned
int
instanceCount, osg::Camera* camera );
47
50
void
updateLightPoints(
const
ArrayRange
& drawableRange,
unsigned
int
drawableOffset, osg::Camera* camera );
51
52
protected
:
53
55
DtInstanceManager
&
myInstanceManager
;
56
57
DtDe
&
myDe
;
58
};
59
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)