VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
simTerrainDrawer
debugDrawerGeometryMemory.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: debugDrawerGeometryMemory.h,v $ $Revision: 1.0 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include "
simTerrainDrawer/simTerrainDrawerDefines.h
"
17
#include "
vrfutil/bufferSerialize.h
"
18
#include "matrix/vlVector.h"
19
20
const
int
DtDebugDrawerGeometryMemorySphereType
= 1;
21
const
int
DtDebugDrawerGeometryMemoryLineType
= 2;
22
const
int
DtDebugDrawerGeometryMemoryTriangleType
= 3;
23
26
struct
DT_DLL_simTerrainDrawer
DtDebugDrawerGeometryMemoryColor
27
{
28
static
const
DtDebugDrawerGeometryMemoryColor
Red
;
29
static
const
DtDebugDrawerGeometryMemoryColor
Blue
;
30
static
const
DtDebugDrawerGeometryMemoryColor
Green
;
31
static
const
DtDebugDrawerGeometryMemoryColor
White
;
32
static
const
DtDebugDrawerGeometryMemoryColor
Black
;
33
static
const
DtDebugDrawerGeometryMemoryColor
Yellow
;
34
static
const
DtDebugDrawerGeometryMemoryColor
Purple
;
35
36
DtDebugDrawerGeometryMemoryColor
operator*(
unsigned
)
const
;
37
DtDebugDrawerGeometryMemoryColor
operator/(
unsigned
)
const
;
38
39
unsigned
char
red
;
40
unsigned
char
green
;
41
unsigned
char
blue
;
42
};
43
44
class
DT_DLL_simTerrainDrawer
DtDebugDrawerGeometryMemory
45
{
46
public
:
48
DtDebugDrawerGeometryMemory
() {}
49
51
virtual
~DtDebugDrawerGeometryMemory
() {}
52
57
virtual
char
*
encode
(
char
* buffer)=0;
58
67
virtual
const
char
*
decode
(
const
char
* buffer)=0;
68
71
virtual
int
getSize
()=0;
72
76
virtual
int
type()=0;
77
80
DtDebugDrawerGeometryMemoryColor
myColor
;
81
};
82
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)