This specialization on CallbackData is passed when the callback is initiated from the cull traversal, for a DisplayRegion. More...
#include "displayRegionCullCallbackData.h"
Public Member Functions | |
DisplayRegionCullCallbackData (CullHandler *cull_handler, SceneSetup *scene_setup) | |
virtual TypeHandle | force_init_type () |
CullHandler * | get_cull_handler () const |
Returns a pointer to the CullHandler, which accepts each object to be added to the list for drawing. More... | |
SceneSetup * | get_scene_setup () const |
Returns a pointer to the SceneSetup object, which contains information about the camera and such. More... | |
virtual TypeHandle | get_type () const |
virtual void | output (std::ostream &out) const |
virtual void | upcall () |
You should make this call during the callback if you want to continue the normal rendering function that would have been done in the absence of a callback. More... | |
Public Member Functions inherited from TypedObject | |
TypedObject (const TypedObject ©)=default | |
TypedObject * | as_typed_object () |
Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
const TypedObject * | as_typed_object () const |
Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
int | get_best_parent_from_Set (const std::set< int > &) const |
int | get_type_index () const |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More... | |
bool | is_exact_type (TypeHandle handle) const |
Returns true if the current object is the indicated type exactly. More... | |
bool | is_of_type (TypeHandle handle) const |
Returns true if the current object is or derives from the indicated type. More... | |
TypedObject & | operator= (const TypedObject ©)=default |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Static Public Member Functions inherited from CallbackData | |
static TypeHandle | get_class_type () |
static void | init_type () |
Static Public Member Functions inherited from TypedObject | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. More... | |
Additional Inherited Members | |
Public Attributes inherited from TypedObject | |
get_type | |
This specialization on CallbackData is passed when the callback is initiated from the cull traversal, for a DisplayRegion.
Definition at line 27 of file displayRegionCullCallbackData.h.
|
inline |
Returns a pointer to the CullHandler, which accepts each object to be added to the list for drawing.
Definition at line 19 of file displayRegionCullCallbackData.I.
|
inline |
Returns a pointer to the SceneSetup object, which contains information about the camera and such.
Definition at line 28 of file displayRegionCullCallbackData.I.
|
virtual |
You should make this call during the callback if you want to continue the normal rendering function that would have been done in the absence of a callback.
Specifically, this method will perform the cull traversal for the DisplayRegion's scene graph, and add all renderable objects to its CullResult.
Reimplemented from CallbackData.
Definition at line 51 of file displayRegionCullCallbackData.cxx.
References SceneSetup::get_display_region(), and DisplayRegion::get_window.