VR-Forces 4.6.1 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
vrvVirtualReality
DtSubmitOverlayCallback.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
10
11
#pragma once
12
13
#include "
vrvVirtualReality/vrvVirtualReality.h
"
14
15
#include <osg/Texture2D>
16
#include <osg/Camera>
17
#include <osg/Matrixd>
18
19
namespace
makVrv
20
{
23
class
DT_DLL_VRVVR
DtSubmitOverlayCallback
:
public
osg::Camera::DrawCallback
24
{
25
private
:
27
DtSubmitOverlayCallback
();
28
30
DtSubmitOverlayCallback
(
const
DtSubmitOverlayCallback
& orig);
31
33
DtSubmitOverlayCallback
& operator=(
const
DtSubmitOverlayCallback
&);
34
35
public
:
37
DtSubmitOverlayCallback
(osg::Texture2D* tex,
DtDe
& de);
38
40
virtual
~
DtSubmitOverlayCallback
();
41
43
virtual
void
operator()(osg::RenderInfo& renderInfo)
const
;
44
47
virtual
osg::Matrixd offsetMatrix();
48
51
virtual
void
setOffsetMatrix(
const
osg::Matrixd& mat);
52
55
virtual
void
setFlipOverlay(
bool
flip);
56
58
virtual
bool
flipOverlay()
const
;
59
60
protected
:
61
DtDe
&
myDe
;
62
uint64_t
myOverlay
;
63
osg::ref_ptr<osg::Texture2D>
myOverlayTexture
;
64
osg::Matrix
myOffsetMatrix
;
65
bool
myFlipOverlay
;
66
};
67
}
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)