hxa7241_graphics::OctreeAgentV Class Reference

#include <OctreeAuxiliary.h>

Inheritance diagram for hxa7241_graphics::OctreeAgentV:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~OctreeAgentV ()
virtual bool isOverlappingCellV (const void *pItem, const Vector3r &lowerCorner, const Vector3r &upperCorner) const=0
 queries --------------------------------------------------------------------
virtual dword getSubcellOverlapsV (const void *pItem, const Vector3r &lower, const Vector3r &middle, const Vector3r &upper) const=0

Static Public Attributes

static const dword ALL_INSIDE = 0x0000FFFF
 constants ------------------------------------------------------------------
static const dword ALL_OUTSIDE = 0x00000000

Protected Member Functions

 OctreeAgentV ()
 standard object services ---------------------------------------------------

Detailed Description

Agent abstract base, for Octree implementation use.

Return value of getSubcellOverlapsV is 8 bits, each bit is a bool corresponding to a subcell, the high bit for subcell 7, the low bit for subcell 0.

Subcell numbering:

    y z       6 7
    |/   2 3  4 5
     -x  0 1
 
in binary:
    y z           110 111
    |/   010 011  100 101
     -x  000 001
 

See also:
OctreeCell

OctreeBranch

OctreeLeaf


Constructor & Destructor Documentation

hxa7241_graphics::OctreeAgentV::OctreeAgentV (  )  [inline, protected]

standard object services ---------------------------------------------------

virtual hxa7241_graphics::OctreeAgentV::~OctreeAgentV (  )  [inline, virtual]


Member Function Documentation

virtual bool hxa7241_graphics::OctreeAgentV::isOverlappingCellV ( const void *  pItem,
const Vector3r lowerCorner,
const Vector3r upperCorner 
) const [pure virtual]

queries --------------------------------------------------------------------

Implemented in hxa7241_graphics::OctreeAgent< TYPE >, and hxa7241_graphics::OctreeAgent< Face >.

virtual dword hxa7241_graphics::OctreeAgentV::getSubcellOverlapsV ( const void *  pItem,
const Vector3r lower,
const Vector3r middle,
const Vector3r upper 
) const [pure virtual]

Implemented in hxa7241_graphics::OctreeAgent< TYPE >, and hxa7241_graphics::OctreeAgent< Face >.


Member Data Documentation

const dword hxa7241_graphics::OctreeAgentV::ALL_INSIDE = 0x0000FFFF [static]

constants ------------------------------------------------------------------

const dword hxa7241_graphics::OctreeAgentV::ALL_OUTSIDE = 0x00000000 [static]


The documentation for this class was generated from the following file:
Generated on Fri Feb 13 13:58:45 2009 for meshmorph by  doxygen 1.5.1