Go to the documentation of this file.
14 #ifndef VERTEXSLIDER_H
15 #define VERTEXSLIDER_H
43 MAKE_PROPERTY(name, get_name);
45 virtual PN_stdfloat get_slider()
const=0;
47 MAKE_PROPERTY(slider, get_slider);
48 MAKE_PROPERTY(modified, get_modified);
50 virtual void output(std::ostream &out)
const;
51 virtual void write(std::ostream &out,
int indent_level)
const;
54 void mark_modified(
Thread *current_thread);
64 class EXPCL_PANDA_GOBJ CData :
public CycleData {
67 INLINE CData(
const CData ©);
73 return VertexSlider::get_class_type();
93 static void init_type() {
94 TypedWritableReferenceCount::init_type();
96 TypedWritableReferenceCount::get_class_type());
99 return get_class_type();
101 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
109 INLINE std::ostream &operator << (std::ostream &out,
const VertexSlider &obj);
This is a sequence number that increments monotonically.
Stores the total set of VertexSliders that the vertices in a particular GeomVertexData object might d...
A single page of data maintained by a PipelineCycler.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual TypeHandle get_parent_type() const
Returns the type of the container that owns the CycleData.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class to retrieve the individual data elements previously stored in a Datagram.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
Encodes a string name in a hash table, mapping it to a pointer.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Base class for objects that can be written to and read from Bam files.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
virtual void write_datagram(BamWriter *, Datagram &) const
Writes the contents of this object to the datagram for shipping out to a Bam file.
get_current_thread
Returns a pointer to the currently-executing Thread object.
TypeHandle is the identifier used to differentiate C++ class types.
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void fillin(DatagramIterator &scan, BamReader *manager)
This internal function is intended to be called by each class's make_from_bam() method to read in all...
This is our own Panda specialization on the default STL list.
This is an abstract base class that retains some slider value, which is a linear value that typically...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things which need to inherit from both TypedWritable and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A thread; that is, a lightweight process.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual int complete_pointers(TypedWritable **p_list, BamReader *manager)
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().