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

ColorScaleAttrib Class Reference

#include <colorScaleAttrib.h>

Inheritance diagram for ColorScaleAttrib:

RenderAttrib TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject List of all members.

Public Member Functions

virtual void issue (GraphicsStateGuardianBase *gsg) const
virtual void output (ostream &out) const
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

virtual int compare_to_impl (const RenderAttrib *other) const
virtual CPT (RenderAttrib) compose_impl(const RenderAttrib *other) const
virtual CPT (RenderAttrib) invert_compose_impl(const RenderAttrib *other) const
virtual RenderAttribmake_default_impl () const
void fillin (DatagramIterator &scan, BamReader *manager)

Static Protected Member Functions

TypedWritablemake_from_bam (const FactoryParams &params)

Private Member Functions

INLINE ColorScaleAttrib (const LVecBase4f &scale)
INLINE const LVecBase4f & get_scale () const

Private Attributes

PUBLISHED __pad0__: static CPT(RenderAttrib) make(const LVecBase4f &scale)
LVecBase4f _scale

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE ColorScaleAttrib::ColorScaleAttrib const LVecBase4f &  scale  )  [private]
 

Referenced by make_default_impl(), and make_from_bam().


Member Function Documentation

int ColorScaleAttrib::compare_to_impl const RenderAttrib other  )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 81 of file colorScaleAttrib.cxx.

References _scale, and DCAST_INTO_R.

virtual ColorScaleAttrib::CPT RenderAttrib   )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

virtual ColorScaleAttrib::CPT RenderAttrib   )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

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

Reimplemented from RenderAttrib.

Definition at line 207 of file colorScaleAttrib.cxx.

References _scale, and RenderAttrib::fillin().

Referenced by make_from_bam().

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

Reimplemented from RenderAttrib.

Definition at line 76 of file colorScaleAttrib.h.

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

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

Reimplemented from RenderAttrib.

Definition at line 65 of file colorScaleAttrib.h.

Referenced by AccumulatedAttribs::apply_to_node(), NodePath::clear_color_scale(), AccumulatedAttribs::collect(), NodePath::get_color_scale(), NodePath::has_color_scale(), and register_with_read_factory().

INLINE const LVecBase4f& ColorScaleAttrib::get_scale  )  const [private]
 

Referenced by TextNode::apply_attribs_to_vertices(), GeomNode::apply_attribs_to_vertices(), NodePath::get_color_scale(), GraphicsStateGuardian::issue_color_scale(), and output().

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

Reimplemented from RenderAttrib.

Definition at line 73 of file colorScaleAttrib.h.

References RenderAttrib::get_class_type().

Referenced by output().

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

Reimplemented from RenderAttrib.

Definition at line 68 of file colorScaleAttrib.h.

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

Referenced by init_libpgraph().

void ColorScaleAttrib::issue GraphicsStateGuardianBase gsg  )  const [virtual]
 

Reimplemented from RenderAttrib.

Definition at line 51 of file colorScaleAttrib.cxx.

References GraphicsStateGuardianBase::issue_color_scale().

RenderAttrib * ColorScaleAttrib::make_default_impl  )  const [protected, virtual]
 

Implements RenderAttrib.

Definition at line 151 of file colorScaleAttrib.cxx.

References ColorScaleAttrib().

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

Definition at line 188 of file colorScaleAttrib.cxx.

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

Referenced by register_with_read_factory().

void ColorScaleAttrib::output ostream &  out  )  const [virtual]
 

Definition at line 61 of file colorScaleAttrib.cxx.

References get_scale(), and get_type().

void ColorScaleAttrib::register_with_read_factory  )  [static]
 

Definition at line 162 of file colorScaleAttrib.cxx.

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

Referenced by init_libpgraph().

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

Reimplemented from RenderAttrib.

Definition at line 173 of file colorScaleAttrib.cxx.

References _scale, and RenderAttrib::write_datagram().


Member Data Documentation

PUBLISHED ColorScaleAttrib::__pad0__ [private]
 

Reimplemented from RenderAttrib.

Definition at line 39 of file colorScaleAttrib.h.

LVecBase4f ColorScaleAttrib::_scale [private]
 

Definition at line 54 of file colorScaleAttrib.h.

Referenced by compare_to_impl(), fillin(), and write_datagram().

TypeHandle ColorScaleAttrib::_type_handle [static, private]
 

Reimplemented from RenderAttrib.

Definition at line 27 of file colorScaleAttrib.cxx.


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