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)
44 operator = (
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;
68 get_auto_resolve_externals()
const {
69 return _auto_resolve_externals;
83 return _had_absolute_pathnames;
89 INLINE CoordinateSystem EggData::
90 get_coordinate_system()
const {
101 _egg_filename = egg_filename;
108 get_egg_filename()
const {
109 return _egg_filename;
118 _egg_timestamp = egg_timestamp;
125 INLINE time_t EggData::
126 get_egg_timestamp()
const {
127 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...
set_auto_resolve_externals
Indicates whether the EggData object will automatically resolve any external references when read() i...
set_egg_filename
Sets the filename–especially the directory part–in which the egg file is considered to reside.
void recompute_polygon_normals()
Recomputes all the polygon normals for polygon geometry at this group node and below so that they acc...
set_egg_timestamp
Sets the timestamp of the egg file on disk, at the time it was opened for reading.
This is the primary interface into all the egg data, and the root of the egg file structure.
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,...
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...