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

AmbientLight Class Reference

#include <ambientLight.h>

Inheritance diagram for AmbientLight:

LightNode Light PandaNode ReferenceCount TypedWritable Namable BoundedObject ReferenceCount TypedObject List of all members.

Public Member Functions

virtual PandaNodemake_copy () const
virtual void write (ostream &out, int indent_level) const
virtual void bind (GraphicsStateGuardianBase *gsg, int light_id)
virtual void write_datagram (BamWriter *manager, Datagram &dg)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

void register_with_read_factory ()
TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

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

Static Protected Member Functions

TypedWritablemake_from_bam (const FactoryParams &params)

Private Attributes

PUBLISHED __pad0__: AmbientLight(const string &name)

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

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

Definition at line 46 of file ambientLight.cxx.

Referenced by make_copy(), and make_from_bam().


Member Function Documentation

void AmbientLight::bind GraphicsStateGuardianBase gsg,
int  light_id
[virtual]
 

Implements Light.

Definition at line 83 of file ambientLight.cxx.

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

Reimplemented from LightNode.

Definition at line 139 of file ambientLight.cxx.

References LightNode::fillin().

Referenced by make_from_bam().

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

Reimplemented from LightNode.

Definition at line 67 of file ambientLight.h.

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

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

Reimplemented from LightNode.

Definition at line 56 of file ambientLight.h.

Referenced by RIBGraphicsStateGuardian::define_light(), GraphicsStateGuardian::issue_light(), and register_with_read_factory().

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

Reimplemented from LightNode.

Definition at line 64 of file ambientLight.h.

References LightNode::get_class_type().

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

Reimplemented from LightNode.

Definition at line 59 of file ambientLight.h.

References LightNode::get_class_type(), LightNode::init_type(), and register_type().

Referenced by init_libpgraph().

PandaNode * AmbientLight::make_copy  )  const [virtual]
 

Reimplemented from PandaNode.

Definition at line 61 of file ambientLight.cxx.

References AmbientLight().

TypedWritable * AmbientLight::make_from_bam const FactoryParams params  )  [static, protected]
 

Reimplemented from PandaNode.

Definition at line 120 of file ambientLight.cxx.

References AmbientLight(), fillin(), params, and parse_params().

Referenced by register_with_read_factory().

void AmbientLight::register_with_read_factory  )  [static]
 

Reimplemented from PandaNode.

Definition at line 96 of file ambientLight.cxx.

References get_class_type(), BamReader::get_factory(), make_from_bam(), and Factory< TypedWritable >::register_factory().

Referenced by init_libpgraph().

void AmbientLight::write ostream &  out,
int  indent_level
const [virtual]
 

Reimplemented from LightNode.

Definition at line 71 of file ambientLight.cxx.

References Light::get_color(), and indent().

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

Reimplemented from LightNode.

Definition at line 107 of file ambientLight.cxx.

References LightNode::write_datagram().


Member Data Documentation

PUBLISHED AmbientLight::__pad0__ [private]
 

Reimplemented from LightNode.

Definition at line 35 of file ambientLight.h.

TypeHandle AmbientLight::_type_handle [static, private]
 

Reimplemented from LightNode.

Definition at line 25 of file ambientLight.cxx.


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