Contents User Forum Source Index APIs by Task APIs by Level Data


AABSPTree.h File Reference

Maintainer:
Morgan McGuire, matrix@graphics3d.com
More...

#include "G3D/platform.h"
#include "G3D/Array.h"
#include "G3D/Table.h"
#include "G3D/Vector3.h"
#include "G3D/AABox.h"
#include "G3D/Sphere.h"
#include "G3D/Box.h"
#include "G3D/Triangle.h"
#include "G3D/Ray.h"
#include "G3D/GCamera.h"
#include "G3D/BinaryInput.h"
#include "G3D/BinaryOutput.h"
#include "G3D/CollisionDetection.h"
#include <algorithm>

Namespaces

namespace  G3D
namespace  G3D::_internal

Classes

class  G3D::AABSPTree< T >
 A set that supports spatial queries using an axis-aligned BSP tree for speed. More...
class  G3D::AABSPTree< T >::BoundsComparator
 Compares bounds for strict >, <, or overlap. More...
class  G3D::AABSPTree< T >::BoxIntersectionIterator
 C++ STL style iterator variable. More...
class  G3D::AABSPTree< T >::CenterComparator
 Compares centers. More...
class  G3D::AABSPTree< T >::Comparator
 Compares bounds to the sort location. More...
class  G3D::AABSPTree< T >::Handle
 Wrapper for a value that includes a cache of its bounds. More...
class  G3D::AABSPTree< T >::Iterator
 C++ STL style iterator variable. More...
class  G3D::AABSPTree< T >::Node
struct  GHashCode< typename G3D::_internal::Indirector< Handle > >
class  G3D::_internal::Indirector< Type >
 Wraps a pointer value so that it can be treated as the instance itself; convenient for inserting pointers into a Table but using the object equality instead of pointer equality. More...

Functions

void getBounds (const G3D::Triangle *t, G3D::AABox &out)
void getBounds (const G3D::Box *b, G3D::AABox &out)
void getBounds (const G3D::Sphere *s, G3D::AABox &out)
void getBounds (const G3D::AABox *a, G3D::AABox &out)
void getBounds (const G3D::Vector3 *v, G3D::AABox &out)
void getBounds (const G3D::Triangle &t, G3D::AABox &out)
void getBounds (const G3D::Box &b, G3D::AABox &out)
void getBounds (const G3D::Sphere &s, G3D::AABox &out)
void getBounds (const G3D::AABox &a, G3D::AABox &out)
void getBounds (const G3D::Vector3 &v, G3D::AABox &out)


Detailed Description

Maintainer:
Morgan McGuire, matrix@graphics3d.com

Created:
2004-01-11
Last modified:
2007-02-16
Copyright 2000-2007, Morgan McGuire. All rights reserved.

Function Documentation

void getBounds ( const G3D::Triangle t,
G3D::AABox out 
) [inline]

void getBounds ( const G3D::Box b,
G3D::AABox out 
) [inline]

void getBounds ( const G3D::Sphere s,
G3D::AABox out 
) [inline]

void getBounds ( const G3D::AABox a,
G3D::AABox out 
) [inline]

void getBounds ( const G3D::Vector3 v,
G3D::AABox out 
) [inline]

void getBounds ( const G3D::Triangle t,
G3D::AABox out 
) [inline]

void getBounds ( const G3D::Box b,
G3D::AABox out 
) [inline]

void getBounds ( const G3D::Sphere s,
G3D::AABox out 
) [inline]

void getBounds ( const G3D::AABox a,
G3D::AABox out 
) [inline]

void getBounds ( const G3D::Vector3 v,
G3D::AABox out 
) [inline]


Generated on Thu Aug 2 11:40:42 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo