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

GeomTri Class Reference

#include <geomTri.h>

Inheritance diagram for GeomTri:

Geom dDrawable ReferenceCount WritableConfigurable BoundedObject TypedWritable TypedObject List of all members.

Public Member Functions

 GeomTri ()
virtual Geommake_copy () const
virtual void print_draw_immediate () const
virtual void draw_immediate (GraphicsStateGuardianBase *gsg, GeomContext *gc)
virtual int get_num_vertices_per_prim () const
virtual int get_num_more_vertices_than_components () const
virtual bool uses_components () const
virtual int get_length (int) const
virtual PTA_ushort get_tris () const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

void register_with_read_factory (void)
TypedWritablemake_GeomTri (const FactoryParams &params)
void init_type ()

Public Attributes

PUBLISHED __pad0__: static TypeHandle get_class_type() { return _type_handle

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

GeomTri::GeomTri  )  [inline]
 

Definition at line 30 of file geomTri.h.

Referenced by make_copy().


Member Function Documentation

void GeomTri::draw_immediate GraphicsStateGuardianBase gsg,
GeomContext gc
[virtual]
 

Implements Geom.

Definition at line 186 of file geomTri.cxx.

References GraphicsStateGuardianBase::draw_tri().

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

Reimplemented from Geom.

Definition at line 68 of file geomTri.h.

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

virtual int GeomTri::get_length int   )  const [inline, virtual]
 

Implements Geom.

Definition at line 45 of file geomTri.h.

virtual int GeomTri::get_num_more_vertices_than_components  )  const [inline, virtual]
 

Implements Geom.

Definition at line 38 of file geomTri.h.

virtual int GeomTri::get_num_vertices_per_prim  )  const [inline, virtual]
 

Implements Geom.

Definition at line 35 of file geomTri.h.

PTA_ushort GeomTri::get_tris  )  const [virtual]
 

Reimplemented from Geom.

Definition at line 206 of file geomTri.cxx.

References Geom::_numprims, Geom::_vindex, PointerToArray< unsigned short >::empty(), PTA_ushort, PointerToArray< unsigned short >::push_back(), and PointerToArray< unsigned short >::reserve().

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

Reimplemented from Geom.

Definition at line 65 of file geomTri.h.

References Geom::get_class_type().

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

Reimplemented from Geom.

Definition at line 60 of file geomTri.h.

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

Referenced by ConfigureFn().

Geom * GeomTri::make_copy  )  const [virtual]
 

Implements Geom.

Definition at line 41 of file geomTri.cxx.

References GeomTri().

TypedWritable * GeomTri::make_GeomTri const FactoryParams params  )  [static]
 

Definition at line 235 of file geomTri.cxx.

References Geom::config(), Geom::fillin(), WritableConfigurable::make_dirty(), params, and parse_params().

Referenced by register_with_read_factory().

void GeomTri::print_draw_immediate  )  const [virtual]
 

Implements Geom.

Definition at line 51 of file geomTri.cxx.

void GeomTri::register_with_read_factory void   )  [static]
 

Definition at line 253 of file geomTri.cxx.

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

Referenced by ConfigureFn().

virtual bool GeomTri::uses_components  )  const [inline, virtual]
 

Implements Geom.

Definition at line 41 of file geomTri.h.


Member Data Documentation

PUBLISHED GeomTri::__pad0__
 

Reimplemented from Geom.

Definition at line 57 of file geomTri.h.

TypeHandle GeomTri::_type_handle [static, private]
 

Reimplemented from Geom.

Definition at line 30 of file geomTri.cxx.


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