18 #include "pandatoolbase.h" 20 #include "programBase.h" 44 void append_command_comment(
EggData *_data);
45 static void append_command_comment(
EggData *_data,
const string &comment);
47 static bool dispatch_normals(
ProgramBase *
self,
const string &opt,
const string &arg,
void *mode);
48 bool ns_dispatch_normals(
const string &opt,
const string &arg,
void *mode);
50 static bool dispatch_scale(
const string &opt,
const string &arg,
void *var);
51 static bool dispatch_rotate_xyz(
ProgramBase *
self,
const string &opt,
const string &arg,
void *var);
52 bool ns_dispatch_rotate_xyz(
const string &opt,
const string &arg,
void *var);
53 static bool dispatch_rotate_axis(
ProgramBase *
self,
const string &opt,
const string &arg,
void *var);
54 bool ns_dispatch_rotate_axis(
const string &opt,
const string &arg,
void *var);
55 static bool dispatch_translate(
const string &opt,
const string &arg,
void *var);
64 NormalsMode _normals_mode;
65 double _normals_threshold;
66 vector_string _tbn_names;
75 bool _got_coordinate_system;
76 CoordinateSystem _coordinate_system;
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
This is a 4-by-4 transform matrix.
void add_normals_options()
Adds -no, -np, etc.
This is the primary interface into all the egg data, and the root of the egg file structure...
static void convert_paths(EggNode *node, PathReplace *path_replace, const DSearchPath &additional_path)
Recursively walks the egg hierarchy.
This encapsulates the user's command-line request to replace existing, incorrect pathnames to models ...
A base class for things that may be directly added into the egg hierarchy.
void add_transform_options()
Adds -TS, -TT, etc.
This is a base class for both EggSingleBase and EggMultiBase.
void add_points_options()
Adds -points as a valid option for this program.
This class stores a list of directories that can be searched, in order, to locate a particular file...