#include <lwoPolygons.h>
Inheritance diagram for LwoPolygons:
Public Types | |
enum | PolygonFlags { PF_continuity_1 = 0x0400, PF_continuity_2 = 0x0800, PF_numverts_mask = 0x03ff, PF_decal = 0x0001 } |
Public Member Functions | |
int | get_num_polygons () const |
Polygon * | get_polygon (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 () |
Public Attributes | |
IffId | _polygon_type |
Private Types | |
typedef pvector< PT(Polygon) | Polygons ) |
Private Attributes | |
Polygons | _polygons |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 71 of file lwoPolygons.h. |
|
Definition at line 38 of file lwoPolygons.h. |
|
Reimplemented from LwoChunk. Definition at line 78 of file lwoPolygons.h. References get_class_type(), and init_type(). |
|
Reimplemented from LwoChunk. Definition at line 79 of file lwoPolygons.h. References _type_handle. Referenced by LwoToEggConverter::collect_lwo(), force_init_type(), and get_type(). |
|
Definition at line 33 of file lwoPolygons.cxx. References _polygons. |
|
Definition at line 43 of file lwoPolygons.cxx. |
|
Reimplemented from LwoChunk. Definition at line 75 of file lwoPolygons.h. References get_class_type(). |
|
Reimplemented from LwoChunk. Definition at line 82 of file lwoPolygons.h. References _type_handle, LwoChunk::get_class_type(), LwoChunk::init_type(), and register_type(). Referenced by force_init_type(), and init_liblwo(). |
|
Implements IffChunk. Definition at line 59 of file lwoPolygons.cxx. References _polygon_type, _polygons, DCAST, IffInputFile::get_be_int16(), IffInputFile::get_be_uint16(), IffInputFile::get_bytes_read(), IffInputFile::get_id(), LwoInputFile::get_lwo_version(), LwoInputFile::get_vx(), IffInputFile::is_eof(), PF_decal, PF_numverts_mask, and PT. |
|
Reimplemented from IffChunk. Definition at line 132 of file lwoPolygons.cxx. References _polygon_type, _polygons, IffChunk::get_id(), and indent(). |
|
Definition at line 64 of file lwoPolygons.h. Referenced by read_iff(), and write(). |
|
Definition at line 72 of file lwoPolygons.h. Referenced by get_num_polygons(), get_polygon(), read_iff(), and write(). |
|
Reimplemented from LwoChunk. Definition at line 25 of file lwoPolygons.cxx. Referenced by get_class_type(), and init_type(). |