Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Light::CData Class Reference

Inheritance diagram for Light::CData:

CycleData List of all members.

Public Member Functions

 CData ()
 CData (const CData &copy)
virtual CycleDatamake_copy () const
virtual void write_datagram (BamWriter *manager, Datagram &dg) const
 Writes the contents of this object to the datagram for shipping out to a Bam file.

virtual void fillin (DatagramIterator &scan, BamReader *manager)
 This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new Light.

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().


Public Attributes

Colorf _color
PointerTo< GeomNode_viz_geom
bool _viz_geom_stale

Constructor & Destructor Documentation

Light::CData::CData  )  [inline]
 

Definition at line 31 of file light.I.

References INLINE.

Light::CData::CData const CData &  copy  )  [inline]
 

Definition at line 45 of file light.I.

References INLINE.


Member Function Documentation

int CycleData::complete_pointers TypedWritable **  p_list,
BamReader manager
[virtual, inherited]
 

Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().

Returns the number of pointers processed.

Reimplemented in GeomNode::CData, and PandaNode::CData.

Definition at line 63 of file cycleData.cxx.

void Light::CData::fillin DatagramIterator scan,
BamReader manager
[virtual]
 

This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new Light.

Reimplemented from CycleData.

Definition at line 71 of file light.cxx.

CycleData * Light::CData::make_copy void   )  const [virtual]
 

Implements CycleData.

Definition at line 39 of file light.cxx.

References _color.

void Light::CData::write_datagram BamWriter manager,
Datagram dg
const [virtual]
 

Writes the contents of this object to the datagram for shipping out to a Bam file.

Reimplemented from CycleData.

Definition at line 54 of file light.cxx.

References _color.


Member Data Documentation

Colorf Light::CData::_color
 

Definition at line 89 of file light.h.

Referenced by make_copy(), and write_datagram().

PointerTo< GeomNode > Light::CData::_viz_geom
 

Definition at line 91 of file light.h.

bool Light::CData::_viz_geom_stale
 

Definition at line 92 of file light.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:51:42 2003 for Panda by doxygen1.3