Panda3D

Loading...
Searching...
No Matches
eggToDAE.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file eggToDAE.h
10 * @author rdb
11 * @date 2008-10-04
12 */
13
14#ifndef EGGTODAE_H
15#define EGGTODAE_H
16
17#include "pandatoolbase.h"
18#include "eggToSomething.h"
19#include "eggGroup.h"
20#include "eggTransform.h"
21
22#include "pre_fcollada_include.h"
23#include <FCollada.h>
24#include <FCDocument/FCDSceneNode.h>
25
26/**
27 * A program to read an egg file and write a DAE file.
28 */
29 class EggToDAE : public EggToSomething {
30 public:
31 EggToDAE();
32
33 void run();
34
35 private:
36 FCDocument* _document;
37
38 void process_node(FCDSceneNode* parent, const PT(EggGroup) node);
39 void apply_transform(FCDSceneNode* to, const PT(EggGroup) from);
40
41};
42
43#endif
EggGroup
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nod...
Definition eggGroup.h:34
EggToSomething::EggToSomething
EggToSomething(const std::string &format_name, const std::string &preferred_extension=std::string(), bool allow_last_param=true, bool allow_stdout=true)
The first parameter to the constructor should be the one-word name of the file format that is to be r...
Definition eggToSomething.cxx:22
eggGroup.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
eggToSomething.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
eggTransform.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pre_fcollada_include.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.