15 #ifndef TRANSFORMBLENDTABLE_H 16 #define TRANSFORMBLENDTABLE_H 18 #include "pandabase.h" 19 #include "transformBlend.h" 20 #include "vertexTransform.h" 21 #include "copyOnWriteObject.h" 22 #include "pointerTo.h" 25 #include "indirectLess.h" 26 #include "cycleData.h" 27 #include "cycleDataLockedReader.h" 28 #include "cycleDataReader.h" 29 #include "cycleDataWriter.h" 30 #include "pipelineCycler.h" 31 #include "sparseArray.h" 60 INLINE
int get_num_blends()
const;
62 MAKE_SEQ(get_blends, get_num_blends, get_blend);
66 void remove_blend(
int n);
69 INLINE
int get_num_transforms()
const;
70 INLINE
int get_max_simultaneous_transforms()
const;
76 void write(ostream &out,
int indent_level)
const;
82 INLINE
void consider_rebuild_index()
const;
85 void recompute_modified(CData *cdata,
Thread *current_thread);
86 void clear_modified(
Thread *current_thread);
103 BlendIndex _blend_index;
105 int _max_simultaneous_transforms;
110 class EXPCL_PANDA_GOBJ CData :
public CycleData {
113 INLINE CData(
const CData ©);
118 return TransformBlendTable::get_class_type();
131 static void register_with_read_factory();
143 static void init_type() {
144 CopyOnWriteObject::init_type();
145 register_type(_type_handle,
"TransformBlendTable",
146 CopyOnWriteObject::get_class_type());
149 return get_class_type();
151 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
161 #include "transformBlendTable.I" This class records a set of integers, where each integer is either present or not present in the set...
This is our own Panda specialization on the default STL map.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
A single page of data maintained by a PipelineCycler.
Base class for objects that can be written to and read from Bam files.
virtual TypeHandle get_parent_type() const
Returns the type of the container that owns the CycleData.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
This is our own Panda specialization on the default STL list.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
virtual void write_datagram(BamWriter *, Datagram &) const
Writes the contents of this object to the datagram for shipping out to a Bam file.
This template class calls PipelineCycler::read() in the constructor and PipelineCycler::release_read(...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
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()...
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
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 base class provides basic reference counting, but also can be used with a CopyOnWritePointer to ...
A thread; that is, a lightweight process.
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 a sequence number that increments monotonically.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...