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

FltLocalVertexPool Class Reference

#include <fltLocalVertexPool.h>

Inheritance diagram for FltLocalVertexPool:

FltRecord TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Types

typedef pvector< PT(FltVertexVertices )
enum  AttributeMask {
  AM_has_position = 0x80000000, AM_has_color_index = 0x40000000, AM_has_packed_color = 0x20000000, AM_has_normal = 0x10000000,
  AM_has_base_uv = 0x08000000, AM_has_uv_1 = 0x04000000, AM_has_uv_2 = 0x02000000, AM_has_uv_3 = 0x01000000,
  AM_has_uv_4 = 0x00800000, AM_has_uv_5 = 0x00400000, AM_has_uv_6 = 0x00200000, AM_has_uv_7 = 0x00100000
}

Public Member Functions

 FltLocalVertexPool (FltHeader *header)
virtual bool extract_record (FltRecordReader &reader)
virtual bool build_record (FltRecordWriter &writer) const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Public Attributes

Vertices _vertices

Static Private Attributes

TypeHandle _type_handle

Member Typedef Documentation

typedef pvector<PT(FltVertex) FltLocalVertexPool::Vertices)
 

Definition at line 56 of file fltLocalVertexPool.h.


Member Enumeration Documentation

enum FltLocalVertexPool::AttributeMask
 

Enumeration values:
AM_has_position 
AM_has_color_index 
AM_has_packed_color 
AM_has_normal 
AM_has_base_uv 
AM_has_uv_1 
AM_has_uv_2 
AM_has_uv_3 
AM_has_uv_4 
AM_has_uv_5 
AM_has_uv_6 
AM_has_uv_7 

Definition at line 41 of file fltLocalVertexPool.h.


Constructor & Destructor Documentation

FltLocalVertexPool::FltLocalVertexPool FltHeader header  ) 
 

Definition at line 33 of file fltLocalVertexPool.cxx.


Member Function Documentation

bool FltLocalVertexPool::build_record FltRecordWriter writer  )  const [virtual]
 

Reimplemented from FltRecord.

Definition at line 141 of file fltLocalVertexPool.cxx.

References FltVertex::_color_index, FltVertex::_flags, FltVertex::_has_normal, FltVertex::_has_uv, FltRecord::_header, FltVertex::_normal, FltVertex::_pos, FltVertex::_uv, _vertices, Datagram::add_be_float32(), Datagram::add_be_float64(), Datagram::add_be_int32(), AM_has_base_uv, AM_has_color_index, AM_has_normal, AM_has_packed_color, AM_has_position, FltPackedColor::build_record(), FltRecord::build_record(), Colorf, FltVertex::F_no_color, FltVertex::F_packed_color, FO_local_vertex_pool, FltHeader::get_closest_rgb(), FltVertex::get_color(), FltVertex::has_color(), RGBColorf, FltPackedColor::set_color(), and writer().

bool FltLocalVertexPool::extract_record FltRecordReader reader  )  [virtual]
 

Reimplemented from FltRecord.

Definition at line 45 of file fltLocalVertexPool.cxx.

References FltVertex::_color_index, FltVertex::_flags, FltVertex::_has_normal, FltVertex::_has_uv, FltRecord::_header, FltVertex::_normal, FltVertex::_packed_color, FltVertex::_pos, FltVertex::_uv, _vertices, AM_has_base_uv, AM_has_color_index, AM_has_normal, AM_has_packed_color, AM_has_position, AM_has_uv_1, AM_has_uv_2, AM_has_uv_3, AM_has_uv_4, AM_has_uv_5, AM_has_uv_6, AM_has_uv_7, FltRecord::check_remaining_size(), FltPackedColor::extract_record(), FltRecord::extract_record(), FltVertex::F_no_color, FltVertex::F_packed_color, FO_local_vertex_pool, DatagramIterator::get_be_float32(), DatagramIterator::get_be_float64(), DatagramIterator::get_be_int32(), nassertr, and reader().

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

Reimplemented from FltRecord.

Definition at line 67 of file fltLocalVertexPool.h.

References get_class_type(), and init_type().

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

Reimplemented from FltRecord.

Definition at line 68 of file fltLocalVertexPool.h.

References _type_handle.

Referenced by force_init_type(), and get_type().

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

Reimplemented from FltRecord.

Definition at line 64 of file fltLocalVertexPool.h.

References get_class_type().

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

Reimplemented from FltRecord.

Definition at line 71 of file fltLocalVertexPool.h.

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

Referenced by force_init_type(), and init_libflt().


Member Data Documentation

TypeHandle FltLocalVertexPool::_type_handle [static, private]
 

Reimplemented from FltRecord.

Definition at line 25 of file fltLocalVertexPool.cxx.

Referenced by get_class_type(), and init_type().

Vertices FltLocalVertexPool::_vertices
 

Definition at line 57 of file fltLocalVertexPool.h.

Referenced by build_record(), and extract_record().


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