VR-Forces 4.0.4 Class Documentation
include/bhaveSim/drivingEntityAttribute.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00006 
00007 #pragma once
00008 
00009 #include <bhaveSim/bhaveSimDefines.h>
00010 #include <kyruntime.h>
00011 
00012 namespace BHAVE
00013 {
00014 
00016    class DT_DLL_bhaveSim DtDrivingEntityAttribute : public Kaim::BodyAttribute
00017    {
00018    public:
00019       KY_DECLARE_BODYATTRIBUTE(DtDrivingEntityAttribute);
00020 
00021       virtual Kaim::BodyAttribute& operator=(const Kaim::BodyAttribute& attr); 
00022 
00024       void setBrakingSpeed (double brakeSpeed);
00025       double brakingSpeed () const;
00026 
00028       void setCanPivot (bool canPivot);
00029       bool canPivot () const;
00030 
00032       void setTurningRadius (double tr);
00033       double turningRadius() const;
00034 
00036       virtual void setApproachSpeed(double approachSpeed);
00037       double approachSpeed() const;
00038 
00041       virtual void setNearDistance(double nearDistance);
00042       double nearDistance() const;
00043 
00046       virtual void setReverseTurning(bool reverseT);
00047       bool reverseTurning() const;
00048 
00051       virtual void setKTurn(bool kt);
00052       bool KTurn() const;
00053 
00054    private:
00055       double myBrakingSpeed;
00056       bool myCanPivot;
00057       double myTurningRadius;
00058       double myApproachSpeed;
00059       double myNearDistance;
00060       bool myReverseTurning;
00061       bool myKTurn;
00062 
00063    };
00064 }
00065 

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)