14 #ifndef FLTTOEGGCONVERTER_H 15 #define FLTTOEGGCONVERTER_H 57 virtual std::string
get_name()
const;
68 bool _compose_transforms;
94 bool parse_comment(
const std::string &comment,
const std::string &name,
97 PT_EggVertex make_egg_vertex(
const FltVertex *flt_vertex);
98 PT_EggTexture make_egg_texture(
const FltTexture *flt_texture);
A base class for any of a number of kinds of geometry primitives: polygons, point lights,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is our own Panda specialization on the default STL map.
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz extension),...
A base class for any of a broad family of flt beads that include an ID.
A base class for nodes in the hierarchy that are not leaf nodes.
Defines a texture map that may be applied to geometry.
The main grouping bead of the flt file.
A base class for any of a broad family of flt records that represent particular beads in the hierarch...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class supervises the construction of an EggData structure from the data represented by the FltHe...
This is a base class for both FltFace and FltMesh, which are two different kinds of geometric primiti...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual std::string get_name() const
Returns the English name of the file type this converter supports.
This keeps track of relevant things about the traversal as we walk through the flt hierarchy.
DistanceUnit
This enumerated type lists all the kinds of units we're likely to come across in model conversion pro...
This is our own Panda specialization on the default STL vector.
virtual DistanceUnit get_input_units()
This may be called after convert_file() has been called and returned true, indicating a successful co...
Represents a single texture in the texture palette.
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The base class for all kinds of records in a MultiGen OpenFlight file.
Represents a single vertex in the vertex palette.
An external reference to another flt file (possibly to a specific bead within the flt file).
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual std::string get_extension() const
Returns the common extension of the file type this converter supports.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The main objecting bead of the flt file.
bool convert_flt(const FltHeader *flt_header)
Fills up the egg_data structure according to the indicated lwo structure.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things that may be directly added into the egg hierarchy.
virtual SomethingToEggConverter * make_copy()
Allocates and returns a new copy of the converter.
virtual bool convert_file(const Filename &filename)
Handles the reading of the input file and converting it to egg.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A Level-of-Detail record.
This is a base class for a family of converter classes that manage a conversion from some file type t...
A collection of vertices.