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

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)