23 _auto_resolve_externals =
false;
24 _had_absolute_pathnames =
false;
25 _coordsys = CS_default;
38 _auto_resolve_externals(copy._auto_resolve_externals),
39 _had_absolute_pathnames(copy._had_absolute_pathnames),
40 _coordsys(copy._coordsys),
41 _egg_filename(copy._egg_filename),
42 _egg_timestamp(copy._egg_timestamp)
52 operator = (
const EggData ©) {
53 EggGroupNode::operator = (copy);
54 _auto_resolve_externals = copy._auto_resolve_externals;
55 _had_absolute_pathnames = copy._had_absolute_pathnames;
56 _coordsys = copy._coordsys;
57 _egg_filename = copy._egg_filename;
58 _egg_timestamp = copy._egg_timestamp;
71 _auto_resolve_externals = resolve;
83 return _auto_resolve_externals;
101 return _had_absolute_pathnames;
125 _egg_filename = egg_filename;
136 return _egg_filename;
148 _egg_timestamp = egg_timestamp;
160 return _egg_timestamp;
void strip_normals()
Removes all normals from primitives, and the vertices they reference, at this node and below...
A base class for nodes in the hierarchy that are not leaf nodes.
void recompute_polygon_normals(CoordinateSystem cs=CS_default)
Recomputes all the polygon normals for polygon geometry at this group node and below so that they acc...
CoordinateSystem get_coordinate_system() const
Returns the coordinate system in which the egg file is defined.
void set_egg_filename(const Filename &egg_filename)
Sets the filename–especially the directory part–in which the egg file is considered to reside...
const Filename & get_egg_filename() const
Returns the directory in which the egg file is considered to reside.
time_t get_egg_timestamp() const
Returns the timestamp of the egg file on disk, at the time it was opened for reading, or 0 if this information is not available.
void recompute_polygon_normals()
Recomputes all the polygon normals for polygon geometry at this group node and below so that they acc...
This is the primary interface into all the egg data, and the root of the egg file structure...
void set_auto_resolve_externals(bool resolve)
Indicates whether the EggData object will automatically resolve any external references when read() i...
void strip_normals()
Removes all normals from primitives, and the vertices they reference, at this node and below...
The name of a file, such as a texture file or an Egg file.
bool original_had_absolute_pathnames() const
Returns true if the data processed in the last call to read() contained absolute pathnames, or false if those pathnames were all relative.
bool get_auto_resolve_externals() const
Indicates whether the EggData object will automatically resolve any external references when read() i...
void set_egg_timestamp(time_t egg_timestamp)
Sets the timestamp of the egg file on disk, at the time it was opened for reading.
void recompute_vertex_normals(double threshold)
Recomputes all the vertex normals for polygon geometry at this group node and below so that they accu...
void recompute_vertex_normals(double threshold, CoordinateSystem cs=CS_default)
Recomputes all the vertex normals for polygon geometry at this group node and below so that they accu...