7 #ifndef CAFU_TREE_NODE_HPP_INCLUDED
8 #define CAFU_TREE_NODE_HPP_INCLUDED
11 #include "Plants/Tree.hpp"
39 void WriteTo(std::ostream& OutFile,
aux::PoolT& Pool)
const;
47 void DrawTranslucentContrib(
const Vector3dT& ViewerPos)
const;
57 unsigned long m_RandomSeed;
60 std::string m_DescrFileName;
This class manages lightmaps, e.g. by "allocating" rectangular areas in larger bitmaps.
Definition: LightMapMan.hpp:25
const BoundingBox3T< double > & GetBoundingBox() const
Returns the bounding box of the contents of this scene node.
Definition: PlantNode.cpp:73
This class manages SHL maps, e.g. by "allocating" rectangular areas in larger coefficient maps...
Definition: SHLMapMan.hpp:25
The plant description manager holds and manages all plant descriptions so they can be shared with mul...
Definition: PlantDescrMan.hpp:19
Contains a plant description that has all the information needed to create a plant.
Definition: PlantDescription.hpp:23
PlantNodeT()
The constructor.
Definition: PlantNode.cpp:19
Describes a renderable tree.
Definition: Tree.hpp:27
Definition: PlantNode.hpp:22
~PlantNodeT()
The destructor.
Definition: PlantNode.cpp:57
bool IsOpaque() const
TODO / FIXME: This method is a hot-fix for getting the render order with translucent Bezier Patches r...
Definition: PlantNode.hpp:43
static PlantNodeT * CreateFromFile_cw(std::istream &InFile, aux::PoolT &Pool, LightMapManT &LMM, SHLMapManT &SMM, PlantDescrManT &PDM)
Named constructor.
Definition: PlantNode.cpp:40
void DrawAmbientContrib(const Vector3dT &ViewerPos) const
Draws the contents of this scene node.
Definition: PlantNode.cpp:79