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
DtOsgProfilerOverlay.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 <
vrvCore/DtEventProcessorInterface.h
>
15
16
#include <
vrvUtil/DtProfileIterator.h
>
17
18
#include <string>
19
#include <vector>
20
21
namespace
makVrv
22
{
23
class
DtOsgRenderer;
24
class
DtWindowTextAgent;
25
class
DtEventProcessorInterface;
26
class
DtProfileIterator;
27
30
class
DT_DLL_VRVOSG
DtOsgProfilerOverlay
31
{
32
public
:
33
35
const
static
unsigned
int
overlayLayerId = 33;
36
38
DtOsgProfilerOverlay
(
DtDe
& de,
DtOsgRenderer
& renderer);
39
41
virtual
~
DtOsgProfilerOverlay
();
42
44
virtual
void
updateCallback();
45
46
virtual
void
reset();
47
virtual
void
enterParent();
48
virtual
void
enterChild(
int
child);
49
50
protected
:
51
DtWindowTextAgent* makeLine(
double
x,
double
y);
52
void
printLine(
const
std::string& line);
53
DtProfileIterator
*
myProfileIter
;
54
int
myCurrentLine
;
55
56
DtDe
&
myDe
;
57
DtOsgRenderer
&
myRenderer
;
58
59
DtEventProcessorInterface
*
myProfilerEventHandler
;
60
61
std::vector<DtWindowTextAgent*>
myLines
;
62
63
DtUInt64
*
myFrameHistory
;
64
DtUInt64
myPreviousTimestamp
;
65
int
myCurrentFrameIndex
;
66
67
float
myOldTransparency
;
68
};
69
}
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
)