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

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

cleaned up project files

Line 
1#ifndef _VisibilityDummyPreprocessingManager_H__
2#define _VisibilityDummyPreprocessingManager_H__
3
4
5#include "PreprocessingManager.h"
6
7
8namespace GtpVisibility {
9
10/**
11        Implements a dummy interface to the external visibility preprocessing.
12*/
13class DummyPreprocessingManager : public PreprocessingManager
14{
15public:
16
17        /** Constructor taking a scene traverser for a specific type of
18        hierarchyInterface as argument.
19        */
20        DummyPreprocessingManager(HierarchyInterface *hierarchyInterface);
21
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
35protected:
36
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        */
46
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);
54
55};
56
57};
58
59#endif // VisibilityPreprocessingManager
Note: See TracBrowser for help on using the repository browser.