15 #include "characterSlider.h" 16 #include "characterVertexSlider.h" 18 #include "datagramIterator.h" 19 #include "bamReader.h" 20 #include "bamWriter.h" 50 CharacterSlider(
PartGroup *parent,
const string &name)
61 nassertv(_vertex_sliders.empty());
90 VertexSliders::iterator vsi;
91 for (vsi = _vertex_sliders.begin(); vsi != _vertex_sliders.end(); ++vsi) {
92 (*vsi)->mark_modified(current_thread);
110 parse_params(params, scan, manager);
111 me->fillin(scan, manager);
virtual bool update_internals(PartBundle *root, PartGroup *parent, bool self_changed, bool parent_changed, Thread *current_thread)
This is called by do_update() whenever the part or some ancestor has changed values.
virtual PartGroup * make_copy() const
Allocates and returns a new copy of the node.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
static void register_with_read_factory()
Factory method to generate a CharacterSlider object.
static TypedWritable * make_CharacterSlider(const FactoryParams ¶ms)
Factory method to generate a CharacterSlider object.
Base class for objects that can be written to and read from Bam files.
This is a morph slider within the character.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
void register_factory(TypeHandle handle, CreateFunc *func)
Registers a new kind of thing the Factory will be able to create.
This is a particular kind of MovingPart that accepts a scalar each frame.
static WritableFactory * get_factory()
Returns the global WritableFactory for generating TypedWritable objects.
A thread; that is, a lightweight process.
This is the root of a MovingPart hierarchy.
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
This is the base class for PartRoot and MovingPart.