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

TexMatrixAttrib Class Reference

#include <texMatrixAttrib.h>

Inheritance diagram for TexMatrixAttrib:

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

Static Protected Member Functions

TypedWritable * make_from_bam (const FactoryParams &params)

Private Member Functions

INLINE TexMatrixAttrib (const LMatrix4f &mat)
INLINE const LMatrix4f & get_mat () const

Private Attributes

PUBLISHED __pad0__: static CPT(RenderAttrib) make(const LMatrix4f &mat)
LMatrix4f _mat

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE TexMatrixAttrib::TexMatrixAttrib (  const LMatrix4f &  mat  )  [private]
 

Referenced by make_default_impl(), and make_from_bam().


Member Function Documentation

int TexMatrixAttrib::compare_to_impl (  const RenderAttrib *  other  )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 81 of file texMatrixAttrib.cxx.

References _mat, and DCAST_INTO_R.

virtual TexMatrixAttrib::CPT (  RenderAttrib   )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

virtual TexMatrixAttrib::CPT (  RenderAttrib   )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

void TexMatrixAttrib::fillin (  DatagramIterator &  scan,
BamReader *  manager
)  [protected]
 

Reimplemented from RenderAttrib.

Definition at line 203 of file texMatrixAttrib.cxx.

References _mat, and RenderAttrib::fillin().

Referenced by make_from_bam().

virtual TypeHandle TexMatrixAttrib::force_init_type (  void   )  [inline, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 74 of file texMatrixAttrib.h.

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

TypeHandle TexMatrixAttrib::get_class_type (  void   )  [inline, static]
 

Reimplemented from RenderAttrib.

Definition at line 63 of file texMatrixAttrib.h.

Referenced by AccumulatedAttribs::apply_to_node(), AccumulatedAttribs::collect(), and register_with_read_factory().

INLINE const LMatrix4f& TexMatrixAttrib::get_mat (   )  const [private]
 

Referenced by GeomNode::apply_attribs_to_vertices(), GLGraphicsStateGuardian::issue_tex_matrix(), CRGraphicsStateGuardian::issue_tex_matrix(), and output().

virtual TypeHandle TexMatrixAttrib::get_type (  void   )  const [inline, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 71 of file texMatrixAttrib.h.

References RenderAttrib::get_class_type().

Referenced by output().

void TexMatrixAttrib::init_type (  void   )  [inline, static]
 

Reimplemented from RenderAttrib.

Definition at line 66 of file texMatrixAttrib.h.

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

Referenced by init_libpgraph().

void TexMatrixAttrib::issue (  GraphicsStateGuardianBase *  gsg  )  const [virtual]
 

Reimplemented from RenderAttrib.

Definition at line 51 of file texMatrixAttrib.cxx.

References GraphicsStateGuardianBase::issue_tex_matrix().

RenderAttrib * TexMatrixAttrib::make_default_impl (   )  const [protected, virtual]
 

Implements RenderAttrib.

Definition at line 147 of file texMatrixAttrib.cxx.

References TexMatrixAttrib().

TypedWritable * TexMatrixAttrib::make_from_bam (  const FactoryParams &  params  )  [static, protected]
 

Definition at line 184 of file texMatrixAttrib.cxx.

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

Referenced by register_with_read_factory().

void TexMatrixAttrib::output (  ostream &  out  )  const [virtual]
 

Definition at line 61 of file texMatrixAttrib.cxx.

References get_mat(), and get_type().

void TexMatrixAttrib::register_with_read_factory (   )  [static]
 

Definition at line 158 of file texMatrixAttrib.cxx.

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

Referenced by init_libpgraph().

void TexMatrixAttrib::write_datagram (  BamWriter *  manager,
Datagram &  dg
)  [virtual]
 

Reimplemented from RenderAttrib.

Definition at line 169 of file texMatrixAttrib.cxx.

References _mat, and RenderAttrib::write_datagram().


Member Data Documentation

PUBLISHED TexMatrixAttrib::__pad0__ [private]
 

Reimplemented from RenderAttrib.

Definition at line 37 of file texMatrixAttrib.h.

LMatrix4f TexMatrixAttrib::_mat [private]
 

Definition at line 52 of file texMatrixAttrib.h.

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

TypeHandle TexMatrixAttrib::_type_handle [static, private]
 

Reimplemented from RenderAttrib.

Definition at line 27 of file texMatrixAttrib.cxx.


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