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

GeomPolygon Class Reference

#include <geomPolygon.h>

Inheritance diagram for GeomPolygon:

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

Public Member Functions

 GeomPolygon ()
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 prim) const
virtual Geomexplode () const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

void register_with_read_factory (void)
TypedWritablemake_GeomPolygon (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

GeomPolygon::GeomPolygon  )  [inline]
 

Definition at line 30 of file geomPolygon.h.

Referenced by make_copy().


Member Function Documentation

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

Implements Geom.

Definition at line 60 of file geomPolygon.cxx.

References GraphicsStateGuardianBase::draw_polygon().

virtual Geom* GeomPolygon::explode  )  const [inline, virtual]
 

Reimplemented from Geom.

Definition at line 49 of file geomPolygon.h.

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

Reimplemented from Geom.

Definition at line 70 of file geomPolygon.h.

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

virtual int GeomPolygon::get_length int  prim  )  const [inline, virtual]
 

Implements Geom.

Definition at line 45 of file geomPolygon.h.

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

Implements Geom.

Definition at line 38 of file geomPolygon.h.

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

Implements Geom.

Definition at line 35 of file geomPolygon.h.

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

Reimplemented from Geom.

Definition at line 67 of file geomPolygon.h.

References Geom::get_class_type().

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

Reimplemented from Geom.

Definition at line 62 of file geomPolygon.h.

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

Referenced by ConfigureFn().

Geom * GeomPolygon::make_copy  )  const [virtual]
 

Implements Geom.

Definition at line 41 of file geomPolygon.cxx.

References GeomPolygon().

TypedWritable * GeomPolygon::make_GeomPolygon const FactoryParams params  )  [static]
 

Definition at line 70 of file geomPolygon.cxx.

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

Referenced by register_with_read_factory().

void GeomPolygon::print_draw_immediate  )  const [virtual]
 

Implements Geom.

Definition at line 51 of file geomPolygon.cxx.

void GeomPolygon::register_with_read_factory void   )  [static]
 

Definition at line 88 of file geomPolygon.cxx.

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

Referenced by ConfigureFn().

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

Implements Geom.

Definition at line 41 of file geomPolygon.h.


Member Data Documentation

PUBLISHED GeomPolygon::__pad0__
 

Reimplemented from Geom.

Definition at line 59 of file geomPolygon.h.

TypeHandle GeomPolygon::_type_handle [static, private]
 

Reimplemented from Geom.

Definition at line 30 of file geomPolygon.cxx.


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