15 #ifndef VERTEXTRANSFORM_H
16 #define VERTEXTRANSFORM_H
18 #include "pandabase.h"
19 #include "typedWritableReferenceCount.h"
20 #include "updateSeq.h"
22 #include "ordered_vector.h"
23 #include "cycleData.h"
24 #include "cycleDataReader.h"
25 #include "cycleDataWriter.h"
26 #include "pipelineCycler.h"
44 virtual void get_matrix(
LMatrix4 &matrix)
const=0;
46 virtual void accumulate_matrix(
LMatrix4 &accum, PN_stdfloat weight)
const;
50 virtual void output(ostream &out)
const;
51 virtual void write(ostream &out,
int indent_level)
const;
57 void mark_modified(
Thread *current_thread);
64 class EXPCL_PANDA_GOBJ CData :
public CycleData {
67 INLINE CData(
const CData ©);
73 return VertexTransform::get_class_type();
96 static void init_type() {
97 TypedWritableReferenceCount::init_type();
98 register_type(_type_handle,
"VertexTransform",
99 TypedWritableReferenceCount::get_class_type());
102 return get_class_type();
104 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
112 INLINE ostream &operator << (ostream &out,
const VertexTransform &obj);
114 #include "vertexTransform.I"
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.
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 ...
This is a 4-by-4 transform matrix.
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
A base class for things which need to inherit from both TypedWritable and from ReferenceCount.
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...
A thread; that is, a lightweight process.
A class to retrieve the individual data elements previously stored in a Datagram. ...
virtual void write_datagram(BamWriter *, Datagram &) const
Writes the contents of this object to the datagram for shipping out to a Bam file.
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 ...