Panda3D
|
00001 // Filename: cLwoClip.h 00002 // Created by: drose (26Apr01) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef CLWOCLIP_H 00016 #define CLWOCLIP_H 00017 00018 #include "pandatoolbase.h" 00019 00020 #include "lwoClip.h" 00021 #include "eggGroup.h" 00022 #include "pointerTo.h" 00023 00024 class LwoToEggConverter; 00025 00026 //////////////////////////////////////////////////////////////////// 00027 // Class : CLwoClip 00028 // Description : This class is a wrapper around LwoClip and stores 00029 // additional information useful during the 00030 // conversion-to-egg process. 00031 //////////////////////////////////////////////////////////////////// 00032 class CLwoClip { 00033 public: 00034 CLwoClip(LwoToEggConverter *converter, const LwoClip *clip); 00035 00036 INLINE int get_index() const; 00037 INLINE bool is_still_image() const; 00038 00039 LwoToEggConverter *_converter; 00040 CPT(LwoClip) _clip; 00041 00042 Filename _filename; 00043 bool _still_image; 00044 }; 00045 00046 #include "cLwoClip.I" 00047 00048 #endif 00049 00050