#include <colorAttrib.h>
Inheritance diagram for ColorAttrib:
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 RenderAttrib * | make_default_impl () const |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Static Protected Member Functions | |
TypedWritable * | make_from_bam (const FactoryParams ¶ms) |
Private Member Functions | |
INLINE | ColorAttrib (Type type=T_vertex, const Colorf &color=Colorf(0.0f, 0.0f, 0.0f, 1.0f)) |
INLINE Type | get_color_type () const |
INLINE const Colorf & | get_color () const |
Static Private Member Functions | |
CPT (RenderAttrib) make_flat(const Colorf &color) | |
CPT (RenderAttrib) make_off() | |
Private Attributes | |
PUBLISHED | __pad0__: enum Type { T_vertex |
PUBLISHED | T_flat |
PUBLISHED | T_off |
PUBLISHED | __pad1__: static CPT(RenderAttrib) make_vertex() |
Type | _type |
Colorf | _color |
Static Private Attributes | |
TypeHandle | _type_handle |
|
|
|
Reimplemented from RenderAttrib. Definition at line 120 of file colorAttrib.cxx. References _color, _type, DCAST_INTO_R, and T_flat. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. |
|
Reimplemented from RenderAttrib. Definition at line 201 of file colorAttrib.cxx. References _color, _type, RenderAttrib::fillin(), and DatagramIterator::get_int8(). Referenced by make_from_bam(). |
|
Reimplemented from RenderAttrib. Definition at line 84 of file colorAttrib.h. References RenderAttrib::get_class_type(), and RenderAttrib::init_type(). |
|
Reimplemented from RenderAttrib. Definition at line 73 of file colorAttrib.h. Referenced by AccumulatedAttribs::apply_to_node(), NodePath::clear_color(), AccumulatedAttribs::collect(), NodePath::get_color(), NodePath::has_color(), NodePath::has_texture_off(), and register_with_read_factory(). |
|
Referenced by TextNode::apply_attribs_to_vertices(), GeomNode::apply_attribs_to_vertices(), NodePath::get_color(), GraphicsStateGuardian::issue_color(), and output(). |
|
Referenced by TextNode::apply_attribs_to_vertices(), GeomNode::apply_attribs_to_vertices(), NodePath::get_color(), GraphicsStateGuardian::issue_color(), and output(). |
|
Reimplemented from RenderAttrib. Definition at line 81 of file colorAttrib.h. References RenderAttrib::get_class_type(). Referenced by output(). |
|
Reimplemented from RenderAttrib. Definition at line 76 of file colorAttrib.h. References RenderAttrib::get_class_type(), RenderAttrib::init_type(), and register_type(). Referenced by init_libpgraph(). |
|
Reimplemented from RenderAttrib. Definition at line 77 of file colorAttrib.cxx. References GraphicsStateGuardianBase::issue_color(). |
|
Implements RenderAttrib. Definition at line 144 of file colorAttrib.cxx. |
|
Definition at line 182 of file colorAttrib.cxx. References fillin(), params, and parse_params(). Referenced by register_with_read_factory(). |
|
Definition at line 87 of file colorAttrib.cxx. References get_color(), get_color_type(), get_type(), T_flat, and T_off. |
|
Definition at line 155 of file colorAttrib.cxx. References get_class_type(), BamReader::get_factory(), make_from_bam(), and Factory< TypedWritable >::register_factory(). Referenced by init_libpgraph(). |
|
Reimplemented from RenderAttrib. Definition at line 166 of file colorAttrib.cxx. References _color, _type, Datagram::add_int8(), and RenderAttrib::write_datagram(). |
|
Reimplemented from RenderAttrib. Definition at line 37 of file colorAttrib.h. |
|
Definition at line 45 of file colorAttrib.h. |
|
Definition at line 62 of file colorAttrib.h. Referenced by compare_to_impl(), fillin(), and write_datagram(). |
|
Definition at line 61 of file colorAttrib.h. Referenced by compare_to_impl(), fillin(), and write_datagram(). |
|
Reimplemented from RenderAttrib. Definition at line 27 of file colorAttrib.cxx. |
|
Definition at line 37 of file colorAttrib.h. Referenced by TextNode::apply_attribs_to_vertices(), GeomNode::apply_attribs_to_vertices(), compare_to_impl(), NodePath::get_color(), GraphicsStateGuardian::issue_color(), and output(). |
|
Definition at line 37 of file colorAttrib.h. Referenced by GraphicsStateGuardian::issue_color(), and output(). |