VR-Forces 4.0.4 Class Documentation
include/makOsgShadowFX/DtShadowMapImplLispm.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: ShadowMapImplLispm.h,v $ $Revision: 1.3 $ $State: Exp $
00007 ******************************************************************************/
00008 
00009 #ifndef shadowMapImplLispm_H_
00010 #define shadowMapImplLispm_H_
00011 
00012 #include <makOsgShadowFX/DtShadowMapImplMinimal.h>
00013 #include <makOsgShadowFX/ConvexPolyhedron.h>
00014 #include <vrvOsg/vrvOsg.h>
00015 
00016 
00017 namespace osg
00018 {
00019    class Camera;
00020 }
00021 
00022 namespace makOsgShadowFX 
00023 {
00024 
00025 class DT_DLL_VRVOSG DtShadowMapLispm : public DtShadowMapMinimal
00026 {
00027     public :
00028         DtShadowMapLispm();
00029         DtShadowMapLispm(const DtShadowMapLispm& orig, const osg::CopyOp& op);
00030 
00031         META_Object(makOsgShadowFX, DtShadowMapLispm);
00032 
00033     protected:
00034        virtual void aimShadowCastingCamera( const osg::Light *light,
00035           const osg::Vec4 &worldLightPos, const osg::Vec3 &worldLightDir,                                       
00036           const osg::Vec3 &worldLightUp = osg::Vec3(0,1,0) );
00037 
00038 
00039        virtual void frameShadowCastingCamera( const osg::Camera* cameraMain, 
00040                                       osg::Camera* cameraShadow, int pass=1 );
00041     };
00042 
00043 } //makOsgShadowFX::
00044 
00045 #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)