Panda3D
 All Classes Functions Variables Enumerations
eggToDAE.h
1 // Filename: eggToDAE.h
2 // Created by: pro-rsoft (04Oct08)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef EGGTODAE_H
16 #define EGGTODAE_H
17 
18 #include "pandatoolbase.h"
19 #include "eggToSomething.h"
20 #include "eggGroup.h"
21 #include "eggTransform.h"
22 
23 #include "pre_fcollada_include.h"
24 #include "FCollada.h"
25 #include "FCDocument/FCDSceneNode.h"
26 
27 ////////////////////////////////////////////////////////////////////
28 // Class : EggToDAE
29 // Description : A program to read an egg file and write a DAE file.
30 ////////////////////////////////////////////////////////////////////
31 class EggToDAE : public EggToSomething {
32 public:
33  EggToDAE();
34 
35  void run();
36 
37 private:
38  FCDocument* _document;
39 
40  void process_node(FCDSceneNode* parent, const PT(EggGroup) node);
41  void apply_transform(FCDSceneNode* to, const PT(EggGroup) from);
42 
43 };
44 
45 #endif
46 
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nod...
Definition: eggGroup.h:36
A program to read an egg file and write a DAE file.
Definition: eggToDAE.h:31
This is the general base class for a file-converter program that reads some model file format and gen...