19 class DtForestObjectAgent;
20 class DtTreeModelAgent;
60 virtual const std::string&
className()
const;
virtual void useDefaultTreeDefinitions()
virtual const std::string & className() const
Get the class name.
virtual int randomInteger(int nMin, int nMax)
virtual bool onStop()
Stop the host output.
virtual void useSpeedTreeDefinitions()
virtual void getForestValues(int &numTrees, int &width, int &height)
virtual void createSpeedTreeMappings()
std::string myClassName
Definition: forestDriver.h:73
virtual bool makeForest()
Make a random forest.
virtual void createDefaultTreeMappings()
The DtDriver is an abstract class.
Definition: DtDriver.h:34
virtual bool onTick()
Tick.
Interaction makVrv::DtModelDefinition class.
ForestDriver(makVrv::DtAgentManager &agentManager, const std::string &instanceName)
CTOR.
The DtAgentManager manages the distributed scene object framework.
Definition: DtAgentManager.h:38
makVrv::DtForestObjectAgent * myForestDriver
Definition: forestDriver.h:71
Contains makVrv:DtDriver class.
virtual const std::string & instanceName() const
Get this driver's instance name.
int myHeight
Definition: forestDriver.h:76
std::vector< std::string > ModelDefinitionVector
Definition: forestDriver.h:43
int myWidth
Definition: forestDriver.h:75
virtual void removeAllTrees()
The ForestDriver adds a forest to the scene.
Definition: forestDriver.h:24
ModelDefinitionVector myModelDefVector
Definition: forestDriver.h:72
int myNumTrees
Definition: forestDriver.h:74
virtual ~ForestDriver()
DTOR.
virtual void buildRandomTrees(int numTrees, double width, double height)
DtAgentManager & agentManager()
Get the master scene for this host.
virtual bool onStart()
Start the host output.