![]() |
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 DtFogCommand : public DtVrvCommand 00022 { 00023 public: 00024 DtFogCommand(); 00025 virtual ~DtFogCommand(); 00026 00027 virtual float distance() const; 00028 virtual void setDistance(const float& d); 00029 00030 virtual void execute(DtDe& de); 00031 00032 protected: 00033 float myDistance; 00034 00035 }; 00036 00039 class DT_DLL_VRVCORE DtFogCommandCreator : public DtVrvCommandCreator 00040 { 00041 public: 00042 DtFogCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {} 00043 virtual ~DtFogCommandCreator() {} 00044 00045 virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control); 00046 }; 00047 } //makVrv::