source: GTP/trunk/Lib/Vis/OnlineCullingCHC/include/DummyPreprocessingManager.h @ 2353

Revision 2353, 1.5 KB checked in by mattausch, 18 years ago (diff)

cleaned up project files

RevLine 
[65]1#ifndef _VisibilityDummyPreprocessingManager_H__
2#define _VisibilityDummyPreprocessingManager_H__
3
[2278]4
[65]5#include "PreprocessingManager.h"
6
7
8namespace GtpVisibility {
[2353]9
10/**
11        Implements a dummy interface to the external visibility preprocessing.
12*/
[65]13class DummyPreprocessingManager : public PreprocessingManager
14{
15public:
16
[2353]17        /** Constructor taking a scene traverser for a specific type of
18        hierarchyInterface as argument.
19        */
20        DummyPreprocessingManager(HierarchyInterface *hierarchyInterface);
[65]21
[2353]22        /**
23        Export the scene for visibility preprocessing. Exports the hierarchyInterface including
24        its bounding boxes + mesh data for occluders. The viewcell data will either be
25        supplied directly to the visibility preprocessing standalone module
26        */
27        virtual bool ExportScene(const std::string &filename);
28
29        /**
30        Load preprocessed visibility information
31        */
32        virtual bool LoadPreprocessedData(const std::string &filename);
33
34
[65]35protected:
36
[2353]37        /**
38        Find viewcells intersecting a spherical neighborhood of a point.
39        Returns false if no viewcell was found.
40        */
41        /*virtual bool LocateViewCellIds(const Vector3 &center,
42        const float radius,
43        vector<int> *viewCellIds
44        );
45        */
[65]46
[2353]47        /**
48        Add a PVS of the given viewcell to the already evaluated PVS by computing
49        a union with visibleNodes and visibleMeshes. Returns the number of added entries.
50        */
51        //virtual int AddViewCellPVS(const int cellID,
52        //                                               NodeInfoContainer *visibleNodes,
53        //                                               MeshInfoContainer *visibleMeshes);
[65]54
55};
56
57};
58
59#endif // VisibilityPreprocessingManager
Note: See TracBrowser for help on using the repository browser.