VR-Forces Development_Version 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) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#ifndef DtForest_H_
11
#define DtForest_H_
12
13
#include <
vrvCore/vrvCore.h
>
14
#include <
vrvCore/DtUniqueID.h
>
15
16
#include <string>
17
18
namespace
makArchives {
class
DtForestSettingsRecord; }
19
20
namespace
makVrv
21
{
22
23
class
DtProp;
24
class
DtAgentManagerInterface;
25
class
DtForestObjectAgent;
26
class
DtTreeRecord;
27
class
DtModelDefinition;
28
32
class
DT_DLL_VRVCORE
DtForest
33
{
34
public
:
35
37
DtForest
(
DtAgentManagerInterface
& smi);
38
40
~
DtForest
();
41
43
void
setClippingPlanes(
float
farPlane);
44
46
void
getClippingPlanes(
float
& farPlane)
const
;
47
49
void
set3DLodDistances(
float
nearLOD,
float
farLOD);
50
52
void
get3DLodDistances(
float
& nearLOD,
float
& farLOD)
const
;
53
55
void
setBillboardDistances(
float
fStart,
float
fEnd);
56
58
void
getBillboardDistances(
float
& fStart,
float
& fEnd)
const
;
59
61
void
addTree(
const
DtTreeRecord
& record);
62
64
void
removeTree(
const
DtTreeRecord
& record);
65
67
void
addTree(
const
DtProp
& prop);
68
70
void
removeTree(
const
DtProp
& propID);
71
73
void
removeAllTrees();
74
76
DtForestObjectAgent* driver();
77
78
protected
:
79
DtAgentManagerInterface
&
mySceneInterface
;
80
DtForestObjectAgent*
myForestAgent
;
81
82
float
myFarPlane
;
83
84
float
myHighDetail3DDistance
;
85
float
myLowDetail3DDistance
;
86
87
float
myBillboardStartDistance
;
88
float
myBillboardEndDistance
;
89
};
90
}
91
92
#endif
93
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)