![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSpeedTreeModelInstance.h,v $ $Revision: 1.10 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtSpeedTreeModelInstance_H_ 00014 #define DtSpeedTreeModelInstance_H_ 00015 00016 #include <vrvSt/vrvSt.h> 00017 #include <vrvOsg/DtOsgModelInstance.h> 00018 00019 namespace makVrv 00020 { 00029 class DT_DLL_VRVST DtSpeedTreeModelInstance : public DtOsgModelInstance 00030 { 00031 00032 public: 00033 00035 DtSpeedTreeModelInstance(DtDe& de); 00036 00038 virtual ~DtSpeedTreeModelInstance(); 00039 00043 virtual bool realize(DtModelDefinition& definition); 00044 00046 virtual osg::Node* rootNode(); 00047 00049 virtual void setVisible(bool isVisible) {}; 00050 00051 }; 00052 00055 class DT_DLL_VRVST DtSpeedTreeModelInstanceCreator : public DtModelInstanceCreator 00056 { 00057 public: 00058 00060 static void registerCreator(DtDe& de); 00061 00063 virtual ~DtSpeedTreeModelInstanceCreator(); 00064 00066 virtual DtModelInstance* create(DtDe& de); 00067 00068 protected: 00069 00070 DtSpeedTreeModelInstanceCreator(); 00071 00072 }; 00073 } 00074 00075 #endif 00076