VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtSymbolDecorationUpdater.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2009 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtSymbolDecorationUpdater.h,v $ $Revision: 1.19 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008  
00012  
00013 #pragma once
00014 
00015 #include <vrvCore/vrvCore.h>
00016 #include <vrvCore/DtDe.h>
00017 #include <vrvCore/DtIntersector.h>
00018 #include <vrvCore/DtUpdater.h>
00019 #include <vrvUtil/DtUnicode.h>
00020 
00021 #include <string>
00022 #include <map>
00023 
00024 namespace makVrv 
00025 {
00026    class DtAttributeGroupWidget;
00027 
00031    class DT_DLL_VRVCORE DtSymbolDecorationUpdater :
00032       public DtUpdater
00033    { 
00034    public:
00035 
00037       DtSymbolDecorationUpdater(DtDe& de, DtUniqueID id, 
00038          bool doNotAddToMgr = false );
00039 
00041       virtual ~DtSymbolDecorationUpdater();
00042      
00044       virtual void update( double simTime );
00045 
00047       virtual void setSceneObject(  DtSceneObject* sceneObjectId); 
00048 
00051       virtual void attachAttributeGroupWidget(DtUniqueID id);
00052 
00055       virtual void associateIdWithIndex(DtUnicode idString, unsigned int index);
00056 
00058       virtual void unAssociateId(DtUnicode idString);
00059 
00062       virtual int lookupDecorationIndex(const DtUnicode& idString);
00063 
00066       virtual DtAttributeGroupWidget* attributeGroupWidget();
00067 
00068    protected:
00069 
00071       DtAttributeGroupWidget* myAttributeGroupWidget;
00072 
00075       double myLastSymbolUpdateTime;
00076 
00078       typedef std::map<DtUnicode, unsigned int> DecorationIdMap;
00079 
00081       DecorationIdMap myDecorationIdMap;
00082    };
00083 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)