VR-Forces 4.1.1 Class Documentation
DtVrlink3DRemoteGraphicStateVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtVrlink3DRemoteGraphicStateVisualizer.h,v $ $Revision: 1.43 $ $SceneObject: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
22 #include <vrvUtil/templateUtil.h>
24 
25 #include <boost/unordered_map.hpp>
26 
27 namespace makVrv
28 {
29  namespace DT_PROTOCOL_NAMESPACE
30  {
31  template <typename BaseClass>
33  public DtVrlinkRemoteGraphicStateVisualizer<BaseClass>
34  {
35  public:
36  DtVrlink3DRemoteGraphicStateVisualizer(DtBaseConnection& simulation, DtStateListener& listener, int modelSet);
37 
39 
40  public:
41  virtual void setHostId(const std::string& id, int vtx, double percentage);
42 
43  protected:
44  void slot_entityCreated(DtVrlinkEntityStateListener& esl, int vtx, double percentage);
45  void slot_environmentalCreated(DtVrlinkEnvironmentalStateListenerInterface& esl, int vtx, double percentage);
46 
47  protected:
48  typedef boost::unordered_map<int, DtGlobalObjectDesignator> VertexToIdMap;
50  };
51  }
52 }
53 
54 #include <vrvVrl/DtVrlink3DRemoteGraphicStateVisualizer.inl>
55 
56 namespace makVrv
57 {
58  namespace DT_PROTOCOL_NAMESPACE
59  {
60  EXPORT_TEMPLATE_TYPEDEF(DtVrlink3DRemoteGraphicStateVisualizer<DtCuboidStateVisualizer>, DtVrlinkCuboidStateVisualizer)
62 
65 
68 
71 
74  }
75 }
76 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)