![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtAttachableHatUpdater.h,v $ $Revision: 1.21 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtAttachableHatUpdater_H_ 00014 #define DtAttachableHatUpdater_H_ 00015 00016 #include <vrvCore/vrvCore.h> 00017 #include <vrvCore/DtUniqueID.h> 00018 #include <vrvCore/DtAttachableUpdater.h> 00019 00020 #include <matrix/vlVector.h> 00021 #include <matrix/vlTaitBryan.h> 00022 00023 #include <vector> 00024 #include <list> 00025 00026 namespace makVrv 00027 { 00028 class DtDe; 00029 00037 class DT_DLL_VRVCORE DtAttachableHatUpdater : public DtAttachableUpdater 00038 { 00039 00040 public: 00041 00043 DtAttachableHatUpdater( DtDe& de, DtUniqueID id ); 00044 00046 virtual ~DtAttachableHatUpdater(); 00047 00049 virtual void update( double simTime ); 00050 00053 virtual void setUseHighestTerrainLod(bool useHighest); 00054 00055 protected: 00056 00059 virtual bool useHighestTerrainLod() const; 00060 00061 DtVector myLastTopPos; 00062 DtTaitBryan myLastTopOri; 00063 bool myUseHighestTerrainLod; 00064 }; 00065 } 00066 00067 #endif