Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
chan
partGroup.I
1
// Filename: partGroup.I
2
// Created by: drose (22Feb99)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
16
////////////////////////////////////////////////////////////////////
17
// Function: PartGroup::Default Constructor
18
// Access: Protected
19
// Description: This constructor is only intended for interal use and
20
// for derived classes. You should normally use the
21
// non-default constructor, below.
22
////////////////////////////////////////////////////////////////////
23
INLINE PartGroup::
24
PartGroup(
const
string
&name) :
25
Namable
(name),
26
_children(get_class_type())
27
{
28
}
29
30
////////////////////////////////////////////////////////////////////
31
// Function: PartGroup::Copy Constructor
32
// Access: Protected
33
// Description: This constructor is only intended for interal use and
34
// for derived classes. You should normally use the
35
// make_copy() interface to make copies..
36
////////////////////////////////////////////////////////////////////
37
INLINE PartGroup::
38
PartGroup(
const
PartGroup
©) :
39
Namable
(copy),
40
_children(get_class_type())
41
{
42
// We don't copy children in the copy constructor. However,
43
// copy_subgraph() will do this.
44
}
Namable
A base class for all things which can have a name.
Definition:
namable.h:29
PartGroup
This is the base class for PartRoot and MovingPart.
Definition:
partGroup.h:45
Generated on Mon Feb 1 2016 13:44:18 for Panda3D by
1.8.5