VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)