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

GeomPoint Class Reference

#include <geomPoint.h>

Inheritance diagram for GeomPoint:

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

Public Member Functions

 GeomPoint ()
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 Geomexplode () const
INLINE void set_size (float size)
INLINE float get_size (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_GeomPoint (const FactoryParams &params)
void init_type ()

Protected Member Functions

void fillin (DatagramIterator &scan, BamReader *manager)

Protected Attributes

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

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

GeomPoint::GeomPoint  )  [inline]
 

Definition at line 30 of file geomPoint.h.

Referenced by make_copy().


Member Function Documentation

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

Implements Geom.

Definition at line 60 of file geomPoint.cxx.

References GraphicsStateGuardianBase::draw_point().

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

Reimplemented from Geom.

Definition at line 50 of file geomPoint.h.

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

Reimplemented from Geom.

Definition at line 106 of file geomPoint.cxx.

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

Referenced by make_GeomPoint().

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

Reimplemented from Geom.

Definition at line 82 of file geomPoint.h.

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

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

Implements Geom.

Definition at line 46 of file geomPoint.h.

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

Implements Geom.

Definition at line 39 of file geomPoint.h.

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

Implements Geom.

Definition at line 36 of file geomPoint.h.

INLINE float GeomPoint::get_size void   )  const [inline]
 

Definition at line 55 of file geomPoint.h.

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

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

Reimplemented from Geom.

Definition at line 79 of file geomPoint.h.

References Geom::get_class_type().

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

Reimplemented from Geom.

Definition at line 74 of file geomPoint.h.

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

Referenced by ConfigureFn().

Geom * GeomPoint::make_copy  )  const [virtual]
 

Implements Geom.

Definition at line 41 of file geomPoint.cxx.

References GeomPoint().

TypedWritable * GeomPoint::make_GeomPoint const FactoryParams params  )  [static]
 

Definition at line 85 of file geomPoint.cxx.

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

Referenced by register_with_read_factory().

void GeomPoint::print_draw_immediate  )  const [virtual]
 

Implements Geom.

Definition at line 51 of file geomPoint.cxx.

void GeomPoint::register_with_read_factory void   )  [static]
 

Definition at line 117 of file geomPoint.cxx.

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

Referenced by ConfigureFn().

INLINE void GeomPoint::set_size float  size  )  [inline]
 

Definition at line 54 of file geomPoint.h.

Referenced by LineSegs::create().

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

Implements Geom.

Definition at line 42 of file geomPoint.h.

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

Reimplemented from Geom.

Definition at line 71 of file geomPoint.cxx.

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


Member Data Documentation

PUBLISHED GeomPoint::__pad0__ [protected]
 

Reimplemented from Geom.

Definition at line 71 of file geomPoint.h.

float GeomPoint::_size [protected]
 

Definition at line 58 of file geomPoint.h.

Referenced by fillin(), and write_datagram().

TypeHandle GeomPoint::_type_handle [static, private]
 

Reimplemented from Geom.

Definition at line 30 of file geomPoint.cxx.


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