11 #ifndef CAFU_CAPVSWORLD_HPP_INCLUDED
12 #define CAFU_CAPVSWORLD_HPP_INCLUDED
14 #include "../Common/World.hpp"
39 unsigned long SLC_MaxRecursionDepth;
40 double SLC_MinSubTreeFacesArea;
42 double SubTreeFacesArea (
unsigned long NodeNr)
const;
43 bool SuperLeafConditionIsMet (
unsigned long NodeNr,
unsigned long RecursionDepth)
const;
44 void CreateSuperLeafFromSubTreeRecursive(
unsigned long NodeNr,
SuperLeafT& SuperLeaf)
const;
45 SuperLeafT CreateSuperLeafFromSubTree (
unsigned long NodeNr)
const;
46 void CreateSuperLeavesRecursive (
unsigned long NodeNr,
ArrayT<SuperLeafT>& SuperLeaves,
unsigned long RecursionDepth)
const;
63 unsigned long WhatLeaf(
const VectorT& Position)
const;
73 unsigned long GetChecksumAndPrintStats()
const;
76 void SaveToDisk(
const char* FileName)
const;
unsigned long SuperLeafNr
Der Nachbar ist ein SuperLeaf, und hat die Indexnummer 'SuperLeafNr'.
Definition: CaPVSWorld.hpp:21
Definition: CaPVSWorld.hpp:32
BoundingBox3T< double > BB
Die BoundingBox der BoundingBoxes der Leaves im LeafSet.
Definition: CaPVSWorld.hpp:27
ArrayT< NeighbourT > Neighbours
Die Nachbarn dieses SuperLeafs.
Definition: CaPVSWorld.hpp:28
The class represents a BSP Tree node, implementing the Composite design pattern.
Definition: BspTreeNode.hpp:30
Definition: CaPVSWorld.hpp:17
This class is used for managing model instances.
Definition: ModelManager.hpp:31
ArrayT< Polygon3T< double > > Portals
Die Portals dieses SuperLeafs, d.h. ALLE Portals ALLER Leaves des LeafSet.
Definition: CaPVSWorld.hpp:26
Definition: CaPVSWorld.hpp:19
Polygon3T< double > SubPortal
Das zum Nachbar führende (Sub-)Portal.
Definition: CaPVSWorld.hpp:22
This class manages and provides resources (fonts and models) for GuiImplT instances.
Definition: GuiResources.hpp:26
ArrayT< unsigned long > LeafSet
Die Menge der Map-Leaves, aus denen dieses SuperLeaf ursprünglich besteht.
Definition: CaPVSWorld.hpp:25