torque Torque Game Engine Documentation
TGE Version 1.5.2

BVPT< Tstoreobj > Class Template Reference

#include <sgBinaryVolumePartitionTree.h>


template<class Tstoreobj> class BVPT< Tstoreobj >


Public Types

enum  axisType {
  atX = 0,
  atY = 1,
  atZ = 2,
  atNone = 3
}
typedef Vector< Tstoreobj > objectList

Public Member Functions

 BVPT ()
 BVPT (const Box3F &vol)
 BVPT (const Box3F &vol, axisType avoidaxis)
 ~BVPT ()
void init (const Box3F &vol)
void init (const Box3F &vol, axisType avoidaxis)
void clear ()
void calculatePartition ()
void storeObject (const Box3F &boundingbox, const Tstoreobj obj)
void collectObjects (const Box3F &boundingbox, objectList &objectslist)
void collectObjectsClipped (Point3F start, Point3F end, objectList &objectslist)
void collectObjectsUnclipped (const Point3F &start, const Point3F &end, objectList &objectslist)

Data Fields

PlaneF plane
objectList object
BVPTpositive
BVPTnegative
axisType axis
axisType avoidAxis
Box3F volume

Member Typedef Documentation

template<class Tstoreobj>
typedef Vector<Tstoreobj> BVPT< Tstoreobj >::objectList


Member Enumeration Documentation

template<class Tstoreobj>
enum BVPT::axisType

Enumerator:
atX 
atY 
atZ 
atNone 


Constructor & Destructor Documentation

template<class Tstoreobj>
BVPT< Tstoreobj >::BVPT (  )  [inline]

template<class Tstoreobj>
BVPT< Tstoreobj >::BVPT ( const Box3F vol  )  [inline]

template<class Tstoreobj>
BVPT< Tstoreobj >::BVPT ( const Box3F vol,
axisType  avoidaxis 
) [inline]

template<class Tstoreobj>
BVPT< Tstoreobj >::~BVPT (  )  [inline]


Member Function Documentation

template<class Tstoreobj>
void BVPT< Tstoreobj >::init ( const Box3F vol  )  [inline]

template<class Tstoreobj>
void BVPT< Tstoreobj >::init ( const Box3F vol,
axisType  avoidaxis 
) [inline]

template<class Tstoreobj>
void BVPT< Tstoreobj >::clear (  )  [inline]

template<class Tstoreobj>
void BVPT< Tstoreobj >::calculatePartition (  )  [inline]

template<class Tstoreobj>
void BVPT< Tstoreobj >::storeObject ( const Box3F boundingbox,
const Tstoreobj  obj 
) [inline]

template<class Tstoreobj>
void BVPT< Tstoreobj >::collectObjects ( const Box3F boundingbox,
objectList objectslist 
) [inline]

template<class Tstoreobj>
void BVPT< Tstoreobj >::collectObjectsClipped ( Point3F  start,
Point3F  end,
objectList objectslist 
) [inline]

template<class Tstoreobj>
void BVPT< Tstoreobj >::collectObjectsUnclipped ( const Point3F start,
const Point3F end,
objectList objectslist 
) [inline]


Field Documentation

template<class Tstoreobj>
PlaneF BVPT< Tstoreobj >::plane

template<class Tstoreobj>
objectList BVPT< Tstoreobj >::object

template<class Tstoreobj>
BVPT* BVPT< Tstoreobj >::positive

template<class Tstoreobj>
BVPT* BVPT< Tstoreobj >::negative

template<class Tstoreobj>
axisType BVPT< Tstoreobj >::axis

template<class Tstoreobj>
axisType BVPT< Tstoreobj >::avoidAxis

template<class Tstoreobj>
Box3F BVPT< Tstoreobj >::volume




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen