15 #ifndef USERVERTEXTRANSFORM_H 16 #define USERVERTEXTRANSFORM_H 18 #include "pandabase.h" 19 #include "vertexTransform.h" 20 #include "cycleData.h" 21 #include "cycleDataReader.h" 22 #include "cycleDataWriter.h" 23 #include "pipelineCycler.h" 38 INLINE
const string &get_name()
const;
40 INLINE
void set_matrix(
const LMatrix4 &matrix);
41 virtual void get_matrix(
LMatrix4 &matrix)
const;
43 virtual void output(ostream &out)
const;
49 class EXPCL_PANDA_GOBJ CData :
public CycleData {
52 INLINE CData(
const CData ©);
57 return UserVertexTransform::get_class_type();
68 static void register_with_read_factory();
79 static void init_type() {
80 VertexTransform::init_type();
81 register_type(_type_handle,
"UserVertexTransform",
82 VertexTransform::get_class_type());
85 return get_class_type();
87 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
93 #include "userVertexTransform.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.
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 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 is a 4-by-4 transform matrix.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
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...
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...