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

LwoVertexMap Class Reference

#include <lwoVertexMap.h>

Inheritance diagram for LwoVertexMap:

LwoChunk IffChunk TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

bool has_value (int index) const
PTA_float get_value (int index) 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 _map_type
int _dimension
string _name

Private Types

typedef pmap< int, PTA_floatVMap

Private Attributes

VMap _vmap

Static Private Attributes

TypeHandle _type_handle

Member Typedef Documentation

typedef pmap<int, PTA_float> LwoVertexMap::VMap [private]
 

Definition at line 48 of file lwoVertexMap.h.


Member Function Documentation

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

Reimplemented from LwoChunk.

Definition at line 55 of file lwoVertexMap.h.

References get_class_type(), and init_type().

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

Reimplemented from LwoChunk.

Definition at line 56 of file lwoVertexMap.h.

References _type_handle.

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

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

Reimplemented from LwoChunk.

Definition at line 52 of file lwoVertexMap.h.

References get_class_type().

PTA_float LwoVertexMap::get_value int  index  )  const
 

Definition at line 47 of file lwoVertexMap.cxx.

References _vmap, index, and PTA_float.

Referenced by CLwoPoints::get_uv().

bool LwoVertexMap::has_value int  index  )  const
 

Definition at line 35 of file lwoVertexMap.cxx.

References _vmap, and index.

Referenced by CLwoPoints::get_uv().

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

Reimplemented from LwoChunk.

Definition at line 59 of file lwoVertexMap.h.

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

Referenced by force_init_type(), and init_liblwo().

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

Implements IffChunk.

Definition at line 68 of file lwoVertexMap.cxx.

References _dimension, _map_type, _name, _vmap, DCAST, IffInputFile::get_be_float32(), IffInputFile::get_be_uint16(), IffInputFile::get_bytes_read(), IffInputFile::get_id(), IffInputFile::get_string(), LwoInputFile::get_vx(), index, IffInputFile::is_eof(), nout, and PTA_float.

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

Reimplemented from IffChunk.

Definition at line 98 of file lwoVertexMap.cxx.

References _dimension, _map_type, _name, _vmap, IffChunk::get_id(), and indent().


Member Data Documentation

int LwoVertexMap::_dimension
 

Definition at line 40 of file lwoVertexMap.h.

Referenced by CLwoPoints::get_uv(), read_iff(), and write().

IffId LwoVertexMap::_map_type
 

Definition at line 39 of file lwoVertexMap.h.

Referenced by CLwoPoints::add_vmap(), read_iff(), and write().

string LwoVertexMap::_name
 

Definition at line 41 of file lwoVertexMap.h.

Referenced by CLwoPoints::add_vmap(), read_iff(), and write().

TypeHandle LwoVertexMap::_type_handle [static, private]
 

Reimplemented from LwoChunk.

Definition at line 25 of file lwoVertexMap.cxx.

Referenced by get_class_type(), and init_type().

VMap LwoVertexMap::_vmap [private]
 

Definition at line 49 of file lwoVertexMap.h.

Referenced by get_value(), has_value(), read_iff(), and write().


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