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

LightNode Class Reference

#include <lightNode.h>

Inheritance diagram for LightNode:

Light PandaNode ReferenceCount TypedWritable Namable BoundedObject ReferenceCount TypedObject AmbientLight DirectionalLight PointLight List of all members.

Public Member Functions

virtual PandaNodeas_node ()
virtual Lightas_light ()
virtual void write (ostream &out, int indent_level=0) const
virtual void write_datagram (BamWriter *manager, Datagram &dg)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Public Attributes

PUBLISHED __pad1__: virtual void output(ostream &out) const

Protected Member Functions

 LightNode (const LightNode &copy)
void fillin (DatagramIterator &scan, BamReader *manager)

Private Attributes

PUBLISHED __pad0__: LightNode(const string &name)

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

LightNode::LightNode const LightNode &  copy  )  [protected]
 

Definition at line 44 of file lightNode.cxx.


Member Function Documentation

Light * LightNode::as_light  )  [virtual]
 

Reimplemented from PandaNode.

Definition at line 68 of file lightNode.cxx.

PandaNode * LightNode::as_node  )  [virtual]
 

Implements Light.

Definition at line 56 of file lightNode.cxx.

void LightNode::fillin DatagramIterator scan,
BamReader manager
[protected]
 

Reimplemented from Light.

Reimplemented in AmbientLight, DirectionalLight, and PointLight.

Definition at line 112 of file lightNode.cxx.

References Light::fillin(), and PandaNode::fillin().

Referenced by PointLight::fillin(), DirectionalLight::fillin(), and AmbientLight::fillin().

virtual TypeHandle LightNode::force_init_type void   )  [inline, virtual]
 

Reimplemented from PandaNode.

Reimplemented in AmbientLight, DirectionalLight, and PointLight.

Definition at line 70 of file lightNode.h.

References Light::get_class_type(), and Light::init_type().

TypeHandle LightNode::get_class_type void   )  [inline, static]
 

Reimplemented from Light.

Reimplemented in AmbientLight, DirectionalLight, and PointLight.

Definition at line 57 of file lightNode.h.

Referenced by AmbientLight::force_init_type(), AmbientLight::get_type(), PointLight::init_type(), DirectionalLight::init_type(), and AmbientLight::init_type().

virtual TypeHandle LightNode::get_type void   )  const [inline, virtual]
 

Reimplemented from Light.

Reimplemented in AmbientLight, DirectionalLight, and PointLight.

Definition at line 67 of file lightNode.h.

References Light::get_class_type().

void LightNode::init_type void   )  [inline, static]
 

Reimplemented from Light.

Reimplemented in AmbientLight, DirectionalLight, and PointLight.

Definition at line 60 of file lightNode.h.

References PandaNode::get_class_type(), Light::get_class_type(), PandaNode::init_type(), Light::init_type(), and register_type().

Referenced by AmbientLight::force_init_type(), init_libpgraph(), PointLight::init_type(), DirectionalLight::init_type(), and AmbientLight::init_type().

void LightNode::write ostream &  out,
int  indent_level = 0
const [virtual]
 

Implements Light.

Reimplemented in AmbientLight, DirectionalLight, and PointLight.

Definition at line 88 of file lightNode.cxx.

References PandaNode::write().

void LightNode::write_datagram BamWriter manager,
Datagram dg
[virtual]
 

Reimplemented from Light.

Reimplemented in AmbientLight, DirectionalLight, and PointLight.

Definition at line 99 of file lightNode.cxx.

References Light::write_datagram(), and PandaNode::write_datagram().

Referenced by PointLight::write_datagram(), DirectionalLight::write_datagram(), and AmbientLight::write_datagram().


Member Data Documentation

PUBLISHED LightNode::__pad0__ [private]
 

Reimplemented from Light.

Reimplemented in AmbientLight, DirectionalLight, and PointLight.

Definition at line 35 of file lightNode.h.

PUBLISHED LightNode::__pad1__
 

Reimplemented from PandaNode.

Reimplemented in DirectionalLight, and PointLight.

Definition at line 47 of file lightNode.h.

TypeHandle LightNode::_type_handle [static, private]
 

Reimplemented from Light.

Reimplemented in AmbientLight, DirectionalLight, and PointLight.

Definition at line 25 of file lightNode.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:38 2003 for Panda by doxygen1.3