14 #ifndef LWOTOEGGCONVERTER_H 15 #define LWOTOEGGCONVERTER_H 46 virtual std::string
get_name()
const;
67 void slot_layer(
int number);
68 void slot_clip(
int number);
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.
This class is a wrapper around LwoPolygons and stores additional information useful during the conver...
A single image file, or a numbered sequence of images (e.g.
This class is a wrapper around LwoClip and stores additional information useful during the conversion...
This class is a wrapper around LwoSurface and stores additional information useful during the convers...
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is a wrapper around LwoLayer and stores additional information useful during the conversio...
bool convert_lwo(const LwoHeader *lwo_header)
Fills up the egg_data structure according to the indicated lwo structure.
virtual std::string get_name() const
Returns the English name of the file type this converter supports.
CLwoLayer * get_layer(int number) const
Returns a pointer to the layer with the given index number, or NULL if there is no such layer.
This class supervises the construction of an EggData structure from the data represented by the LwoHe...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual SomethingToEggConverter * make_copy()
Allocates and returns a new copy of the converter.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
CLwoClip * get_clip(int number) const
Returns a pointer to the clip with the given index number, or NULL if there is no such clip.
CLwoSurface * get_surface(const std::string &name) const
Returns a pointer to the surface definition with the given name, or NULL if there is no such surface.
This class is a wrapper around LwoPoints and stores additional information useful during the conversi...
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz extension),...
This is a base class for a family of converter classes that manage a conversion from some file type t...
virtual bool convert_file(const Filename &filename)
Handles the reading of the input file and converting it to egg.