25class EXPCL_PANDA_CHAN PartSubset {
28 PartSubset(
const PartSubset ©);
29 void operator = (
const PartSubset ©);
34 void append(
const PartSubset &other);
36 void output(std::ostream &out)
const;
43 typedef pvector<GlobPattern> Joints;
44 Joints _include_joints;
45 Joints _exclude_joints;
48INLINE std::ostream &operator << (std::ostream &out,
const PartSubset &subset) {
This class can be used to test for string matches against standard Unix- shell filename globbing conv...
This class is used to define a subset of part names to apply to the PartBundle::bind_anim() operation...
void add_include_joint(const GlobPattern &name)
Adds the named joint to the list of joints that will be explicitly included in the subset.
bool matches_exclude(const std::string &joint_name) const
Returns true if the indicated name matches a name on the exclude list, false otherwise.
void append(const PartSubset &other)
Appends the include and exclude list from the other object onto this object's lists.
bool is_include_empty() const
Returns true if the include list is completely empty, false otherwise.
bool matches_include(const std::string &joint_name) const
Returns true if the indicated name matches a name on the include list, false otherwise.
void add_exclude_joint(const GlobPattern &name)
Adds the named joint to the list of joints that will be explicitly exlcluded from the subset.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.