VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtMimicViewCommand.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 #include <vrvCore/DtUniqueID.h>
00018 
00019 #include <matrix/vlTaitBryan.h>
00020 #include <matrix/vlVector.h>
00021 
00022 namespace makVrv
00023 {
00026    class DT_DLL_VRVCORE DtMimicViewCommand : public DtVrvCommand
00027    {
00028    public: 
00030       DtMimicViewCommand();
00031 
00033       virtual ~DtMimicViewCommand();
00034 
00036       virtual std::string observer();
00037 
00039       virtual void setObserver(const std::string& newObs);
00040 
00043       virtual DtVector offset() const;
00044 
00049       virtual void setOffset(const DtVector& vec);
00050 
00053       virtual DtTaitBryan offsetOrientation() const;
00054 
00059       virtual void setOffsetOrientation(const DtTaitBryan& ori);
00060 
00062       virtual DtUniqueID attachedEntity() const;
00063 
00065       virtual void setAttachedEntity(const DtUniqueID& entityId); 
00066 
00068       virtual void execute(DtDe& de);
00069 
00070    protected:
00071       std::string myObserver;
00072       DtVector myOffset;
00073       DtTaitBryan myOffsetOri;  // NOT_USED
00074       DtUniqueID myAttachedEntity;
00075    };
00076 
00079    class DT_DLL_VRVCORE DtMimicViewCommandCreator : public DtVrvCommandCreator
00080    {
00081    public:
00082       DtMimicViewCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {}
00083       virtual ~DtMimicViewCommandCreator() {}
00084 
00085       virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
00086    };
00087 
00088 } //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)