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 setMultiViewVertexUserFunctionFileName(
98 const std::string& vertexUserFunctionFilename);
102 virtual void setFragmentUserFunctionFileName(
103 const std::string& fragmentUserFunctionFilename);
106 virtual const std::string& vertexUserFunctionFileName()
const;
109 virtual const std::string& multiViewVertexUserFunctionFileName()
const;
112 virtual const std::string& fragmentUserFunctionFileName()
const;
115 virtual void setFreezeEnabled(
bool enable);
118 virtual bool freezeEnabled();
121 virtual void setProfilingActive(
bool active);
126 virtual ProgramBlocks& programBlocks();
130 void connectSignals(
void);
131 void disconnectSignals(
void);
133 static void initRenderInfo(
134 makOsgSpeedTree::SForestRenderInfo& sForestRenderInfo);
Virtual base class.
Definition: DtVirtualBaseClass.h:19
#define DT_DLL_VRVST
Definition: vrvSt.h:20
Contains DLL export macros.
bool myFreezeEnabled
Definition: DtSpeedTreeCore.h:145
DtSpeedTreeCore wraps and provides the interface to makOsgSpeedTree.
Definition: DtSpeedTreeCore.h:28
std::string myVertexUserFunctionFilename
Definition: DtSpeedTreeCore.h:142
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:20
makOsgSpeedTree::Core * mySpeedTreeCore
Definition: DtSpeedTreeCore.h:139
DtSignalConnectionManager myConnections
Definition: DtSpeedTreeCore.h:140
ProgramBlocks myProgramBlocks
Definition: DtSpeedTreeCore.h:147
Base class to provide boost signal/slot management.
std::string myFragmentUserFunctionFilename
Definition: DtSpeedTreeCore.h:144
static DtSpeedTreeCore * mySpeedTreeCore
Definition: vrvSt.h:34
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
std::string myMultiViewVertexUserFunctionFileName
Definition: DtSpeedTreeCore.h:143
DtDe & myDe
Definition: DtSpeedTreeCore.h:137
virtual makOsgSpeedTree::Core * speedTreeCore(void)
Get a pointer to the makOsgSpeedTree::Core wrapped by this object.
Definition: DtSpeedTreeCore.h:60