VR-Forces 4.0.4 Class Documentation
include/vrfmodel/groundVehSlopeSoilPathMetric.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00009 
00012 
00013 #ifndef groundVehSlopeSoilPathMetric_H_
00014 #define groundVehSlopeSoilPathMetric_H_
00015 
00016 #include "vrfobjcore/pathMetric.h"
00017 
00018 class DtPhysicalWorld;
00019 
00032 #include "vrfmodel/vrfmodelDefines.h"
00033 class DT_DLL_vrfmodel DtGroundVehicleSlopeSoilPathMetric : public DtPathMetric
00034 {
00035 public:
00036    DtGroundVehicleSlopeSoilPathMetric(DtVrfObject* entity);
00037 
00038    virtual ~DtGroundVehicleSlopeSoilPathMetric();
00039 
00040    virtual bool init();
00041 
00052    virtual double transitionCost(const DtPoint& startPoint, 
00053          const DtPoint& endPoint) const;
00054    
00056    virtual double turningCost(double cosAngle) const;
00057 
00063    virtual double multiplierForPoint(const DtPoint& point) const;
00064 
00068    virtual void setTerrainSampleDistance(double distance);
00069 
00071    virtual double terrainSampleDistance() const; 
00072 
00073    static DtPathMetric* creator(DtVrfObject* entity);
00074 
00075 protected:
00076    DtPhysicalWorld* myPhysicalWorld;
00077    double myTerrainSampleDistance;
00078 };
00079 
00080 #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)