VR-Forces 4.3 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
vrvCore
DtForest.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtForest.h,v $ $Revision: 1.12 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtForest_H_
14
#define DtForest_H_
15
16
#include <
vrvCore/vrvCore.h
>
17
#include <
vrvCore/DtUniqueID.h
>
18
19
#include <string>
20
21
namespace
makArchives {
class
DtForestSettingsRecord; }
22
23
namespace
makVrv
24
{
25
26
class
DtProp;
27
class
DtAgentManagerInterface;
28
class
DtForestObjectAgent;
29
class
DtTreeRecord;
30
34
class
DT_DLL_VRVCORE
DtForest
35
{
36
public
:
37
39
DtForest
(
DtAgentManagerInterface
& smi);
40
42
~
DtForest
();
43
45
void
setClippingPlanes(
float
farPlane);
46
48
void
getClippingPlanes(
float
& farPlane)
const
;
49
51
void
set3DLodDistances(
float
nearLOD,
float
farLOD);
52
54
void
get3DLodDistances(
float
& nearLOD,
float
& farLOD)
const
;
55
57
void
setBillboardDistances(
float
fStart,
float
fEnd);
58
60
void
getBillboardDistances(
float
& fStart,
float
& fEnd)
const
;
61
63
void
addTree(
const
DtTreeRecord
& record);
64
66
void
removeTree(
const
DtTreeRecord
& record);
67
69
void
addTree(
const
DtProp
& prop);
70
72
void
removeTree(
const
DtProp
& propID);
73
75
void
removeAllTrees();
76
78
DtForestObjectAgent* driver();
79
80
protected
:
81
DtAgentManagerInterface
&
mySceneInterface
;
82
DtForestObjectAgent*
myForestAgent
;
83
84
float
myFarPlane
;
85
86
float
myHighDetail3DDistance
;
87
float
myLowDetail3DDistance
;
88
89
float
myBillboardStartDistance
;
90
float
myBillboardEndDistance
;
91
};
92
}
93
94
#endif
95
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)