#include <spotlight.h>
Inheritance diagram for Spotlight:
Public Member Functions | |
virtual PandaNode * | make_copy () const |
virtual void | xform (const LMatrix4f &mat) |
virtual void | write (ostream &out, int indent_level) const |
INLINE void | set_exponent (float exponent) |
INLINE const Colorf & | get_specular_color () const |
INLINE void | set_specular_color (const Colorf &color) |
INLINE const LVecBase3f & | get_attenuation () const |
INLINE void | set_attenuation (const LVecBase3f &attenuation) |
virtual void | bind (GraphicsStateGuardianBase *gsg, int light_id) |
bool | make_image (Texture *texture, float radius) |
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 () |
Public Attributes | |
PUBLISHED | __pad1__: INLINE float get_exponent() const |
Protected Member Functions | |
Spotlight (const Spotlight ©) | |
virtual void | fill_viz_geom (GeomNode *viz_geom) |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Static Protected Member Functions | |
TypedWritable * | make_from_bam (const FactoryParams ¶ms) |
Private Types | |
typedef CycleDataReader< CData > | CDReader |
typedef CycleDataWriter< CData > | CDWriter |
Private Member Functions | |
CPT (RenderState) get_viz_state() | |
Private Attributes | |
PUBLISHED | __pad0__: Spotlight(const string &name) |
PipelineCycler< CData > | _cycler |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Reimplemented from Light. Definition at line 89 of file spotlight.h. |
|
Reimplemented from Light. Definition at line 90 of file spotlight.h. |
|
Definition at line 86 of file spotlight.cxx. References _cycler. Referenced by make_copy(), and make_from_bam(). |
|
Implements Light. Definition at line 148 of file spotlight.cxx. References GraphicsStateGuardianBase::bind_light(). |
|
|
|
Reimplemented from Light. Definition at line 242 of file spotlight.cxx. References GeomNode::add_geom(), LensNode::get_lens(), NULL, and LensNode::PT(). |
|
Reimplemented from LightLensNode. Definition at line 319 of file spotlight.cxx. References _cycler, LightLensNode::fillin(), and BamReader::read_cdata(). Referenced by make_from_bam(). |
|
Reimplemented from LightLensNode. Definition at line 112 of file spotlight.h. |
|
Referenced by GLGraphicsStateGuardian::bind_light(), DXGraphicsStateGuardian8::bind_light(), CRGraphicsStateGuardian::bind_light(), DXGraphicsStateGuardian7::prepare_texture(), and write(). |
|
Reimplemented from LightLensNode. Definition at line 101 of file spotlight.h. Referenced by SpotlightShader::config(), RIBGraphicsStateGuardian::define_light(), SpheretexHighlighter::pre_apply(), ProjtexShadower::pre_apply(), and register_with_read_factory(). |
|
Referenced by GLGraphicsStateGuardian::bind_light(), DXGraphicsStateGuardian8::bind_light(), CRGraphicsStateGuardian::bind_light(), DXGraphicsStateGuardian7::prepare_texture(), and write(). |
|
Reimplemented from LightLensNode. Definition at line 109 of file spotlight.h. |
|
Reimplemented from LightLensNode. Definition at line 104 of file spotlight.h. References LightLensNode::get_class_type(), LightLensNode::init_type(), and register_type(). Referenced by init_libpgraph(). |
|
Reimplemented from LensNode. Definition at line 102 of file spotlight.cxx. References Spotlight(). |
|
Reimplemented from LensNode. Definition at line 300 of file spotlight.cxx. References fillin(), params, parse_params(), and Spotlight(). Referenced by register_with_read_factory(). |
|
Definition at line 167 of file spotlight.cxx. References Colorf, Light::get_color(), PixelBuffer::get_xsize(), NULL, pb, pow(), RGBColorf, PixelBuffer::set_uchar_rgb_texel(), texture, ty, uchar, x, and y. Referenced by SpotlightShader::config(). |
|
Reimplemented from LensNode. Definition at line 275 of file spotlight.cxx. References get_class_type(), BamReader::get_factory(), make_from_bam(), and Factory< TypedWritable >::register_factory(). Referenced by init_libpgraph(). |
|
|
|
|
|
|
|
Reimplemented from LightLensNode. Definition at line 125 of file spotlight.cxx. References get_attenuation(), Light::get_color(), LensNode::get_lens(), get_specular_color(), indent(), NULL, and Lens::write(). |
|
Reimplemented from LightLensNode. Definition at line 286 of file spotlight.cxx. References _cycler, BamWriter::write_cdata(), and LightLensNode::write_datagram(). |
|
Reimplemented from LensNode. Definition at line 114 of file spotlight.cxx. References Light::mark_viz_stale(), and LensNode::xform(). |
|
Reimplemented from LightLensNode. Definition at line 42 of file spotlight.h. |
|
Reimplemented from LightLensNode. Definition at line 53 of file spotlight.h. |
|
Reimplemented from Light. Definition at line 88 of file spotlight.h. Referenced by fillin(), Spotlight(), and write_datagram(). |
|
Reimplemented from LightLensNode. Definition at line 28 of file spotlight.cxx. |