VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
drawingSharedMemory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include <kyruntime.h>
10 #include "bhaveUtil/dataTransfer.h"
12 
13 namespace BHAVE
14 {
15 
16 namespace DrawingViewer
17 {
18 
23  {
24  public:
26  {
27  public:
29  : myLock(*memory.myMemoryManager)
30  {
31  }
32 
33  private:
35  };
36 
38  virtual ~DtDrawingSharedMemory();
39 
40  virtual bool Init(unsigned int max_lines, const char* path);
41  virtual void Exit();
42 
43  virtual void Draw3DLine(const Kaim::Vec3f& p1, const Kaim::Vec3f& p2, KyUInt32 r, KyUInt32 g, KyUInt32 b);
44  virtual void Draw3DPoint(const Kaim::Vec3f& p1, KyUInt32 r, KyUInt32 g, KyUInt32 b);
45  virtual void EndFrame();
46  virtual void Reset();
47 
48  protected:
49 
50  std::auto_ptr<DtDebugDrawerSharedMemoryManager> myMemoryManager;
51  std::auto_ptr<DtDebugDrawerSharedMemoryManager::ScopedFrame> myFrame;
52  };
53 
54 }
55 
56 } //namespace BHAVE

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)