![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: $ $Revision: 95512 $ $State: $ 00007 *******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvCore/DtVrvCommand.h> 00016 00017 namespace makVrv 00018 { 00021 class DT_DLL_VRVCORE DtShadowSettingsCommand : public DtVrvCommand 00022 { 00023 public: 00024 DtShadowSettingsCommand(); 00025 virtual ~DtShadowSettingsCommand(); 00026 00027 virtual bool entitesCastShadows() const; 00028 virtual void setEntitiesCastShadows(bool state); 00029 00030 virtual bool propsCastShadows() const; 00031 virtual void setPropsCastShadows(bool state); 00032 00033 virtual bool terrainCastsShadows() const; 00034 virtual void setTerrainCastsShadows(bool state); 00035 00036 virtual int quality() const; 00037 virtual void setQuality( const int& newQuality); 00038 00039 virtual void execute(DtDe& de); 00040 00041 protected: 00042 bool myEntitiesCastShadows; 00043 bool myPropsCastShadows; 00044 bool myTerrainCastShadows; 00045 int myQuality; 00046 }; 00047 00050 class DT_DLL_VRVCORE DtShadowSettingsCommandCreator : public DtVrvCommandCreator 00051 { 00052 public: 00053 DtShadowSettingsCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {} 00054 virtual ~DtShadowSettingsCommandCreator() {} 00055 00056 virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control); 00057 }; 00058 00059 } //makVrv::