VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtViewMagnificationCommand.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 {
00022    class DT_DLL_VRVCORE DtViewMagnificationCommand : public DtVrvCommand
00023    {
00024    public: 
00025       DtViewMagnificationCommand();
00026       virtual ~DtViewMagnificationCommand();
00027 
00028       virtual std::string observer() const;
00029       virtual void setObserver(const std::string& newObs);
00030 
00031       virtual double viewMagnification() const;
00032       virtual void setViewMagnification( double mag );
00033 
00034       virtual void execute(DtDe& de);
00035 
00036    protected:
00037       std::string myObserver;
00038       double myViewMagnification;
00039    };
00040 
00043    class DT_DLL_VRVCORE DtViewMagnificationCommandCreator : 
00044       public DtVrvCommandCreator
00045    {
00046       public:
00047          DtViewMagnificationCommandCreator(GlobalIdConvertFunc func);
00048          virtual ~DtViewMagnificationCommandCreator();
00049          virtual DtVrvCommand* create(
00050             vrvControlToolkit::DtVrvControl_v1* control);
00051    };
00052 
00053 } //makVrv::
00054 

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)