00001 // Filename: cLwoClip.I 00002 // Created by: drose (27Apr01) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 00020 //////////////////////////////////////////////////////////////////// 00021 // Function: CLwoClip::get_index 00022 // Access: Public 00023 // Description: Returns the index number of this clip. Each clip in 00024 // a Lightwave object file should have a unique index 00025 // number. 00026 //////////////////////////////////////////////////////////////////// 00027 int CLwoClip:: 00028 get_index() const { 00029 return _clip->_index; 00030 } 00031 00032 //////////////////////////////////////////////////////////////////// 00033 // Function: CLwoClip::is_still_image 00034 // Access: Public 00035 // Description: Returns true if this clip represents a still image, 00036 // as opposed to an animated image. If this is true, 00037 // _filename will contain the image filename. 00038 //////////////////////////////////////////////////////////////////// 00039 bool CLwoClip:: 00040 is_still_image() const { 00041 return _still_image; 00042 }