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
21 class EggGroup;
22
23/**
24 * This class is used to help EggOptchar quantize the membership of one vertex
25 * among its various groups.
26 */
27 class VertexMembership {
28 public:
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
39 typedef pvector<VertexMembership> VertexMemberships;
40
41#include "vertexMembership.I"
42
43#endif
EggGroup
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nod...
Definition eggGroup.h:34
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pvector.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
vertexMembership.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.