![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2004 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: humanObstructionSens.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef humanObstructionSens_H_ 00016 #define humanObstructionSens_H_ 00017 00018 #include "vrfmodel/obstructionSens.h" 00019 #include "vrfmodel/vrfmodelDefines.h" 00020 00025 class DT_DLL_vrfmodel DtHumanObstructionSensor : public DtObstructionSensor 00026 { 00027 00028 public: 00029 00032 DtHumanObstructionSensor(const DtString& name, 00033 DtVrfObject* owner, 00034 DtSimManager* simManager, 00035 DtComponentDescriptor* desc = 0, 00036 DtReaderWriterRegistry* parentRegistry = 0); 00037 00039 virtual ~DtHumanObstructionSensor(); 00040 00043 virtual DtString type() const; 00044 00045 private: 00047 DtHumanObstructionSensor(const DtObstructionSensor& orig); 00048 00050 DtHumanObstructionSensor& operator=(const DtObstructionSensor& orig); 00051 00052 00053 public: 00054 00055 protected: 00056 00061 virtual bool calculateStoppingDistance( 00062 const DtObstructionSensorDescriptor& obstructionSensorDesc, 00063 double& stoppingDistance); 00064 00065 public: 00069 static DtSimComponent * creator(const DtString& name, 00070 DtVrfObject* owner, 00071 DtSimManager* simManager, 00072 DtComponentDescriptor* desc = 0, 00073 DtReaderWriterRegistry* parentRegistry = 0); 00074 }; 00075 00076 #endif 00077 00078 00079 00080 00081 00082 00083