octree_agent_face.h

Go to the documentation of this file.
00001 // Author: Justin Kinney
00002 // Date: Sep 2008
00003 
00004 #ifndef OCTREE_AGENT_FACE_H
00005 #define OCTREE_AGENT_FACE_H
00006 
00007 #include "meshmorph.h"
00008 
00009 #include "face.h"
00010 #include "Octree.h" 
00011 
00012 using namespace hxa7241_graphics;
00013 
00014 class Octree_Agent_Face
00015 : public OctreeAgent<Face>
00016 {
00018 public:
00019   Octree_Agent_Face() {};
00020 
00021   virtual ~Octree_Agent_Face() {};
00022 private:
00023   Octree_Agent_Face( const Octree_Agent_Face& );
00024   Octree_Agent_Face& operator=( const Octree_Agent_Face& );
00025 
00026 
00029 protected:
00030   virtual bool  isOverlappingCell ( const Face&    item,
00031                                     const Vector3r& lowerCorner,
00032                                     const Vector3r& upperCorner )        const;
00033 
00034   // could also override getSubcellOverlaps to provide more efficent
00035   // calculation (boundary testing can be shared).
00036 };
00037 
00038 #endif

Generated on Fri Feb 13 13:58:10 2009 for meshmorph by  doxygen 1.5.1