Panda3D
pandatool
src
eggprogs
eggToC.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 eggToC.h
10
* @author drose
11
* @date 2001-08-03
12
*/
13
14
#ifndef EGGTOC_H
15
#define EGGTOC_H
16
17
#include "
pandatoolbase.h
"
18
19
#include "
eggToSomething.h
"
20
21
#include "
pmap.h
"
22
23
class
EggNode
;
24
class
EggVertexPool
;
25
class
EggBin
;
26
27
/**
28
*
29
*/
30
class
EggToC
:
public
EggToSomething
{
31
public
:
32
EggToC
();
33
34
void
run();
35
36
void
traverse(
EggNode
*node);
37
void
write_vertex_pool(
EggVertexPool
*vpool);
38
void
write_bin(
EggBin
*bin);
39
40
bool
_vertices;
41
bool
_uvs;
42
bool
_vertex_normals;
43
bool
_vertex_colors;
44
bool
_polygons;
45
bool
_polygon_normals;
46
bool
_polygon_colors;
47
48
bool
_triangulate_polygons;
49
50
typedef
pmap<EggVertexPool *, int>
VertexPools
;
51
VertexPools
_vertex_pools;
52
int
_next_vpool_index;
53
int
_next_bin_index;
54
};
55
56
#endif
EggToC
Definition:
eggToC.h:30
pmap< EggVertexPool *, int >
EggToSomething
This is the general base class for a file-converter program that reads some model file format and gen...
Definition:
eggToSomething.h:26
pmap.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EggVertexPool
A collection of vertices.
Definition:
eggVertexPool.h:41
eggToSomething.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EggNode
A base class for things that may be directly added into the egg hierarchy.
Definition:
eggNode.h:35
EggBin
A type of group node that holds related subnodes.
Definition:
eggBin.h:26
Generated on Sun Dec 27 2020 13:23:19 for Panda3D by
1.8.20