VR-Forces 4.1 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
unsigned
char
red
;
29
unsigned
char
green
;
30
unsigned
char
blue
;
31
};
32
33
class
DT_DLL_simTerrainDrawer
DtDebugDrawerGeometryMemory
34
{
35
public
:
37
DtDebugDrawerGeometryMemory
() {}
38
40
virtual
~DtDebugDrawerGeometryMemory
() {}
41
46
virtual
char
*
encode
(
char
* buffer)=0;
47
56
virtual
const
char
*
decode
(
const
char
* buffer)=0;
57
60
virtual
int
getSize
()=0;
61
65
virtual
int
type()=0;
66
69
DtDebugDrawerGeometryMemoryColor
myColor
;
70
};
71
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
)