00001 // Filename: displayRegionCullCallbackData.I 00002 // Created by: drose (14Mar09) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: DisplayRegionCullCallbackData::get_cull_handler 00018 // Access: Published 00019 // Description: Returns a pointer to the CullHandler, which accepts 00020 // each object to be added to the list for drawing. 00021 //////////////////////////////////////////////////////////////////// 00022 INLINE CullHandler *DisplayRegionCullCallbackData:: 00023 get_cull_handler() const { 00024 return _cull_handler; 00025 } 00026 00027 //////////////////////////////////////////////////////////////////// 00028 // Function: DisplayRegionCullCallbackData::get_scene_setup 00029 // Access: Published 00030 // Description: Returns a pointer to the SceneSetup object, which 00031 // contains information about the camera and such. 00032 //////////////////////////////////////////////////////////////////// 00033 INLINE SceneSetup *DisplayRegionCullCallbackData:: 00034 get_scene_setup() const { 00035 return _scene_setup; 00036 }