VR-Forces 4.2 Class Documentation
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:
28  explicit ScopedFrame(DtSharedMemory& memory)
29  : myLock(*memory.myMemoryManager)
30  {
31  }
32 
33  private:
35  };
36 
38  virtual ~DtSharedMemory();
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 
51  };
52 
53 }
54 
55 } //namespace BHAVE

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)