vcg::AABBBinaryTreeFrustumCull< TREETYPE > Class Template Reference

#include <frustum_cull.h>

List of all members.

Classes

class  VFrustum
class  VFrustumPlane

Public Types

enum  { FC_FIRST_PLANE_BIT = 0, FC_PARTIALLY_VISIBLE_BIT = (1 << (FC_FIRST_PLANE_BIT + 3)), FC_FULLY_VISIBLE_BIT = (1 << (FC_FIRST_PLANE_BIT + 4)), FC_PASS_THROUGH_FIRST_BIT = (FC_FIRST_PLANE_BIT + 5) }
typedef
AABBBinaryTreeFrustumCull
< TREETYPE > 
ClassType
typedef TreeType::CoordType CoordType
typedef TreeType::NodeType NodeType
typedef TreeType::ObjPtr ObjPtr
typedef TreeType::ScalarType ScalarType
typedef TREETYPE TreeType

Static Public Member Functions

template<class NODEAPPLYFUNCTOR >
static void FrustumCull (TreeType &tree, const Point3< ScalarType > &viewerPosition, const Plane3< ScalarType > frustumPlanes[6], const unsigned int minNodeObjectsCount, NODEAPPLYFUNCTOR &nodeApply)
static void Initialize (TreeType &tree)
static bool IsFullyVisible (const NodeType *node)
static bool IsPartiallyVisible (const NodeType *node)
static bool IsVisible (const NodeType *node)
static unsigned int PassThrough (const NodeType *node)
static void SetFullyVisible (NodeType *node)
static void SetInvisible (NodeType *node)

Static Protected Member Functions

static void InitializeNodeFlagsRec (NodeType *node)
template<class NODEAPPLYFUNCTOR >
static void NodeVsFrustum (NodeType *node, const Point3< ScalarType > &viewerPosition, const VFrustum &f, unsigned char inMask, unsigned int minNodeObjectsCount, NODEAPPLYFUNCTOR &nodeApply)

Detailed Description

template<class TREETYPE>
class vcg::AABBBinaryTreeFrustumCull< TREETYPE >

Definition at line 68 of file frustum_cull.h.


Member Typedef Documentation

template<class TREETYPE >
typedef AABBBinaryTreeFrustumCull<TREETYPE> vcg::AABBBinaryTreeFrustumCull< TREETYPE >::ClassType

Definition at line 70 of file frustum_cull.h.

template<class TREETYPE >
typedef TreeType::CoordType vcg::AABBBinaryTreeFrustumCull< TREETYPE >::CoordType

Definition at line 73 of file frustum_cull.h.

template<class TREETYPE >
typedef TreeType::NodeType vcg::AABBBinaryTreeFrustumCull< TREETYPE >::NodeType

Definition at line 74 of file frustum_cull.h.

template<class TREETYPE >
typedef TreeType::ObjPtr vcg::AABBBinaryTreeFrustumCull< TREETYPE >::ObjPtr

Definition at line 75 of file frustum_cull.h.

template<class TREETYPE >
typedef TreeType::ScalarType vcg::AABBBinaryTreeFrustumCull< TREETYPE >::ScalarType

Definition at line 72 of file frustum_cull.h.

template<class TREETYPE >
typedef TREETYPE vcg::AABBBinaryTreeFrustumCull< TREETYPE >::TreeType

Definition at line 71 of file frustum_cull.h.


Member Enumeration Documentation

template<class TREETYPE >
anonymous enum
Enumerator:
FC_FIRST_PLANE_BIT 
FC_PARTIALLY_VISIBLE_BIT 
FC_FULLY_VISIBLE_BIT 
FC_PASS_THROUGH_FIRST_BIT 

Definition at line 91 of file frustum_cull.h.


Member Function Documentation

template<class TREETYPE >
template<class NODEAPPLYFUNCTOR >
static void vcg::AABBBinaryTreeFrustumCull< TREETYPE >::FrustumCull ( TreeType tree,
const Point3< ScalarType > &  viewerPosition,
const Plane3< ScalarType frustumPlanes[6],
const unsigned int  minNodeObjectsCount,
NODEAPPLYFUNCTOR &  nodeApply 
) [inline, static]

Definition at line 131 of file frustum_cull.h.

template<class TREETYPE >
static void vcg::AABBBinaryTreeFrustumCull< TREETYPE >::Initialize ( TreeType tree  )  [inline, static]

Definition at line 122 of file frustum_cull.h.

template<class TREETYPE >
static void vcg::AABBBinaryTreeFrustumCull< TREETYPE >::InitializeNodeFlagsRec ( NodeType node  )  [inline, static, protected]

Definition at line 152 of file frustum_cull.h.

template<class TREETYPE >
static bool vcg::AABBBinaryTreeFrustumCull< TREETYPE >::IsFullyVisible ( const NodeType node  )  [inline, static]

Definition at line 102 of file frustum_cull.h.

template<class TREETYPE >
static bool vcg::AABBBinaryTreeFrustumCull< TREETYPE >::IsPartiallyVisible ( const NodeType node  )  [inline, static]

Definition at line 98 of file frustum_cull.h.

template<class TREETYPE >
static bool vcg::AABBBinaryTreeFrustumCull< TREETYPE >::IsVisible ( const NodeType node  )  [inline, static]

Definition at line 114 of file frustum_cull.h.

template<class TREETYPE >
template<class NODEAPPLYFUNCTOR >
static void vcg::AABBBinaryTreeFrustumCull< TREETYPE >::NodeVsFrustum ( NodeType node,
const Point3< ScalarType > &  viewerPosition,
const VFrustum f,
unsigned char  inMask,
unsigned int  minNodeObjectsCount,
NODEAPPLYFUNCTOR &  nodeApply 
) [inline, static, protected]

Definition at line 164 of file frustum_cull.h.

template<class TREETYPE >
static unsigned int vcg::AABBBinaryTreeFrustumCull< TREETYPE >::PassThrough ( const NodeType node  )  [inline, static]

Definition at line 118 of file frustum_cull.h.

template<class TREETYPE >
static void vcg::AABBBinaryTreeFrustumCull< TREETYPE >::SetFullyVisible ( NodeType node  )  [inline, static]

Definition at line 106 of file frustum_cull.h.

template<class TREETYPE >
static void vcg::AABBBinaryTreeFrustumCull< TREETYPE >::SetInvisible ( NodeType node  )  [inline, static]

Definition at line 110 of file frustum_cull.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:56 2013