VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtAbsoluteViewCommand.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 <matrix/vlTaitBryan.h>
00018 #include <matrix/vlVector.h>
00019 
00020 namespace makVrv
00021 {
00024    class DT_DLL_VRVCORE DtAbsoluteViewCommand : public DtVrvCommand
00025    {
00026    public: 
00027       DtAbsoluteViewCommand();
00028       virtual ~DtAbsoluteViewCommand();
00029 
00030       virtual std::string observer();
00031       virtual void setObserver(const std::string& newObs);
00032 
00033       virtual DtVector worldPosition();
00034       virtual void setWorldPosition(const DtVector& vec);
00035 
00036       virtual DtTaitBryan worldOrientation();
00037       virtual void setWorldOrientation(const DtTaitBryan& ori);
00038 
00039       virtual void execute(DtDe& de);
00040 
00041    protected:
00042       std::string myObserver;
00043       DtVector myWorldPos;
00044       DtTaitBryan myWorldOri;
00045    };
00046 
00049    class DT_DLL_VRVCORE DtAbsoluteViewCommandCreator : public DtVrvCommandCreator
00050    {
00051       public:
00052          DtAbsoluteViewCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {}
00053          virtual ~DtAbsoluteViewCommandCreator() {}
00054 
00055          virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
00056    };
00057 
00058 } //makVrv::
00059 

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)