Panda3D

Loading...
Searching...
No Matches
cLwoClip.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 cLwoClip.h
10 * @author drose
11 * @date 2001-04-26
12 */
13
14#ifndef CLWOCLIP_H
15#define CLWOCLIP_H
16
17#include "pandatoolbase.h"
18
19#include "lwoClip.h"
20#include "eggGroup.h"
21#include "pointerTo.h"
22
23 class LwoToEggConverter;
24
25/**
26 * This class is a wrapper around LwoClip and stores additional information
27 * useful during the conversion-to-egg process.
28 */
29 class CLwoClip {
30 public:
31 CLwoClip(LwoToEggConverter *converter, const LwoClip *clip);
32
33 INLINE int get_index() const;
34 INLINE bool is_still_image() const;
35
36 LwoToEggConverter *_converter;
37 CPT(LwoClip) _clip;
38
39 Filename _filename;
40 bool _still_image;
41};
42
43#include "cLwoClip.I"
44
45#endif
cLwoClip.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
CLwoClip::is_still_image
bool is_still_image() const
Returns true if this clip represents a still image, as opposed to an animated image.
Definition cLwoClip.I:29
CLwoClip::get_index
int get_index() const
Returns the index number of this clip.
Definition cLwoClip.I:19
Filename
The name of a file, such as a texture file or an Egg file.
Definition filename.h:44
LwoClip
A single image file, or a numbered sequence of images (e.g.
Definition lwoClip.h:25
LwoToEggConverter
This class supervises the construction of an EggData structure from the data represented by the LwoHe...
Definition lwoToEggConverter.h:38
eggGroup.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
lwoClip.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pointerTo.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.