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

LwoLayer Class Reference

#include <lwoLayer.h>

Inheritance diagram for LwoLayer:

LwoChunk IffChunk TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Types

enum  Flags { F_hidden = 0x0001 }

Public Member Functions

void make_generic ()
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

int _number
int _flags
LPoint3f _pivot
string _name
int _parent

Static Private Attributes

TypeHandle _type_handle

Member Enumeration Documentation

enum LwoLayer::Flags
 

Enumeration values:
F_hidden 

Definition at line 40 of file lwoLayer.h.


Member Function Documentation

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

Reimplemented from LwoChunk.

Definition at line 58 of file lwoLayer.h.

References get_class_type(), and init_type().

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

Reimplemented from LwoChunk.

Definition at line 59 of file lwoLayer.h.

References _type_handle.

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

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

Reimplemented from LwoChunk.

Definition at line 55 of file lwoLayer.h.

References get_class_type().

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

Reimplemented from LwoChunk.

Definition at line 62 of file lwoLayer.h.

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

Referenced by force_init_type(), and init_liblwo().

void LwoLayer::make_generic  ) 
 

Definition at line 34 of file lwoLayer.cxx.

References _flags, _name, _number, _parent, and _pivot.

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

Implements IffChunk.

Definition at line 53 of file lwoLayer.cxx.

References _flags, _name, _number, _parent, _pivot, DCAST, IffInputFile::get_be_uint16(), IffInputFile::get_bytes_read(), IffInputFile::get_string(), and LwoInputFile::get_vec3().

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

Reimplemented from IffChunk.

Definition at line 79 of file lwoLayer.cxx.

References _flags, _name, _number, _parent, _pivot, IffChunk::get_id(), and indent().


Member Data Documentation

int LwoLayer::_flags
 

Definition at line 45 of file lwoLayer.h.

Referenced by make_generic(), read_iff(), and write().

string LwoLayer::_name
 

Definition at line 47 of file lwoLayer.h.

Referenced by make_generic(), read_iff(), and write().

int LwoLayer::_number
 

Definition at line 44 of file lwoLayer.h.

Referenced by make_generic(), read_iff(), and write().

int LwoLayer::_parent
 

Definition at line 48 of file lwoLayer.h.

Referenced by make_generic(), read_iff(), and write().

LPoint3f LwoLayer::_pivot
 

Definition at line 46 of file lwoLayer.h.

Referenced by make_generic(), read_iff(), and write().

TypeHandle LwoLayer::_type_handle [static, private]
 

Reimplemented from LwoChunk.

Definition at line 25 of file lwoLayer.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:12 2003 for Panda-Tool by doxygen1.3