Panda3D
 All Classes Functions Variables Enumerations
vertexMembership.h
1 // Filename: vertexMembership.h
2 // Created by: drose (21Jul03)
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 VERTEXMEMBERSHIP_H
16 #define VERTEXMEMBERSHIP_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "pvector.h"
21 
22 class EggGroup;
23 
24 ////////////////////////////////////////////////////////////////////
25 // Class : VertexMembership
26 // Description : This class is used to help EggOptchar quantize the
27 // membership of one vertex among its various groups.
28 ////////////////////////////////////////////////////////////////////
30 public:
31  INLINE VertexMembership(EggGroup *group, double membership);
32  INLINE VertexMembership(const VertexMembership &copy);
33  INLINE void operator = (const VertexMembership &copy);
34 
35  INLINE bool operator < (const VertexMembership &other) const;
36 
37  EggGroup *_group;
38  double _membership;
39 };
40 
42 
43 #include "vertexMembership.I"
44 
45 #endif
46 
This is our own Panda specialization on the default STL vector.
Definition: pvector.h:39
The main glue of the egg hierarchy, this corresponds to the &lt;Group&gt;, &lt;Instance&gt;, and &lt;Joint&gt; type nod...
Definition: eggGroup.h:36
This class is used to help EggOptchar quantize the membership of one vertex among its various groups...