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

CullBinAttrib Class Reference

#include <cullBinAttrib.h>

Inheritance diagram for CullBinAttrib:

RenderAttrib TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject List of all members.

Public Member Functions

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 RenderAttribmake_default_impl () const
void fillin (DatagramIterator &scan, BamReader *manager)

Static Protected Member Functions

TypedWritablemake_from_bam (const FactoryParams &params)

Private Member Functions

INLINE CullBinAttrib ()
INLINE const string & get_bin_name () const
INLINE int get_draw_order () const

Private Attributes

PUBLISHED __pad0__: static CPT(RenderAttrib) make(const string &bin_name
PUBLISHED int draw_order
string _bin_name
int _draw_order

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE CullBinAttrib::CullBinAttrib  )  [private]
 


Member Function Documentation

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

Reimplemented from RenderAttrib.

Definition at line 77 of file cullBinAttrib.cxx.

References _bin_name, _draw_order, and DCAST_INTO_R.

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

Reimplemented from RenderAttrib.

Definition at line 155 of file cullBinAttrib.cxx.

References _bin_name, _draw_order, RenderAttrib::fillin(), DatagramIterator::get_int32(), and DatagramIterator::get_string().

Referenced by make_from_bam().

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

Reimplemented from RenderAttrib.

Definition at line 75 of file cullBinAttrib.h.

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

INLINE const string& CullBinAttrib::get_bin_name  )  const [private]
 

Referenced by CullResult::add_object(), RenderState::determine_bin_index(), and NodePath::get_bin_name().

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

Reimplemented from RenderAttrib.

Definition at line 64 of file cullBinAttrib.h.

Referenced by NodePath::clear_bin(), RenderState::determine_bin(), NodePath::get_bin_draw_order(), NodePath::get_bin_name(), NodePath::has_bin(), and register_with_read_factory().

INLINE int CullBinAttrib::get_draw_order  )  const [private]
 

Referenced by RenderState::determine_bin_index(), and NodePath::get_bin_draw_order().

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

Reimplemented from RenderAttrib.

Definition at line 72 of file cullBinAttrib.h.

References RenderAttrib::get_class_type().

Referenced by output().

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

Reimplemented from RenderAttrib.

Definition at line 67 of file cullBinAttrib.h.

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

Referenced by init_libpgraph().

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

Implements RenderAttrib.

Definition at line 98 of file cullBinAttrib.cxx.

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

Definition at line 136 of file cullBinAttrib.cxx.

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

Referenced by register_with_read_factory().

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

Definition at line 52 of file cullBinAttrib.cxx.

References _bin_name, and get_type().

void CullBinAttrib::register_with_read_factory  )  [static]
 

Definition at line 109 of file cullBinAttrib.cxx.

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

Referenced by init_libpgraph().

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

Reimplemented from RenderAttrib.

Definition at line 120 of file cullBinAttrib.cxx.

References _bin_name, _draw_order, Datagram::add_int32(), Datagram::add_string(), and RenderAttrib::write_datagram().


Member Data Documentation

PUBLISHED CullBinAttrib::__pad0__ [private]
 

Reimplemented from RenderAttrib.

Definition at line 39 of file cullBinAttrib.h.

string CullBinAttrib::_bin_name [private]
 

Definition at line 52 of file cullBinAttrib.h.

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

int CullBinAttrib::_draw_order [private]
 

Definition at line 53 of file cullBinAttrib.h.

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

TypeHandle CullBinAttrib::_type_handle [static, private]
 

Reimplemented from RenderAttrib.

Definition at line 25 of file cullBinAttrib.cxx.

PUBLISHED int CullBinAttrib::draw_order [private]
 

Definition at line 39 of file cullBinAttrib.h.


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