VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDistributedDrawDriver.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2008 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 // /******************************************************************************
6 // ** $RCSfile: DtDistributedDrawDriver.h,v $ $Revision: 1.1 $ $State: Exp $
7 // ******************************************************************************/
8 
11 
12 #ifndef DtDistributedDrawDriver_H_
13 #define DtDistributedDrawDriver_H_
14 
15 #include <vrvCore/DtDriver.h>
16 #include <vrvCore/DtAgentManager.h>
17 #include "DtExampleDrawObjectAgent.hpp"
18 
19 using namespace makVrv;
20 
21 // This driver owns a DtExampleDrawObject, and is responsible for keeping track of
22 // the draw object's state & creating or destroying it when the driver is started or stopped.
24 {
25 public:
28  const std::string& instanceName);
29 
31  virtual ~DtDistributedDrawDriver();
32 
34  virtual const std::string& className() const;
35 
38  virtual void drawRandomSphere();
39 
40 protected:
41 
47 
50  virtual bool onStart();
51 
53  virtual bool onStop();
54 
56  virtual void slot_displayEngineAdded( const DtDeRecord& igRecord );
57 
59  virtual bool onTick();
60 
62  virtual void updateSphere();
63 
65  DtExampleDrawObjectAgent* myDrawAgent;
66 
68  double mySphereX, mySphereY, mySphereZ;
69 
72 
73 };
74 
75 #endif

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)