VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
makOsgShadowFX
DtShadowMapImplSimple.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: ShadowMapImplSimple.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
9
#ifndef shadowMapImplSimple_H_
10
#define shadowMapImplSimple_H_
11
12
#include <
makOsgShadowFX/DtShadowMapImpl.h
>
13
#include <
vrvOsg/vrvOsg.h
>
14
15
#include <osg/Camera>
16
#include <osg/Material>
17
#include <osg/MatrixTransform>
18
#include <osg/LightSource>
19
#include <osgUtil/CullVisitor>
20
#include <osg/TexGen>
21
#include <osg/Texture2D>
22
23
namespace
makOsgShadowFX
24
{
25
26
class
DT_DLL_VRVOSG
DtShadowMapSimple
:
public
DtShadowMap
27
{
28
public
:
29
DtShadowMapSimple
();
30
DtShadowMapSimple
(
const
DtShadowMapSimple
& orig,
const
osg::CopyOp& op);
31
32
META_Object(makOsgShadowFX,
DtShadowMapSimple
);
33
34
35
protected
:
36
virtual
void
aimShadowCastingCamera(
const
osg::Light *light,
37
const
osg::Vec4 &worldLightPos,
const
osg::Vec3 &worldLightDir,
38
const
osg::Vec3 &worldLightUp = osg::Vec3(0,1,0) );
39
40
};
41
42
}
//makOsgShadowFX::
43
44
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)