![]() |
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 #include <vrvVrl/vrvVrl.h> 00017 00018 namespace makVrv 00019 { 00022 class DT_DLL_VRVVRL DtEntitySmoothingCommand : public DtVrvCommand 00023 { 00024 public: 00025 DtEntitySmoothingCommand(); 00026 virtual ~DtEntitySmoothingCommand(); 00027 00028 virtual bool isEnabled() const; 00029 virtual void setEnabled(bool state); 00030 00031 virtual void execute(DtDe& de); 00032 00033 protected: 00034 bool myState; 00035 int myLayer; 00036 }; 00037 00040 class DT_DLL_VRVVRL DtEntitySmoothingCommandCreator : public DtVrvCommandCreator 00041 { 00042 public: 00043 DtEntitySmoothingCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {} 00044 virtual ~DtEntitySmoothingCommandCreator() {} 00045 00046 virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control); 00047 }; 00048 } //makVrv::