00001 // Filename: chancfg.I 00002 // Created by: cary (07Feb99) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 INLINE PandaNode *ChanConfig::get_group_node(const int node_index) const { 00020 return _group_node[node_index]; 00021 } 00022 INLINE int ChanConfig::get_group_membership(const int dr_index) const { 00023 return _group_membership[dr_index]; 00024 } 00025 INLINE int ChanConfig::get_num_groups(void) const { 00026 return _group_node.size(); 00027 } 00028 INLINE int ChanConfig::get_num_drs(void) const { 00029 return _display_region.size(); 00030 } 00031 INLINE PT(DisplayRegion) ChanConfig::get_dr(const int dr_index) const { 00032 return _display_region[dr_index]; 00033 } 00034 INLINE PT(GraphicsWindow) ChanConfig::get_win(void) const { 00035 return _graphics_window; 00036 } 00037