00001 /* -*- C++ -*- */ 00002 00003 /* COPYRIGHT 00004 * 00005 * This file is part of the Visual Effects Engine - VEE 00006 * 00007 * Read the "VEE-LICENSE" file for the license. 00008 * 00009 * Authors & Copyright: 00010 * 00011 * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 00012 * Janne Kontkanen 2001-2004 00013 * 00014 * Additional copyrights: Tekes 2003-2004 00015 * 00016 * firstname.lastname@hut.fi 00017 * 00018 */ 00019 00020 #ifndef VEE_NEAR_OBJECTS_H 00021 #define VEE_NEAR_OBJECTS_H 00022 00023 #include <vee_bounding_box.h> 00024 00025 class VEE_BoundingBox; 00026 class VEE_SceneBox; 00027 00028 class VEE_NearObjects 00029 { 00030 public: 00031 VEE_NearObjects() {} 00032 ~VEE_NearObjects() {} 00033 00034 long objectsInRange(const VEE_Vector3 &loc, float, VEE_SceneBox *); 00035 00036 protected: 00037 00038 long objectsInRange2(VEE_SceneBox *); 00039 00040 VEE_Vector3 m_location; 00041 VEE_BoundingBox m_bbox; 00042 float m_radiusSquared; 00043 }; 00044 00045 #endif