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

FogAttrib Class Reference

#include <fogAttrib.h>

Inheritance diagram for FogAttrib:

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 int complete_pointers (TypedWritable **plist, BamReader *manager)
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 FogAttrib ()
INLINE bool is_off () const
INLINE Fogget_fog () const
 PT (Fog) _fog

Static Private Member Functions

 CPT (RenderAttrib) make_off()

Private Attributes

PUBLISHED __pad0__: static CPT(RenderAttrib) make(Fog *fog)

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE FogAttrib::FogAttrib  )  [private]
 


Member Function Documentation

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

Reimplemented from RenderAttrib.

Definition at line 98 of file fogAttrib.cxx.

References DCAST_INTO_R.

int FogAttrib::complete_pointers TypedWritable **  plist,
BamReader manager
[virtual]
 

Reimplemented from TypedWritable.

Definition at line 159 of file fogAttrib.cxx.

References TypedWritable::complete_pointers(), DCAST, and NULL.

FogAttrib::CPT RenderAttrib   )  [static, private]
 

Reimplemented from RenderAttrib.

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

Reimplemented from RenderAttrib.

Definition at line 198 of file fogAttrib.cxx.

References RenderAttrib::fillin(), and BamReader::read_pointer().

Referenced by make_from_bam().

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

Reimplemented from RenderAttrib.

Definition at line 74 of file fogAttrib.h.

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

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

Reimplemented from RenderAttrib.

Definition at line 63 of file fogAttrib.h.

Referenced by NodePath::clear_fog(), RenderState::determine_fog(), NodePath::get_fog(), NodePath::has_fog(), NodePath::has_fog_off(), and register_with_read_factory().

INLINE Fog* FogAttrib::get_fog  )  const [private]
 

Referenced by NodePath::get_fog(), GLGraphicsStateGuardian::issue_fog(), DXGraphicsStateGuardian8::issue_fog(), CRGraphicsStateGuardian::issue_fog(), DXGraphicsStateGuardian7::prepare_texture(), and CullTraverser::traverse().

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

Reimplemented from RenderAttrib.

Definition at line 71 of file fogAttrib.h.

References RenderAttrib::get_class_type().

Referenced by output().

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

Reimplemented from RenderAttrib.

Definition at line 66 of file fogAttrib.h.

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

Referenced by init_libpgraph().

INLINE bool FogAttrib::is_off  )  const [private]
 

Referenced by NodePath::has_fog(), NodePath::has_fog_off(), GLGraphicsStateGuardian::issue_fog(), DXGraphicsStateGuardian8::issue_fog(), CRGraphicsStateGuardian::issue_fog(), output(), and DXGraphicsStateGuardian7::prepare_texture().

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

Reimplemented from RenderAttrib.

Definition at line 63 of file fogAttrib.cxx.

References GraphicsStateGuardianBase::issue_fog().

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

Implements RenderAttrib.

Definition at line 123 of file fogAttrib.cxx.

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

Definition at line 179 of file fogAttrib.cxx.

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

Referenced by register_with_read_factory().

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

Definition at line 73 of file fogAttrib.cxx.

References get_type(), and is_off().

FogAttrib::PT Fog   )  [private]
 

void FogAttrib::register_with_read_factory  )  [static]
 

Definition at line 134 of file fogAttrib.cxx.

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

Referenced by init_libpgraph().

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

Reimplemented from RenderAttrib.

Definition at line 145 of file fogAttrib.cxx.

References RenderAttrib::write_datagram(), and BamWriter::write_pointer().


Member Data Documentation

PUBLISHED FogAttrib::__pad0__ [private]
 

Reimplemented from RenderAttrib.

Definition at line 36 of file fogAttrib.h.

TypeHandle FogAttrib::_type_handle [static, private]
 

Reimplemented from RenderAttrib.

Definition at line 26 of file fogAttrib.cxx.


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