GtpVisibility::PreprocessingManager Class Reference

#include <GtpVisibility/include/PreprocessingManager.h>

Inherited by GtpVisibility::DummyPreprocessingManager.

Inheritance diagram for GtpVisibility::PreprocessingManager:

Inheritance graph
[legend]
Collaboration diagram for GtpVisibility::PreprocessingManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PreprocessingManager (HierarchyInterface *hierarchyInterface)
virtual ~PreprocessingManager ()
virtual bool ExportScene (const string filename)=0
virtual bool LoadPreprocessedData (const string filename)=0
virtual bool GetPVS (const Vector3 &point, const float radius, InfoContainer< NodeInfo > *visibleNodes, InfoContainer< MeshInfo > *visibleMeshes)
virtual void SetSceneTraverser (HierarchyInterface *hierarchyInterface)

Protected Member Functions

long GetOccluderChecksum () const
long GetOccludeeChecksum () const
virtual bool LocateViewCellIds (const Vector3 &center, const float radius, vector< int > *viewCellIds)=0
virtual int AddViewCellPVS (const int cellID, InfoContainer< NodeInfo > *visibleNodes, InfoContainer< MeshInfo > *visibleMeshes)=0

Protected Attributes

HierarchyInterfacemSceneTraverser

Detailed Description

This class defines an interface to the external visibility preprocessor. It allows to export the static part of the scene to a file in the XML format understood by the preprocessor. By default all the exported meshes are considered as scene occluders, whereas occludees are formed by their bounding boxes, and bounding boxes of the scene hierarchy.

This class also allows to import the preprocessed data with PVS information for the viewcells (note that the viewcells are either generated automatically by the preprocessor or loaded from a polyhedral definition stored in a file (see documentation for the Preprocessor class).


The documentation for this class was generated from the following files:
Generated on Fri Apr 29 19:49:38 2005 for GameTools Visibility Modules by  doxygen 1.4.2