![]() |
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 #include <matrix/vlTaitBryan.h> 00018 #include <matrix/vlVector.h> 00019 00020 namespace makVrv 00021 { 00024 class DT_DLL_VRVCORE DtResetViewCommand : public DtVrvCommand 00025 { 00026 public: 00027 DtResetViewCommand(); 00028 virtual ~DtResetViewCommand(); 00029 00030 virtual std::string observer(); 00031 virtual void setObserver(const std::string& newObs); 00032 00033 virtual void execute(DtDe& de); 00034 00035 protected: 00036 std::string myObserver; 00037 }; 00038 00041 class DT_DLL_VRVCORE DtResetViewCommandCreator : public DtVrvCommandCreator 00042 { 00043 public: 00044 DtResetViewCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {} 00045 virtual ~DtResetViewCommandCreator() {} 00046 00047 virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control); 00048 }; 00049 00050 } //makVrv:: 00051