eggBackPointer.cxx
00001 // Filename: eggBackPointer.cxx
00002 // Created by:  drose (26Feb01)
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 #include "eggBackPointer.h"
00016 
00017 
00018 TypeHandle EggBackPointer::_type_handle;
00019 
00020 ////////////////////////////////////////////////////////////////////
00021 //     Function: EggBackPointer::Constructor
00022 //       Access: Public
00023 //  Description:
00024 ////////////////////////////////////////////////////////////////////
00025 EggBackPointer::
00026 EggBackPointer() {
00027 }
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //     Function: EggBackPointer::get_frame_rate
00031 //       Access: Public, Virtual
00032 //  Description: Returns the stated frame rate of this particular
00033 //               joint, or 0.0 if it doesn't state.
00034 ////////////////////////////////////////////////////////////////////
00035 double EggBackPointer::
00036 get_frame_rate() const {
00037   return 0.0;
00038 }
00039 
00040 ////////////////////////////////////////////////////////////////////
00041 //     Function: EggBackPointer::extend_to
00042 //       Access: Public, Virtual
00043 //  Description: Extends the table to the indicated number of frames.
00044 ////////////////////////////////////////////////////////////////////
00045 void EggBackPointer::
00046 extend_to(int num_frames) {
00047   // Whoops, can't extend this kind of table!
00048   nassertv(false);
00049 }
00050 
00051 ////////////////////////////////////////////////////////////////////
00052 //     Function: EggBackPointer::has_vertices
00053 //       Access: Public, Virtual
00054 //  Description: Returns true if there are any vertices referenced by
00055 //               the node this points to, false otherwise.  For
00056 //               certain kinds of back pointers (e.g. table animation
00057 //               entries), this is always false.
00058 ////////////////////////////////////////////////////////////////////
00059 bool EggBackPointer::
00060 has_vertices() const {
00061   return false;
00062 }
00063 
00064 ////////////////////////////////////////////////////////////////////
00065 //     Function: EggBackPointer::set_name
00066 //       Access: Public, Virtual
00067 //  Description: Applies the indicated name change to the egg file.
00068 ////////////////////////////////////////////////////////////////////
00069 void EggBackPointer::
00070 set_name(const string &name) {
00071 }