Panda3D
eggVertexPointer.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 eggVertexPointer.cxx
10  * @author drose
11  * @date 2001-02-26
12  */
13 
14 #include "eggVertexPointer.h"
15 
16 
17 TypeHandle EggVertexPointer::_type_handle;
18 
19 /**
20  *
21  */
22 EggVertexPointer::
23 EggVertexPointer(EggObject *egg_object) {
24 }
25 
26 /**
27  * Returns the number of frames of animation for this particular slider.
28  */
30 get_num_frames() const {
31  return 0;
32 }
33 
34 /**
35  * Returns the value corresponding to this slider position in the nth frame.
36  */
37 double EggVertexPointer::
38 get_frame(int n) const {
39  nassertr(false, 0.0);
40  return 0.0;
41 }
42 
43 /**
44  * Returns true if there are any vertices referenced by the node this points
45  * to, false otherwise. For certain kinds of back pointers (e.g. table
46  * animation entries), this is always false.
47  */
49 has_vertices() const {
50  return true;
51 }
virtual int get_num_frames() const
Returns the number of frames of animation for this particular slider.
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(int n) const
Returns the value corresponding to this slider position in the nth frame.
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81
The highest-level base class in the egg directory.
Definition: eggObject.h:29