VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtModelSetCommand.h
Go to the documentation of this file.
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 DtModelSetCommand : public DtVrvCommand
00022    {
00023    public: 
00024       DtModelSetCommand();
00025       virtual ~DtModelSetCommand();
00026 
00027       virtual std::string viewMode() const;
00028       virtual void setViewMode(const std::string& mode);
00029 
00030       virtual int modelSet() const;
00031       virtual void setModelSet(const int& set);
00032 
00033       virtual void execute(DtDe& de);
00034 
00035    protected:
00036       std::string myViewMode;
00037       int myModelSet;
00038    };
00039 
00042    class DT_DLL_VRVCORE DtModelSetCommandCreator : public DtVrvCommandCreator
00043    {
00044    public:
00045       DtModelSetCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {}
00046       virtual ~DtModelSetCommandCreator() {}
00047 
00048       virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
00049    };
00050 
00051 
00052 } //makVrv::

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)