Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
gte::Culler Class Reference

#include <GteCuller.h>

Public Types

enum  { MAX_PLANE_QUANTITY = 32 }
 

Public Member Functions

void ComputeVisibleSet (std::shared_ptr< Camera > const &camera, std::shared_ptr< Spatial > const &scene)
 
 Culler ()
 
VisibleSetGetVisibleSet ()
 
bool PopPlane ()
 
bool PushPlane (CullingPlane const &plane)
 
virtual ~Culler ()
 

Protected Types

enum  { INITIALLY_VISIBLE = 128 }
 

Protected Member Functions

unsigned int GetPlaneState () const
 
virtual void Insert (Visual *visible)
 
bool IsVisible (BoundingSphere const &sphere)
 
void PushViewFrustumPlanes (std::shared_ptr< Camera > const &camera)
 
void SetPlaneState (unsigned int planeState)
 

Protected Attributes

CullingPlane mPlane [MAX_PLANE_QUANTITY]
 
int mPlaneQuantity
 
unsigned int mPlaneState
 
VisibleSet mVisibleSet
 

Friends

class Spatial
 
class Visual
 

Detailed Description

Definition at line 49 of file GteCuller.h.

Member Enumeration Documentation

anonymous enum
Enumerator
MAX_PLANE_QUANTITY 

Definition at line 63 of file GteCuller.h.

anonymous enum
protected
Enumerator
INITIALLY_VISIBLE 

Definition at line 77 of file GteCuller.h.

Constructor & Destructor Documentation

Culler::~Culler ( )
virtual

Definition at line 14 of file GteCuller.cpp.

Culler::Culler ( )

Definition at line 18 of file GteCuller.cpp.

Member Function Documentation

void Culler::ComputeVisibleSet ( std::shared_ptr< Camera > const &  camera,
std::shared_ptr< Spatial > const &  scene 
)

Definition at line 50 of file GteCuller.cpp.

unsigned int gte::Culler::GetPlaneState ( ) const
inlineprotected

Definition at line 133 of file GteCuller.h.

VisibleSet & gte::Culler::GetVisibleSet ( )
inline

Definition at line 123 of file GteCuller.h.

void Culler::Insert ( Visual visible)
protectedvirtual

Definition at line 104 of file GteCuller.cpp.

bool Culler::IsVisible ( BoundingSphere const &  sphere)
protected

Definition at line 65 of file GteCuller.cpp.

bool Culler::PopPlane ( )

Definition at line 39 of file GteCuller.cpp.

bool Culler::PushPlane ( CullingPlane const &  plane)

Definition at line 27 of file GteCuller.cpp.

void Culler::PushViewFrustumPlanes ( std::shared_ptr< Camera > const &  camera)
protected

Definition at line 109 of file GteCuller.cpp.

void gte::Culler::SetPlaneState ( unsigned int  planeState)
inlineprotected

Definition at line 128 of file GteCuller.h.

Friends And Related Function Documentation

friend class Spatial
friend

Definition at line 81 of file GteCuller.h.

friend class Visual
friend

Definition at line 82 of file GteCuller.h.

Member Data Documentation

CullingPlane gte::Culler::mPlane[MAX_PLANE_QUANTITY]
protected

Definition at line 115 of file GteCuller.h.

int gte::Culler::mPlaneQuantity
protected

Definition at line 114 of file GteCuller.h.

unsigned int gte::Culler::mPlaneState
protected

Definition at line 116 of file GteCuller.h.

VisibleSet gte::Culler::mVisibleSet
protected

Definition at line 119 of file GteCuller.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05