Panda3D
pandatool
src
mayaegg
mayaEggGroupUserData.h
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file mayaEggGroupUserData.h
10
* @author drose
11
* @date 2003-06-03
12
*/
13
14
#ifndef MAYAEGGGROUPUSERDATA_H
15
#define MAYAEGGGROUPUSERDATA_H
16
17
#include "
pandatoolbase.h
"
18
#include "
eggUserData.h
"
19
20
/**
21
* This class contains extra user data which is piggybacked onto EggGroup
22
* objects for the purpose of the maya converter.
23
*/
24
class
MayaEggGroupUserData
:
public
EggUserData
{
25
public
:
26
INLINE
MayaEggGroupUserData
();
27
INLINE
MayaEggGroupUserData
(
const
MayaEggGroupUserData
©);
28
INLINE
void
operator = (
const
MayaEggGroupUserData
©);
29
30
bool
_vertex_color;
31
bool
_double_sided;
32
33
public
:
34
static
TypeHandle
get_class_type() {
35
return
_type_handle;
36
}
37
static
void
init_type() {
38
EggUserData::init_type();
39
register_type
(_type_handle,
"MayaEggGroupUserData"
,
40
EggUserData::get_class_type());
41
}
42
virtual
TypeHandle
get_type()
const
{
43
return
get_class_type();
44
}
45
virtual
TypeHandle
force_init_type() {init_type();
return
get_class_type();}
46
47
private
:
48
static
TypeHandle
_type_handle;
49
};
50
51
#include "
mayaEggGroupUserData.I
"
52
53
#endif
EggUserData
This is a base class for a user-defined data type to extend egg structures in processing code.
Definition:
eggUserData.h:29
register_type
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
Definition:
register_type.I:22
mayaEggGroupUserData.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
MayaEggGroupUserData
This class contains extra user data which is piggybacked onto EggGroup objects for the purpose of the...
Definition:
mayaEggGroupUserData.h:24
eggUserData.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Sat Jan 11 2020 15:15:38 for Panda3D by
1.8.17