![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999-2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: mountingCtlr.h,v $ $Revision: 1.18 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 00015 #ifndef DtMountingController_H_ 00016 #define DtMountingController_H_ 00017 00018 00019 #include "vrfmodel/baseMountCtlr.h" 00020 #include <matrix/vlVector.h> 00021 00029 #include "vrfmodel/vrfmodelDefines.h" 00030 class DT_DLL_vrfmodel DtMountingController : public DtBaseMountingController 00031 { 00032 00033 public: 00034 00037 DtMountingController(const DtString& name, 00038 DtVrfObject* owner, 00039 DtSimManager* simManager, 00040 DtComponentDescriptor* desc = 0, 00041 DtReaderWriterRegistry* parentRegistry = 0); 00042 00044 virtual ~DtMountingController(); 00045 00048 virtual DtString type() const; 00049 00050 virtual void findDesiredAzimuthAndElevation(); 00051 00054 virtual void setTargetPoint(const DtVector& localTargetPoint); 00055 virtual const DtVector& targetPoint(); 00056 00060 virtual void findBodyAzimuthElevationToTargetPoint(const DtVector& 00061 targetPointIn); 00062 00066 static DtSimComponent * creator(const DtString& name, 00067 DtVrfObject* owner, 00068 DtSimManager* simManager, 00069 DtComponentDescriptor* desc = 0, 00070 DtReaderWriterRegistry* parentRegistry = 0); 00071 00072 protected: 00075 DtMountingController(); 00076 00078 DtMountingController(const DtMountingController & orig); 00079 00081 const DtMountingController & operator=(const DtMountingController & 00082 orig); 00083 00084 protected: 00085 00087 bool myUseTargetPoint; 00088 DtVector myTargetPoint; 00089 00090 }; 00091 00092 #endif