VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
bhaveUtil
drawingLinesArray.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#include "
bhaveUtil/dataTransfer.h
"
7
8
namespace
BHAVE
9
{
10
namespace
DrawingViewer
11
{
12
struct
DtDrawingLinesArray
:
public
DtDataTransfer
13
{
14
public
:
15
DtDrawingLinesArray
()
16
:
currentLineCount
(0),
lineArray
(0)
17
{
18
}
19
20
virtual
bool
Init
(
unsigned
int
max_lines,
const
char
* path);
21
virtual
void
Exit
();
22
23
virtual
void
Draw3DLine
(
const
Kaim::Vec3f& p1,
const
Kaim::Vec3f& p2, KyUInt32 r, KyUInt32 g, KyUInt32 b);
24
virtual
void
Draw3DPoint
(
const
Kaim::Vec3f& p1, KyUInt32 r, KyUInt32 g, KyUInt32 b);
25
virtual
void
Reset
();
26
virtual
void
EndFrame
();
27
virtual
void
GetReadingInfo
(
DtLineInfo
* & startingLine,
unsigned
int
& lineCount);
28
private
:
29
unsigned
int
currentLineCount
;
30
DtLineInfo
*
lineArray
;
31
};
32
33
}
34
35
}
//namespace BHAVE
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
)