eggBackPointer.cxx
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 eggBackPointer.cxx
10  * @author drose
11  * @date 2001-02-26
12  */
13 
14 #include "eggBackPointer.h"
15 
16 
17 TypeHandle EggBackPointer::_type_handle;
18 
19 /**
20  *
21  */
22 EggBackPointer::
23 EggBackPointer() {
24 }
25 
26 /**
27  * Returns the stated frame rate of this particular joint, or 0.0 if it
28  * doesn't state.
29  */
30 double EggBackPointer::
31 get_frame_rate() const {
32  return 0.0;
33 }
34 
35 /**
36  * Extends the table to the indicated number of frames.
37  */
39 extend_to(int num_frames) {
40  // Whoops, can't extend this kind of table!
41  nassertv(false);
42 }
43 
44 /**
45  * Returns true if there are any vertices referenced by the node this points
46  * to, false otherwise. For certain kinds of back pointers (e.g. table
47  * animation entries), this is always false.
48  */
50 has_vertices() const {
51  return false;
52 }
53 
54 /**
55  * Applies the indicated name change to the egg file.
56  */
58 set_name(const string &name) {
59 }
virtual bool has_vertices() const
Returns true if there are any vertices referenced by the node this points to, false otherwise...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual double get_frame_rate() const
Returns the stated frame rate of this particular joint, or 0.0 if it doesn't state.
virtual void extend_to(int num_frames)
Extends the table to the indicated number of frames.
virtual void set_name(const string &name)
Applies the indicated name change to the egg file.