18 #include "pandatoolbase.h" 20 #include "eggCharacterFilter.h" 24 #include "vector_string.h" 25 #include "globPattern.h" 48 virtual bool handle_args(
Args &args);
51 static bool dispatch_vector_string_pair(
const string &opt,
const string &arg,
void *var);
52 static bool dispatch_name_components(
const string &opt,
const string &arg,
void *var);
53 static bool dispatch_double_components(
const string &opt,
const string &arg,
void *var);
54 static bool dispatch_flag_groups(
const string &opt,
const string &arg,
void *var);
56 void determine_removed_components();
58 bool process_joints();
62 bool apply_user_reparents();
64 bool quantize_channels();
65 void analyze_joints(
EggJointData *joint_data,
int level);
67 void list_joints(
EggJointData *joint_data,
int indent_level,
bool verbose);
74 void quantize_vertices();
75 void quantize_vertices(
EggNode *egg_node);
76 void quantize_vertex(
EggVertex *egg_vertex);
80 void rename_primitives(
EggGroupNode *egg_group,
const string &name);
81 void change_dart_type(
EggGroupNode *egg_group,
const string &new_dart_type);
86 bool _list_hierarchy_v;
87 bool _list_hierarchy_p;
97 StringPairs _new_joints;
98 StringPairs _reparent_joints;
99 StringPairs _zero_channels;
100 StringPairs _rename_joints;
102 vector_string _keep_components;
103 vector_string _drop_components;
104 vector_string _expose_components;
105 vector_string _suppress_components;
115 DoubleStrings _quantize_anims;
119 class FlagGroupsEntry {
125 FlagGroups _flag_groups;
129 bool _optimal_hierarchy;
130 double _vref_quantum;
A base class for nodes in the hierarchy that are not leaf nodes.
This corresponds to a single morph slider control.
This is the base class of both EggJointData and EggSliderData.
Any one-, two-, three-, or four-component vertex, possibly with attributes such as a normal...
Performs basic optimizations of a character model and its associated animations, by analyzing the ani...
This is the base class for a family of programs that operate on a number of character models and thei...
Represents a single character, as read and collected from several models and animation files...
This is one node of a hierarchy of EggJointData nodes, each of which represents a single joint of the...
A base class for things that may be directly added into the egg hierarchy.