15 #include "lightNode.h" 16 #include "bamWriter.h" 17 #include "bamReader.h" 19 #include "datagramIterator.h" 29 LightNode(
const string &name) :
74 output(ostream &out)
const {
75 PandaNode::output(out);
84 write(ostream &out,
int indent_level)
const {
85 PandaNode::write(out, indent_level);
97 Light::write_datagram(manager, dg);
109 PandaNode::fillin(scan, manager);
110 Light::fillin(scan, manager);
A basic node of the scene graph or data graph.
The abstract interface to all kinds of lights.
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
A derivative of Light and of PandaNode.
virtual PandaNode * as_node()
Returns the Light object upcast to a PandaNode.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
virtual Light * as_light()
Cross-casts the node to a Light pointer, if it is one of the four kinds of Light nodes, or returns NULL if it is not.
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 ...