VR-Forces 4.1 Class Documentation
drawingViewer.h
Go to the documentation of this file.
1 
2 /*******************************************************************************
3 ** Copyright (c) 2009 MAK Technologies, Inc.
4 ** All rights reserved.
5 *******************************************************************************/
6 /*******************************************************************************
7 * Copyright 2009 Autodesk, Inc. All rights reserved.
8 * Use of this software is subject to the terms of the Autodesk license
9 * agreement provided at the time of installation or download, or which otherwise
10 * accompanies this software in either electronic or hard copy form.
11 *******************************************************************************/
12 
13 
14 #pragma once
15 
17 
18 #include "bhaveUtil/dataTransfer.h"
19 
20 namespace BHAVE
21 {
24 {
29 
30 };
31 
41 class DT_DLL_bhaveUtil DtDrawingViewerBridge : public Kaim::IDrawBridge
42 {
43 public:
45 
46  virtual ~DtDrawingViewerBridge ();
47 
48  virtual void Line (const Kaim::Vec3f &p1, const Kaim::Vec3f &p2, KyUInt32 r, KyUInt32 g, KyUInt32 b, KyUInt32 a);
49  virtual void Point (const Kaim::Vec3f &p, KyUInt32 r, KyUInt32 g, KyUInt32 b, KyUInt32 a);
50  virtual void Text (const Kaim::Vec3f &p, KyUInt32 r, KyUInt32 g, KyUInt32 b, KyUInt32 a, const char *text);
51 };
52 
54 bool DT_DLL_bhaveUtil DrawingViewerInit(DrawingViewer::DtDataTransfer* viewer, unsigned int max_lines, const char* sharedpath);
55 
57 DT_DLL_bhaveUtil bool DrawingViewerInit(DtDebugDrawingsType type, unsigned int nb_max_lines, const char* sharedpath);
58 
60 DT_DLL_bhaveUtil void DrawingViewerLine (const Kaim::Vec3f &p1, const Kaim::Vec3f &p2, KyUInt32 r, KyUInt32 g, KyUInt32 b, KyUInt32 a);
61 DT_DLL_bhaveUtil void DrawingViewerPoint (const Kaim::Vec3f &p, KyUInt32 r, KyUInt32 g, KyUInt32 b, KyUInt32 a);
62 
67 
70 
73 
76 DT_DLL_bhaveUtil void DrawingViewerGetReadingInfo(DrawingViewer::DtLineInfo * & startingLine, unsigned int & lineCount);
77 
79 
80 } //namespace BHAVE
81 
82 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)