Panda3D
vertexSlider.I
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 vertexSlider.I
10  * @author drose
11  * @date 2005-03-28
12  */
13 
14 /**
15  * Returns the name of this particular slider. Every unique blend shape
16  * within a particular Geom must be identified with a different name, which is
17  * shared by the slider that controls it.
18  */
19 INLINE const InternalName *VertexSlider::
20 get_name() const {
21  return _name;
22 }
23 
24 /**
25  * Returns a sequence number that's guaranteed to change at least every time
26  * the value reported by get_slider() changes.
27  */
29 get_modified(Thread *current_thread) const {
30  CDReader cdata(_cycler, current_thread);
31  return cdata->_modified;
32 }
33 
34 /**
35  *
36  */
37 INLINE VertexSlider::CData::
38 CData() {
39 }
40 
41 /**
42  *
43  */
44 INLINE VertexSlider::CData::
45 CData(const VertexSlider::CData &copy) :
46  _modified(copy._modified)
47 {
48 }
49 
50 INLINE std::ostream &
51 operator << (std::ostream &out, const VertexSlider &obj) {
52  obj.output(out);
53  return out;
54 }
This is an abstract base class that retains some slider value, which is a linear value that typically...
Definition: vertexSlider.h:37
Encodes a string name in a hash table, mapping it to a pointer.
Definition: internalName.h:38
A thread; that is, a lightweight process.
Definition: thread.h:46
get_modified
Returns a sequence number that's guaranteed to change at least every time the value reported by get_s...
Definition: vertexSlider.h:48
This is a sequence number that increments monotonically.
Definition: updateSeq.h:37