00001 // Filename: partGroup.I 00002 // Created by: drose (22Feb99) 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 00020 //////////////////////////////////////////////////////////////////// 00021 // Function: PartGroup::Default Constructor 00022 // Access: Protected 00023 // Description: This constructor is only intended for interal use and 00024 // for derived classes. You should normally use the 00025 // non-default constructor, below. 00026 //////////////////////////////////////////////////////////////////// 00027 INLINE PartGroup:: 00028 PartGroup(const string &name) : 00029 Namable(name) 00030 { 00031 } 00032 00033 //////////////////////////////////////////////////////////////////// 00034 // Function: PartGroup::Copy Constructor 00035 // Access: Protected 00036 // Description: This constructor is only intended for interal use and 00037 // for derived classes. You should normally use the 00038 // make_copy() interface to make copies.. 00039 //////////////////////////////////////////////////////////////////// 00040 INLINE PartGroup:: 00041 PartGroup(const PartGroup ©) : 00042 Namable(copy) 00043 { 00044 // We don't copy children in the copy constructor. However, 00045 // copy_subgraph() will do this. 00046 }