VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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
setLodDistances(
float
nearLOD,
float
farLOD);
52
54
void
getLodDistances(
float
& nearLOD,
float
& farLOD)
const
;
55
57
void
setPerformanceProfile(
int
index);
58
60
int
performanceProfile()
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
float
myFarPlane
;
84
float
myNearLOD
;
85
float
myFarLOD
;
86
int
myPerformanceProfile
;
87
};
88
}
89
90
#endif
91
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
)