![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtDiGuyOsgGraphicsShape.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtDiGuyOsgGraphicsShape_H_ 00014 #define DtDiGuyOsgGraphicsShape_H_ 00015 00016 #include <vrvDiGuy/vrvDiGuy.h> 00017 #include <diguyGraphicsShape.h> 00018 00019 namespace osg 00020 { 00021 class Switch; 00022 class LOD; 00023 } 00024 00025 namespace makVrv 00026 { 00029 class DT_DLL_VRVDIGUY DtDiGuyOsgGraphicsShape : public diguyGraphicsShape 00030 { 00031 public: 00032 00033 static diguyGraphicsShape* create(void* internal_data); 00034 00035 ~DtDiGuyOsgGraphicsShape(); 00036 00037 virtual void build(); 00038 virtual void unbuild(); 00039 virtual void show(); 00040 virtual void hide(); 00041 00042 protected: 00043 00044 DtDiGuyOsgGraphicsShape(void* internal_data); 00045 00046 osg::Switch* mySwitchNode; 00047 osg::LOD* myLODNode; 00048 }; 00049 } 00050 00051 #endif 00052