14#ifndef VRMLTOEGGCONVERTER_H
15#define VRMLTOEGGCONVERTER_H
32class VRMLToEggConverter :
public SomethingToEggConverter {
35 VRMLToEggConverter(
const VRMLToEggConverter ©);
36 ~VRMLToEggConverter();
38 virtual SomethingToEggConverter *
make_copy();
40 virtual std::string
get_name()
const;
47 typedef pmap<std::string, VrmlNode *> Nodes;
49 void get_all_defs(
SFNodeRef &vrml, Nodes &nodes);
51 const LMatrix4d &net_transform);
54 const LMatrix4d &net_transform,
55 void (VRMLToEggConverter::*process_func)
57 const LMatrix4d &net_transform));
59 const LMatrix4d &net_transform);
61 const LMatrix4d &net_transform);
63 const LMatrix4d &net_transform);
A base class for nodes in the hierarchy that are not leaf nodes.
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nod...
The name of a file, such as a texture file or an Egg file.
virtual std::string get_name() const
Returns the English name of the file type this converter supports.
virtual SomethingToEggConverter * make_copy()
Allocates and returns a new copy of the converter.
virtual std::string get_extension() const
Returns the common extension of the file type this converter supports.
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz extension),...
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.