8 #ifndef spatialVrfObjectManager_H_
9 #define spatialVrfObjectManager_H_
14 #include <vlutil/vlConfig.h>
15 #include "geometry/spatialSubdivision.h"
42 virtual bool operator()(
const DtVrfObject *
object) = 0;
58 virtual void removeVrfObject(
DtVrfObject * vrfObject) = 0;
63 virtual bool setResolutions(
unsigned int xRes,
unsigned int yRes,
64 unsigned int zRes) = 0;
68 virtual void clearVrfObjects() = 0;
97 virtual bool getVrfObjects(
const DtExtent& extent, std::set<DtVrfObject*>& objects) = 0;
98 virtual bool getVrfObjects(
const DtExtent& extent, std::set<const DtVrfObject*>& objects)
const = 0;
101 std::set<DtVrfObject*>& objects) = 0;
103 std::set<const DtVrfObject*>& objects)
const = 0;
105 virtual bool getVrfObjects(DtChord& chord, std::list<DtVrfObject*>& objects) = 0;
106 virtual bool getVrfObjects(DtChord& chord, std::list<const DtVrfObject*>& objects)
const = 0;
109 std::list<DtVrfObject*>& objects) = 0;
111 std::list<const DtVrfObject*>& objects)
const = 0;
147 unsigned int zRes = 1);
165 unsigned int cellCountX,
unsigned int cellCountY,
unsigned int cellCountZ);
186 virtual unsigned int xResolution()
const;
188 virtual unsigned int yResolution()
const;
190 virtual unsigned int zResolution()
const;
193 virtual void resolutions(
unsigned int& xRes,
unsigned int& yRes,
194 unsigned int& zRes)
const;
221 bool getVrfObjects(
const DtExtent& extent, std::set<DtVrfObject*>& objects);
222 bool getVrfObjects(
const DtExtent& extent, std::set<const DtVrfObject*>& objects)
const;
225 std::set<DtVrfObject*>& objects);
227 std::set<const DtVrfObject*>& objects)
const;
229 bool getVrfObjects(DtChord& chord, std::list<DtVrfObject*>& objects);
230 bool getVrfObjects(DtChord& chord, std::list<const DtVrfObject*>& objects)
const;
233 std::list<DtVrfObject*>& objects);
235 std::list<const DtVrfObject*>& objects)
const;
265 virtual bool createSpatialContainer(
const DtExtent& extent,
unsigned int cellCountX,
266 unsigned int cellCountY,
unsigned int cellCountZ);
282 DtExtent& expandedExtent)
const;
286 bool testInvariant()
const;