VR-Forces 4.0.4 Class Documentation
include/bhaveUtil/drawingLinesArray.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00006 #include "bhaveUtil/dataTransfer.h"
00007 
00008 namespace BHAVE
00009 {
00010 namespace DrawingViewer
00011 {
00012    struct DtDrawingLinesArray : public DtDataTransfer
00013    {
00014    public:
00015       DtDrawingLinesArray()
00016          : currentLineCount(0), lineArray(0)
00017       {
00018       }
00019 
00020       virtual bool Init(unsigned int max_lines, const char* path);
00021       virtual void Exit();
00022 
00023       virtual void Draw3DLine(const Kaim::Vec3f& p1, const Kaim::Vec3f& p2, KyUInt32 r, KyUInt32 g, KyUInt32 b);
00024       virtual void Draw3DPoint(const Kaim::Vec3f& p1, KyUInt32 r, KyUInt32 g, KyUInt32 b);
00025       virtual void Reset();
00026       virtual void EndFrame();
00027       virtual void GetReadingInfo(DtLineInfo * & startingLine, unsigned int & lineCount);
00028    private:
00029       unsigned int currentLineCount;
00030       DtLineInfo* lineArray;
00031    };
00032 
00033 } 
00034 
00035 } //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)