19 _auto_resolve_externals =
false;
20 _had_absolute_pathnames =
false;
21 _coordsys = CS_default;
32 _auto_resolve_externals(copy._auto_resolve_externals),
33 _had_absolute_pathnames(copy._had_absolute_pathnames),
34 _coordsys(copy._coordsys),
35 _egg_filename(copy._egg_filename),
36 _egg_timestamp(copy._egg_timestamp)
44operator = (
const EggData ©) {
45 EggGroupNode::operator = (copy);
46 _auto_resolve_externals = copy._auto_resolve_externals;
47 _had_absolute_pathnames = copy._had_absolute_pathnames;
48 _coordsys = copy._coordsys;
49 _egg_filename = copy._egg_filename;
50 _egg_timestamp = copy._egg_timestamp;
60 _auto_resolve_externals = resolve;
69 return _auto_resolve_externals;
83 return _had_absolute_pathnames;
101 _egg_filename = egg_filename;
109 return _egg_filename;
118 _egg_timestamp = egg_timestamp;
127 return _egg_timestamp;
This is the primary interface into all the egg data, and the root of the egg file structure.
bool original_had_absolute_pathnames() const
Returns true if the data processed in the last call to read() contained absolute pathnames,...
get_auto_resolve_externals
Indicates whether the EggData object will automatically resolve any external references when read() i...
void recompute_vertex_normals(double threshold)
Recomputes all the vertex normals for polygon geometry at this group node and below so that they accu...
set_egg_timestamp
Sets the timestamp of the egg file on disk, at the time it was opened for reading.
get_coordinate_system
Returns the coordinate system in which the egg file is defined.
get_egg_timestamp
Returns the timestamp of the egg file on disk, at the time it was opened for reading,...
set_auto_resolve_externals
Indicates whether the EggData object will automatically resolve any external references when read() i...
void recompute_polygon_normals()
Recomputes all the polygon normals for polygon geometry at this group node and below so that they acc...
set_egg_filename
Sets the filename–especially the directory part–in which the egg file is considered to reside.
void strip_normals()
Removes all normals from primitives, and the vertices they reference, at this node and below.
get_egg_filename
Returns the directory in which the egg file is considered to reside.
A base class for nodes in the hierarchy that are not leaf nodes.
void strip_normals()
Removes all normals from primitives, and the vertices they reference, at this node and below.
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...
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...
The name of a file, such as a texture file or an Egg file.