![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2011 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtEntityInfoWidget.h,v $ $Revision: 1.10 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtEntityInfoWidget_H_ 00014 #define DtEntityInfoWidget_H_ 00015 00016 #include <vrvCore/vrvCore.h> 00017 #include <vrvUtil/DtUnicode.h> 00018 00019 namespace makVrv 00020 { 00021 class DtAgentManagerInterface; 00022 class DtProjectedWidgetModelAgent; 00023 class DtWidgetAgent; 00024 class DtWidgetLabelAgent; 00025 class DtModelAgent; 00026 00030 class DT_DLL_VRVCORE DtEntityInfoWidget 00031 { 00032 public: 00033 00035 DtEntityInfoWidget(DtAgentManagerInterface& sceneInterface, 00036 unsigned int modelSet, 00037 const std::string& infoWidgetModelDef); 00038 00040 virtual ~DtEntityInfoWidget(); 00041 00043 virtual void setText(const DtUnicode& text); 00044 00046 virtual void setGroup(unsigned int group); 00047 00049 DtModelAgent* model(); 00050 00052 virtual void setColor(float r,float g,float b,float a); 00053 00054 protected: 00055 00056 DtAgentManagerInterface& mySceneInterface; 00057 DtProjectedWidgetModelAgent* myProjectedWidgetModelAgent; 00058 DtWidgetLabelAgent* myWidgetLabelAgent; 00059 }; 00060 } 00061 00062 #endif 00063