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

GeomLine Class Reference

#include <geomLine.h>

Inheritance diagram for GeomLine:

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

Public Member Functions

 GeomLine (void)
virtual Geommake_copy () const
virtual void print_draw_immediate (void) 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 Geomexplode () const
INLINE void set_width (float width)
INLINE float get_width (void) const
virtual void write_datagram (BamWriter *manager, Datagram &me)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

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

Protected Member Functions

void fillin (DatagramIterator &scan, BamReader *manager)

Protected Attributes

float _width
PUBLISHED __pad0__: static TypeHandle get_class_type() { return _type_handle

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

GeomLine::GeomLine void   )  [inline]
 

Definition at line 31 of file geomLine.h.

Referenced by make_copy().


Member Function Documentation

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

Implements Geom.

Definition at line 51 of file geomLine.cxx.

References GraphicsStateGuardianBase::draw_line().

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

Reimplemented from Geom.

Definition at line 50 of file geomLine.h.

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

Reimplemented from Geom.

Definition at line 98 of file geomLine.cxx.

References _width, Geom::fillin(), and DatagramIterator::get_float32().

Referenced by make_GeomLine().

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

Reimplemented from Geom.

Definition at line 82 of file geomLine.h.

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

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

Implements Geom.

Definition at line 46 of file geomLine.h.

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

Implements Geom.

Definition at line 39 of file geomLine.h.

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

Implements Geom.

Definition at line 36 of file geomLine.h.

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

Reimplemented from Geom.

Definition at line 79 of file geomLine.h.

References Geom::get_class_type().

INLINE float GeomLine::get_width void   )  const [inline]
 

Definition at line 55 of file geomLine.h.

Referenced by GLGraphicsStateGuardian::draw_line(), DXGraphicsStateGuardian8::draw_line(), DXGraphicsStateGuardian7::draw_line(), and CRGraphicsStateGuardian::draw_line().

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

Reimplemented from Geom.

Definition at line 74 of file geomLine.h.

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

Referenced by ConfigureFn().

Geom * GeomLine::make_copy  )  const [virtual]
 

Implements Geom.

Definition at line 41 of file geomLine.cxx.

References GeomLine().

TypedWritable * GeomLine::make_GeomLine const FactoryParams params  )  [static]
 

Definition at line 77 of file geomLine.cxx.

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

Referenced by register_with_read_factory().

virtual void GeomLine::print_draw_immediate void   )  const [inline, virtual]
 

Implements Geom.

Definition at line 33 of file geomLine.h.

void GeomLine::register_with_read_factory void   )  [static]
 

Definition at line 109 of file geomLine.cxx.

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

Referenced by ConfigureFn().

INLINE void GeomLine::set_width float  width  )  [inline]
 

Definition at line 54 of file geomLine.h.

References width.

Referenced by LineSegs::create().

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

Implements Geom.

Definition at line 42 of file geomLine.h.

void GeomLine::write_datagram BamWriter manager,
Datagram me
[virtual]
 

Reimplemented from Geom.

Definition at line 62 of file geomLine.cxx.

References _width, Datagram::add_float32(), and Geom::write_datagram().


Member Data Documentation

PUBLISHED GeomLine::__pad0__ [protected]
 

Reimplemented from Geom.

Definition at line 71 of file geomLine.h.

TypeHandle GeomLine::_type_handle [static, private]
 

Reimplemented from Geom.

Definition at line 30 of file geomLine.cxx.

float GeomLine::_width [protected]
 

Definition at line 58 of file geomLine.h.

Referenced by fillin(), and write_datagram().


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