#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 () | |
VisibleSet & | GetVisibleSet () |
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 |
Definition at line 49 of file GteCuller.h.
anonymous enum |
Enumerator | |
---|---|
MAX_PLANE_QUANTITY |
Definition at line 63 of file GteCuller.h.
|
protected |
Enumerator | |
---|---|
INITIALLY_VISIBLE |
Definition at line 77 of file GteCuller.h.
|
virtual |
Definition at line 14 of file GteCuller.cpp.
Culler::Culler | ( | ) |
Definition at line 18 of file GteCuller.cpp.
void Culler::ComputeVisibleSet | ( | std::shared_ptr< Camera > const & | camera, |
std::shared_ptr< Spatial > const & | scene | ||
) |
Definition at line 50 of file GteCuller.cpp.
|
inlineprotected |
Definition at line 133 of file GteCuller.h.
|
inline |
Definition at line 123 of file GteCuller.h.
Definition at line 104 of file GteCuller.cpp.
|
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.
Definition at line 109 of file GteCuller.cpp.
Definition at line 128 of file GteCuller.h.
|
friend |
Definition at line 81 of file GteCuller.h.
|
friend |
Definition at line 82 of file GteCuller.h.
|
protected |
Definition at line 115 of file GteCuller.h.
|
protected |
Definition at line 114 of file GteCuller.h.
|
protected |
Definition at line 116 of file GteCuller.h.
|
protected |
Definition at line 119 of file GteCuller.h.