|
| PlantNodeT () |
| The constructor. More...
|
|
| PlantNodeT (const PlantDescriptionT *PlantDescription, unsigned long RandomSeed, const Vector3dT &Position, const Vector3fT &Angles) |
| Constructor for creating a PlantNodeT from parameters. More...
|
|
| ~PlantNodeT () |
| The destructor. More...
|
|
void | WriteTo (std::ostream &OutFile, aux::PoolT &Pool) const |
|
const BoundingBox3T< double > & | GetBoundingBox () const |
| Returns the bounding box of the contents of this scene node. More...
|
|
bool | IsOpaque () const |
| TODO / FIXME: This method is a hot-fix for getting the render order with translucent Bezier Patches right. More...
|
|
void | DrawAmbientContrib (const Vector3dT &ViewerPos) const |
| Draws the contents of this scene node. More...
|
|
void | DrawTranslucentContrib (const Vector3dT &ViewerPos) const |
|
virtual | ~GenericNodeT () |
| The virtual destructor, so that derived classes can safely be deleted via a GenericNodeT (base class) pointer. More...
|
|
virtual void | DrawStencilShadowVolumes (const Vector3dT &LightPos, const float LightRadius) const |
|
virtual void | DrawLightSourceContrib (const Vector3dT &ViewerPos, const Vector3dT &LightPos) const |
|
virtual void | InitDefaultLightMaps (const float LightMapPatchSize) |
| If this NodeT uses lightmaps, this methods initializes default (full-bright) lightmaps for it at the proper size. More...
|
|
virtual void | CreatePatchMeshes (ArrayT< PatchMeshT > &PatchMeshes, ArrayT< ArrayT< ArrayT< Vector3dT > > > &SampleCoords, const float LightMapPatchSize) const |
| Creates the patch meshes for this NodeT for the purpose of radiosity computations (CaLight). More...
|
|
virtual void | BackToLightMap (const PatchMeshT &PatchMesh, const float LightMapPatchSize) |
| Takes the patches of the given patch mesh back into the lightmap of this node. More...
|
|
|
static PlantNodeT * | CreateFromFile_cw (std::istream &InFile, aux::PoolT &Pool, LightMapManT &LMM, SHLMapManT &SMM, PlantDescrManT &PDM) |
| Named constructor. More...
|
|
static GenericNodeT * | CreateFromFile_cw (std::istream &InFile, aux::PoolT &Pool, LightMapManT &LMM, SHLMapManT &SMM, PlantDescrManT &PDM, const ArrayT< const TerrainT * > &ShTe, ModelManagerT &ModelMan) |
| Reads a GenericNodeT from InFile. More...
|
|
cf::SceneGraph::PlantNodeT::PlantNodeT |
( |
| ) |
|
Constructor for creating a PlantNodeT from parameters.
cf::SceneGraph::PlantNodeT::~PlantNodeT |
( |
| ) |
|
void cf::SceneGraph::PlantNodeT::DrawAmbientContrib |
( |
const Vector3dT & |
ViewerPos | ) |
const |
|
virtual |
const BoundingBox3T< double > & cf::SceneGraph::PlantNodeT::GetBoundingBox |
( |
| ) |
const |
|
virtual |
bool cf::SceneGraph::PlantNodeT::IsOpaque |
( |
| ) |
const |
|
inlinevirtual |
TODO / FIXME: This method is a hot-fix for getting the render order with translucent Bezier Patches right.
It should be removed again and the whole system should be replaced with something as in the Q3 renderer!
Reimplemented from cf::SceneGraph::GenericNodeT.
The documentation for this class was generated from the following files: