Panda3D
 All Classes Functions Variables Enumerations
mayaEggGroupUserData.h
1 // Filename: mayaEggGroupUserData.h
2 // Created by: drose (03Jun03)
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 #ifndef MAYAEGGGROUPUSERDATA_H
16 #define MAYAEGGGROUPUSERDATA_H
17 
18 #include "pandatoolbase.h"
19 #include "eggUserData.h"
20 
21 ////////////////////////////////////////////////////////////////////
22 // Class : MayaEggGroupUserData
23 // Description : This class contains extra user data which is
24 // piggybacked onto EggGroup objects for the purpose of
25 // the maya converter.
26 ////////////////////////////////////////////////////////////////////
28 public:
29  INLINE MayaEggGroupUserData();
30  INLINE MayaEggGroupUserData(const MayaEggGroupUserData &copy);
31  INLINE void operator = (const MayaEggGroupUserData &copy);
32 
33  bool _vertex_color;
34  bool _double_sided;
35 
36 public:
37  static TypeHandle get_class_type() {
38  return _type_handle;
39  }
40  static void init_type() {
41  EggUserData::init_type();
42  register_type(_type_handle, "MayaEggGroupUserData",
43  EggUserData::get_class_type());
44  }
45  virtual TypeHandle get_type() const {
46  return get_class_type();
47  }
48  virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
49 
50 private:
51  static TypeHandle _type_handle;
52 };
53 
54 #include "mayaEggGroupUserData.I"
55 
56 #endif
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85
This is a base class for a user-defined data type to extend egg structures in processing code...
Definition: eggUserData.h:34
This class contains extra user data which is piggybacked onto EggGroup objects for the purpose of the...