VR-Forces 4.0.4 Class Documentation
include/bhaveSim/drawingSharedMemory.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00006 #pragma once
00007 
00008 #include <bhaveSim/bhaveSimDefines.h>
00009 #include <kyruntime.h>
00010 #include "bhaveUtil/dataTransfer.h"
00011 #include <simTerrainDrawer/debugDrawerSharedMemoryManager.h>
00012 
00013 namespace BHAVE
00014 {
00015 
00016 namespace DrawingViewer
00017 {
00018 
00022    class DT_DLL_bhaveSim DtSharedMemory : public DtDataTransfer
00023    {
00024    public:
00025       DtSharedMemory();
00026       virtual ~DtSharedMemory();
00027 
00028       virtual bool Init(unsigned int max_lines, const char* path);
00029       virtual void Exit();
00030 
00031       virtual void Draw3DLine(const Kaim::Vec3f& p1, const Kaim::Vec3f& p2, KyUInt32 r, KyUInt32 g, KyUInt32 b);
00032       virtual void Draw3DPoint(const Kaim::Vec3f& p1, KyUInt32 r, KyUInt32 g, KyUInt32 b);
00033       virtual void EndFrame();
00034       virtual void Reset();
00035      
00036      protected:
00037      
00038         DtDebugDrawerSharedMemoryManager* myMemoryManager;
00039    };
00040    
00041 } 
00042 
00043 } //namespace BHAVE

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)