16 #include <boost/unordered/unordered_set.hpp>
18 namespace makOsgSpeedTree
21 struct SForestRenderInfo;
65 virtual void slot_displayToBeDestroyed(
const std::string& displayName,
DtDe* de);
71 virtual void set3DLodDistances(
float fHighDetail3dDistance,
72 float fLowDetail3dDistance);
77 virtual void setBillboardStartEndDistances(
float fBillboardStartDistance,
78 float fBillboardEndDistance);
80 virtual void setTreesEnabled(
bool enabled);
81 virtual void enableBillboardRendering(
bool enable);
82 virtual void enable3DTreeRendering(
bool enable);
84 virtual void setAmbientScalar(
float val);
85 virtual void setDiffuseScalar(
float val);
86 virtual void setSpecularScalar(
float val);
87 virtual void setTransmissionScalar(
float val);
88 virtual void setAlphaScalar(
float val);
92 virtual void setVertexUserFunctionFileName(
93 const std::string& vertexUserFunctionFilename);
97 virtual void setFragmentUserFunctionFileName(
98 const std::string& fragmentUserFunctionFilename);
101 virtual const std::string& vertexUserFunctionFileName()
const;
104 virtual const std::string& fragmentUserFunctionFileName()
const;
107 virtual void setFreezeEnabled(
bool enable);
110 virtual bool freezeEnabled();
113 virtual void setProfilingActive(
bool active);
118 virtual ProgramBlocks& programBlocks();
122 void connectSignals(
void);
123 void disconnectSignals(
void);
125 static void initRenderInfo(
126 makOsgSpeedTree::SForestRenderInfo& sForestRenderInfo);
Virtual base class.
Definition: DtVirtualBaseClass.h:22
#define DT_DLL_VRVST
Definition: vrvSt.h:23
Contains DLL export macros.
bool myFreezeEnabled
Definition: DtSpeedTreeCore.h:136
DtSpeedTreeCore wraps and provides the interface to makOsgSpeedTree.
Definition: DtSpeedTreeCore.h:28
std::string myVertexUserFunctionFilename
Definition: DtSpeedTreeCore.h:134
boost::unordered_set< int > ProgramBlocks
Definition: DtSpeedTreeCore.h:32
Contains makVrv::DtVirtualBaseClass class.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
makOsgSpeedTree::Core * mySpeedTreeCore
Definition: DtSpeedTreeCore.h:131
DtSignalConnectionManager myConnections
Definition: DtSpeedTreeCore.h:132
ProgramBlocks myProgramBlocks
Definition: DtSpeedTreeCore.h:138
Base class to provide boost signal/slot management.
std::string myFragmentUserFunctionFilename
Definition: DtSpeedTreeCore.h:135
static DtSpeedTreeCore * mySpeedTreeCore
Definition: vrvSt.h:37
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtDe & myDe
Definition: DtSpeedTreeCore.h:129
virtual makOsgSpeedTree::Core * speedTreeCore(void)
Get a pointer to the makOsgSpeedTree::Core wrapped by this object.
Definition: DtSpeedTreeCore.h:60