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

LwoPoints Class Reference

#include <lwoPoints.h>

Inheritance diagram for LwoPoints:

LwoChunk IffChunk TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

int get_num_points () const
const LPoint3f & get_point (int n) const
virtual bool read_iff (IffInputFile *in, size_t stop_at)
virtual void write (ostream &out, int indent_level=0) const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Private Types

typedef pvector< LPoint3f > Points

Private Attributes

Points _points

Static Private Attributes

TypeHandle _type_handle

Member Typedef Documentation

typedef pvector<LPoint3f> LwoPoints::Points [private]
 

Definition at line 43 of file lwoPoints.h.


Member Function Documentation

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

Reimplemented from LwoChunk.

Definition at line 50 of file lwoPoints.h.

References get_class_type(), and init_type().

TypeHandle LwoPoints::get_class_type void   )  [inline, static]
 

Reimplemented from LwoChunk.

Definition at line 51 of file lwoPoints.h.

References _type_handle.

Referenced by LwoToEggConverter::collect_lwo(), force_init_type(), and get_type().

int LwoPoints::get_num_points  )  const
 

Definition at line 33 of file lwoPoints.cxx.

References _points.

const LPoint3f & LwoPoints::get_point int  n  )  const
 

Definition at line 43 of file lwoPoints.cxx.

References _points, n, nassertr, and zero.

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

Reimplemented from LwoChunk.

Definition at line 47 of file lwoPoints.h.

References get_class_type().

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

Reimplemented from LwoChunk.

Definition at line 54 of file lwoPoints.h.

References _type_handle, LwoChunk::get_class_type(), LwoChunk::init_type(), and register_type().

Referenced by force_init_type(), and init_liblwo().

bool LwoPoints::read_iff IffInputFile in,
size_t  stop_at
[virtual]
 

Implements IffChunk.

Definition at line 59 of file lwoPoints.cxx.

References _points, DCAST, IffInputFile::get_bytes_read(), LwoInputFile::get_vec3(), and IffInputFile::is_eof().

void LwoPoints::write ostream &  out,
int  indent_level = 0
const [virtual]
 

Reimplemented from IffChunk.

Definition at line 76 of file lwoPoints.cxx.

References _points, IffChunk::get_id(), and indent().


Member Data Documentation

Points LwoPoints::_points [private]
 

Definition at line 44 of file lwoPoints.h.

Referenced by get_num_points(), get_point(), read_iff(), and write().

TypeHandle LwoPoints::_type_handle [static, private]
 

Reimplemented from LwoChunk.

Definition at line 25 of file lwoPoints.cxx.

Referenced by get_class_type(), and init_type().


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