|
|
|
This is a base class for both EggSingleBase and EggMultiBase.
More...
#include "eggBase.h"
List of all members.
Public Member Functions |
| void | add_normals_options () |
| | Adds -no, -np, etc.
|
| void | add_points_options () |
| | Adds -points as a valid option for this program.
|
| void | add_transform_options () |
| | Adds -TS, -TT, etc.
|
Static Public Member Functions |
| static void | convert_paths (EggNode *node, PathReplace *path_replace, const DSearchPath &additional_path) |
| | Recursively walks the egg hierarchy.
|
Protected Types |
| enum | NormalsMode { NM_strip,
NM_polygon,
NM_vertex,
NM_preserve
} |
Protected Member Functions |
| void | append_command_comment (EggData *_data) |
| | Inserts a comment into the beginning of the indicated egg file corresponding to the command line that invoked this program.
|
| bool | ns_dispatch_normals (const string &opt, const string &arg, void *mode) |
| | Accepts one of -no, -np, etc.
|
| bool | ns_dispatch_rotate_axis (const string &opt, const string &arg, void *var) |
| | Handles -TA, which specifies a rotate transform about an arbitrary axis.
|
| bool | ns_dispatch_rotate_xyz (const string &opt, const string &arg, void *var) |
| | Handles -TR, which specifies a rotate transform about the three cardinal axes.
|
Static Protected Member Functions |
| static void | append_command_comment (EggData *_data, const string &comment) |
| | Inserts a comment into the beginning of the indicated egg file corresponding to the command line that invoked this program.
|
| static bool | dispatch_normals (ProgramBase *self, const string &opt, const string &arg, void *mode) |
| | Accepts one of -no, -np, etc.
|
| static bool | dispatch_rotate_axis (ProgramBase *self, const string &opt, const string &arg, void *var) |
| | Handles -TA, which specifies a rotate transform about an arbitrary axis.
|
| static bool | dispatch_rotate_xyz (ProgramBase *self, const string &opt, const string &arg, void *var) |
| | Handles -TR, which specifies a rotate transform about the three cardinal axes.
|
| static bool | dispatch_scale (const string &opt, const string &arg, void *var) |
| | Handles -TS, which specifies a scale transform.
|
| static bool | dispatch_translate (const string &opt, const string &arg, void *var) |
| | Handles -TT, which specifies a translate transform.
|
Protected Attributes |
|
CoordinateSystem | _coordinate_system |
|
bool | _got_coordinate_system |
|
bool | _got_tbnall |
|
bool | _got_tbnauto |
|
bool | _got_transform |
|
bool | _make_points |
|
bool | _noabs |
|
NormalsMode | _normals_mode |
|
double | _normals_threshold |
|
vector_string | _tbn_names |
|
LMatrix4d | _transform |
Detailed Description
This is a base class for both EggSingleBase and EggMultiBase.
Don't inherit directly from this; use one of those two classes instead.
This is just a base class; see EggReader, EggWriter, or EggFilter according to your particular I/O needs.
Definition at line 32 of file eggBase.h.
Member Function Documentation
Inserts a comment into the beginning of the indicated egg file corresponding to the command line that invoked this program.
Normally this function is called automatically when appropriate by EggWriter, and it's not necessary to call it explicitly.
Definition at line 234 of file eggBase.cxx.
Accepts one of -no, -np, etc.
and sets _normals_mode as indicated. The void * argument is a pointer to a NormalsMode variable that indicates which switch was passed.
Definition at line 247 of file eggBase.cxx.
References ns_dispatch_normals().
Referenced by add_normals_options().
Accepts one of -no, -np, etc.
and sets _normals_mode as indicated. The void * argument is a pointer to a NormalsMode variable that indicates which switch was passed.
Definition at line 261 of file eggBase.cxx.
Referenced by dispatch_normals().
The documentation for this class was generated from the following files:
| | |