VR-Forces 4.0.4 Class Documentation
include/vrfmodel/humanPathMetric.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00008 
00010 
00011 #ifndef humanPathMetric_h
00012 #define humanPathMetric_h
00013 
00014 #include "vrfobjcore/pathMetric.h"
00015 #include "vrfmodel/vrfmodelDefines.h"
00016 
00017 class DtPhysicalWorld;
00018 
00026 class DT_DLL_vrfmodel DtHumanPathMetric : public DtPathMetric
00027 {
00028 public:
00029    DtHumanPathMetric(DtVrfObject* entity);
00030 
00031    virtual ~DtHumanPathMetric();
00032 
00033    virtual bool init();
00034 
00044    virtual double transitionCost(const DtPoint& startPoint, 
00045       const DtPoint& endPoint) const;
00046 
00048    virtual double turningCost(double cosAngle) const;
00049 
00055    virtual double multiplierForPoint(const DtPoint& point) const;
00056 
00060    virtual void setTerrainSampleDistance(double distance);
00061 
00063    virtual double terrainSampleDistance() const; 
00064 
00065    static DtPathMetric* creator(DtVrfObject* entity);
00066 
00067 protected:
00068    DtPhysicalWorld* myPhysicalWorld;
00069    double myTerrainSampleDistance;
00070 };
00071 
00072 #endif

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)