source: GTP/trunk/Lib/Vis/Preprocessing/src/IntersectionBoundingBoxConverter.h @ 2113

Revision 2113, 813 bytes checked in by mattausch, 18 years ago (diff)

warning: debug version

RevLine 
[2113]1#ifndef _IntersectionBoundingBoxConverter_H__
2#define _IntersectionBoundingBoxConverter_H__
3
4#include "Containers.h"
5#include "BoundingBoxConverter.h"
6
7namespace GtpVisibilityPreprocessor {
8
9class AxisAlignedBox3;
10class KdTree;
11
12/**     Class which converts preprocessor types to OGRE types
13*/
14class IntersectionBoundingBoxConverter: public BoundingBoxConverter
15{
16public:
17        IntersectionBoundingBoxConverter(KdTree *kdTree): mKdTree(kdTree) {}
18       
19        bool IdentifyObjects(const IndexedBoundingBoxContainer &iboxes,
20                                                 ObjectContainer &objects) const;
21
22
23protected:
24
25        /** find objects which are intersected by this box
26        */
27        void FindIntersectingObjects(const AxisAlignedBox3 &box,
28                                                                 ObjectContainer &objects) const;
29
30        KdTree *mKdTree;
31};
32
33}
34
35#endif // IntersectionBoundingBoxConverter
Note: See TracBrowser for help on using the repository browser.