Panda3D
Loading...
Searching...
No Matches
vertexMembership.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 vertexMembership.h
10 * @author drose
11 * @date 2003-07-21
12 */
13
14#ifndef VERTEXMEMBERSHIP_H
15#define VERTEXMEMBERSHIP_H
16
17#include "pandatoolbase.h"
18
19#include "pvector.h"
20
21class EggGroup;
22
23/**
24 * This class is used to help EggOptchar quantize the membership of one vertex
25 * among its various groups.
26 */
28public:
29 INLINE VertexMembership(EggGroup *group, double membership);
30 INLINE VertexMembership(const VertexMembership &copy);
31 INLINE void operator = (const VertexMembership &copy);
32
33 INLINE bool operator < (const VertexMembership &other) const;
34
35 EggGroup *_group;
36 double _membership;
37};
38
40
41#include "vertexMembership.I"
42
43#endif
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nod...
Definition eggGroup.h:34
This class is used to help EggOptchar quantize the membership of one vertex among its various groups.
This is our own Panda specialization on the default STL vector.
Definition pvector.h:42
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.