VR-Forces 4.0.4 Class Documentation
include/vrvVrl/DtGroundClampingCommand.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 #include <vrvVrl/vrvVrl.h>
00017 
00018 namespace makVrv
00019 {
00022    class DT_DLL_VRVVRL DtGroundClampingCommand : public DtVrvCommand
00023    {
00024    public: 
00025       DtGroundClampingCommand();
00026       virtual ~DtGroundClampingCommand();
00027 
00028       virtual bool isEnabled() const;
00029       virtual void setEnabled(bool state);
00030 
00031       virtual bool isLifeformsUpright() const;
00032       virtual void setLifeformsUpright(bool state);
00033 
00034       virtual bool isOrientationClamped() const;
00035       virtual void setOrientationClamped(bool state);
00036 
00037       virtual float range() const;
00038       virtual void setRange(const float& newRange);
00039 
00040       virtual void execute(DtDe& de);
00041 
00042    protected:
00043       bool myState;
00044       bool myLifeformsUpright;
00045       bool myClampOrientation;
00046       float myRange;
00047    };
00048 
00051    class DT_DLL_VRVVRL DtGroundClampingCommandCreator : public DtVrvCommandCreator
00052    {
00053    public:
00054       DtGroundClampingCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {}
00055       virtual ~DtGroundClampingCommandCreator() {}
00056 
00057       virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
00058    };
00059 } //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)