VR-Forces 4.0.4 Class Documentation
include/makOsgShadowFX/DtShadowMapImplSimple.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: ShadowMapImplSimple.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ******************************************************************************/
00008 
00009 #ifndef shadowMapImplSimple_H_
00010 #define shadowMapImplSimple_H_
00011 
00012 #include <makOsgShadowFX/DtShadowMapImpl.h>
00013 #include <vrvOsg/vrvOsg.h>
00014 
00015 #include <osg/Camera>
00016 #include <osg/Material>
00017 #include <osg/MatrixTransform>
00018 #include <osg/LightSource>
00019 #include <osgUtil/CullVisitor>
00020 #include <osg/TexGen>
00021 #include <osg/Texture2D>
00022 
00023 namespace makOsgShadowFX 
00024 {
00025 
00026 class DT_DLL_VRVOSG DtShadowMapSimple : public DtShadowMap
00027 {
00028     public :
00029         DtShadowMapSimple();
00030         DtShadowMapSimple(const DtShadowMapSimple& orig, const osg::CopyOp& op);
00031 
00032         META_Object(makOsgShadowFX, DtShadowMapSimple);
00033  
00034 
00035     protected:
00036        virtual void aimShadowCastingCamera( const osg::Light *light,
00037           const osg::Vec4 &worldLightPos, const osg::Vec3 &worldLightDir,                                       
00038           const osg::Vec3 &worldLightUp = osg::Vec3(0,1,0) );
00039 
00040     };
00041 
00042 } //makOsgShadowFX::
00043 
00044 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)