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

LwoDiscontinuousVertexMap Class Reference

#include <lwoDiscontinuousVertexMap.h>

Inheritance diagram for LwoDiscontinuousVertexMap:

LwoChunk IffChunk TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

bool has_value (int polygon_index, int vertex_index) const
PTA_float get_value (int polygon_index, int vertex_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
typedef pmap< int, VMapVMad

Private Attributes

VMad _vmad

Static Private Attributes

TypeHandle _type_handle

Member Typedef Documentation

typedef pmap<int, VMap> LwoDiscontinuousVertexMap::VMad [private]
 

Definition at line 49 of file lwoDiscontinuousVertexMap.h.

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

Definition at line 48 of file lwoDiscontinuousVertexMap.h.


Member Function Documentation

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

Reimplemented from LwoChunk.

Definition at line 56 of file lwoDiscontinuousVertexMap.h.

References get_class_type(), and init_type().

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

Reimplemented from LwoChunk.

Definition at line 57 of file lwoDiscontinuousVertexMap.h.

References _type_handle.

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

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

Reimplemented from LwoChunk.

Definition at line 53 of file lwoDiscontinuousVertexMap.h.

References get_class_type().

PTA_float LwoDiscontinuousVertexMap::get_value int  polygon_index,
int  vertex_index
const
 

Definition at line 56 of file lwoDiscontinuousVertexMap.cxx.

References _vmad, and PTA_float.

Referenced by CLwoPolygons::get_uv().

bool LwoDiscontinuousVertexMap::has_value int  polygon_index,
int  vertex_index
const
 

Definition at line 37 of file lwoDiscontinuousVertexMap.cxx.

References _vmad.

Referenced by CLwoPolygons::get_uv().

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

Reimplemented from LwoChunk.

Definition at line 60 of file lwoDiscontinuousVertexMap.h.

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

Referenced by force_init_type(), and init_liblwo().

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

Implements IffChunk.

Definition at line 82 of file lwoDiscontinuousVertexMap.cxx.

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

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

Reimplemented from IffChunk.

Definition at line 134 of file lwoDiscontinuousVertexMap.cxx.

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


Member Data Documentation

int LwoDiscontinuousVertexMap::_dimension
 

Definition at line 40 of file lwoDiscontinuousVertexMap.h.

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

IffId LwoDiscontinuousVertexMap::_map_type
 

Definition at line 39 of file lwoDiscontinuousVertexMap.h.

Referenced by CLwoPolygons::add_vmad(), read_iff(), and write().

string LwoDiscontinuousVertexMap::_name
 

Definition at line 41 of file lwoDiscontinuousVertexMap.h.

Referenced by CLwoPolygons::add_vmad(), read_iff(), and write().

TypeHandle LwoDiscontinuousVertexMap::_type_handle [static, private]
 

Reimplemented from LwoChunk.

Definition at line 27 of file lwoDiscontinuousVertexMap.cxx.

Referenced by get_class_type(), and init_type().

VMad LwoDiscontinuousVertexMap::_vmad [private]
 

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