VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
ctdb
c7bLinearModel.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: c7bLinearModel.h,v $ $Revision: 1.8 $ $State: Exp $
7
*******************************************************************************/
8
9
//
10
// File c7bLinearModel
11
//
12
// Class: DtC7bLinearModel
13
//
14
// The class is public because should not be used but anyone else than
15
// DtC7b.
16
//
17
18
#ifndef __DtC7bLinearModel
19
#define __DtC7bLinearModel
20
21
#include "
ctdb/ctdbDefines.h
"
22
#include <stdio.h>
23
#include "
ctdb/c7NetTypes.h
"
24
25
class
DT_DLL_ctdb
DtC7bLinearModel_Little
26
{
27
public
:
28
DtC7NetU32
myLinearData1
;
29
DtC7NetU32
myLinearData2
;
30
DtC7NetU16
myWidth
;
31
DtNetU8
myPad
;
32
DtNetU8
myType
;
33
};
34
35
class
DT_DLL_ctdb
DtC7bLinearModel_Big
36
{
37
public
:
38
DtC7NetU32
myLinearData1
;
39
DtC7NetU32
myLinearData2
;
40
DtNetU8
myType
;
41
DtNetU8
myPad
;
42
DtC7NetU16
myWidth
;
43
};
44
45
46
class
DT_DLL_ctdb
DtC7bLinearModel
47
{
48
public
:
49
50
DtC7bLinearModel
();
51
~
DtC7bLinearModel
();
52
53
bool
read(FILE *f);
54
55
int
trunkRadius();
56
int
foliageHeight();
57
int
fullnessTree();
58
int
totalHeight();
59
int
fullnessOpacity();
60
float
spacing();
61
int
component();
62
63
const
DtC7NetU32
& linearData1()
const
;
64
const
DtC7NetU32
& linearData2()
const
;
65
const
DtNetU8& type()
const
;
66
67
DtC7bLinearModel_Little
*
myLittle
;
68
DtC7bLinearModel_Big
*
myBig
;
69
};
70
71
#endif
72
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
)