![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: aggregateMoveAlongDesc.h,v $ $Revision: 1.10 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 00012 00015 00016 #ifndef DtAggregateMoveAlongDescriptor_H_ 00017 #define DtAggregateMoveAlongDescriptor_H_ 00018 00019 00020 #include "vrfobjparam/compDesc.h" 00021 #include "vrfutil/rwReal.h" 00022 #include "vrfutil/rwBoolean.h" 00023 #include <vlutil/vlTime.h> 00024 00025 class DtReaderWriterRegistry; 00026 00034 #include "vrfobjparam/vrfobjparamDefines.h" 00035 class DT_DLL_vrfobjparam DtAggregateMoveAlongDescriptor : public DtComponentDescriptor 00036 { 00037 public: 00039 DtAggregateMoveAlongDescriptor(const DtString& name, DtReaderWriterRegistry * 00040 parentRegistry = 0); 00041 00043 DtAggregateMoveAlongDescriptor(const DtAggregateMoveAlongDescriptor & orig, 00044 DtReaderWriterRegistry * parentRegistry = 0); 00045 00047 DtAggregateMoveAlongDescriptor & operator=(const 00048 DtAggregateMoveAlongDescriptor & orig); 00049 00051 virtual ~DtAggregateMoveAlongDescriptor(); 00052 00056 virtual DtString type() const; 00057 00060 virtual DtReal catchUpFactor() const; 00061 virtual void setCatchUpFactor(double catchUpFactor); 00063 00066 virtual DtReal slowDownFactor() const; 00067 virtual void setSlowDownFactor(double slowDownFactor); 00069 00072 virtual double inPositionTolerance() const; 00073 virtual void setInPositionTolerance(double tolerance); 00075 00078 virtual DtTime evaluationInterval() const; 00079 virtual void setEvaluationInterval(DtTime intervalInSeconds); 00081 00084 virtual bool generateRoutesWithRoundedCorners() const; 00085 virtual void setGenerateRoutesWithRoundedCorners(bool yesNo); 00087 00090 virtual double vertexSpacingAlongRoundedCorners() const; 00091 virtual void setVertexSpacingAlongRoundedCorners(double spacingInMeters); 00093 00096 virtual bool groundClamp() const; 00097 virtual void setGroundClamp(bool yesNo); 00099 00100 virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry 00101 = 0) const; 00102 00104 static DtComponentDescriptor * creator(); 00105 00106 protected: 00108 DtAggregateMoveAlongDescriptor(); 00109 00110 protected: 00111 00115 00121 DtRwReal myCatchupFactor; 00122 00128 DtRwReal mySlowDownFactor; 00129 00138 DtRwReal myInPositionTolerance; 00139 00144 DtRwReal myEvaluationInterval; 00145 00154 DtRwBoolean myGenerateRoutesWithRoundedCorners; 00155 00162 DtRwReal myVertexSpacingAlongRoundedCorners; 00163 00169 DtRwBoolean myGroundClamp; 00170 00172 }; 00173 00174 #endif 00175 00176 00177