Panda3D
Loading...
Searching...
No Matches
cLwoLayer.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 cLwoLayer.h
10 * @author drose
11 * @date 2001-04-25
12 */
13
14#ifndef CLWOLAYER_H
15#define CLWOLAYER_H
16
17#include "pandatoolbase.h"
18
19#include "lwoLayer.h"
20#include "eggGroup.h"
21#include "pointerTo.h"
22
24
25/**
26 * This class is a wrapper around LwoLayer and stores additional information
27 * useful during the conversion-to-egg process.
28 */
29class CLwoLayer {
30public:
31 INLINE CLwoLayer(LwoToEggConverter *converter, const LwoLayer *layer);
32 INLINE int get_number() const;
33
34 void make_egg();
35 void connect_egg();
36
37 LwoToEggConverter *_converter;
38 CPT(LwoLayer) _layer;
39 PT(EggGroup) _egg_group;
40};
41
42#include "cLwoLayer.I"
43
44#endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is a wrapper around LwoLayer and stores additional information useful during the conversio...
Definition cLwoLayer.h:29
void make_egg()
Creates the egg structures associated with this Lightwave object.
Definition cLwoLayer.cxx:24
int get_number() const
Returns the index number associated with this particular layer.
Definition cLwoLayer.I:29
void connect_egg()
Connects all the egg structures together.
Definition cLwoLayer.cxx:39
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nod...
Definition eggGroup.h:34
Signals the start of a new layer.
Definition lwoLayer.h:28
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.