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

CLwoPolygons Class Reference

#include <cLwoPolygons.h>

List of all members.

Public Types

typedef pmap< IffId, const
LwoPolygonTags * > 
PTags
typedef pmap< string, const
LwoDiscontinuousVertexMap * > 
VMad

Public Member Functions

INLINE CLwoPolygons (LwoToEggConverter *converter, const LwoPolygons *polygons, CLwoPoints *points)
void add_ptags (const LwoPolygonTags *lwo_ptags, const LwoTags *tags)
void add_vmad (const LwoDiscontinuousVertexMap *lwo_vmad)
CLwoSurfaceget_surface (int polygon_index) const
bool get_uv (const string &uv_name, int pi, int vi, LPoint2f &uv) const
void make_egg ()
void connect_egg ()
 CPT (LwoPolygons) _polygons
 PT (EggGroup) _egg_group

Public Attributes

LwoToEggConverter_converter
CLwoPoints_points
const LwoTags_tags
PTags _ptags
const LwoPolygonTags_surf_ptags
VMad _txuv

Private Member Functions

void make_faces ()


Member Typedef Documentation

typedef pmap<IffId, const LwoPolygonTags *> CLwoPolygons::PTags
 

Definition at line 64 of file cLwoPolygons.h.

typedef pmap<string, const LwoDiscontinuousVertexMap *> CLwoPolygons::VMad
 

Definition at line 71 of file cLwoPolygons.h.


Constructor & Destructor Documentation

INLINE CLwoPolygons::CLwoPolygons LwoToEggConverter converter,
const LwoPolygons polygons,
CLwoPoints points
 


Member Function Documentation

void CLwoPolygons::add_ptags const LwoPolygonTags lwo_ptags,
const LwoTags tags
 

Definition at line 42 of file cLwoPolygons.cxx.

References _ptags, _surf_ptags, LwoPolygonTags::_tag_type, _tags, nout, NULL, and type.

Referenced by LwoToEggConverter::collect_lwo().

void CLwoPolygons::add_vmad const LwoDiscontinuousVertexMap lwo_vmad  ) 
 

Definition at line 71 of file cLwoPolygons.cxx.

References LwoDiscontinuousVertexMap::_map_type, LwoDiscontinuousVertexMap::_name, _txuv, and nout.

Referenced by LwoToEggConverter::collect_lwo().

void CLwoPolygons::connect_egg  ) 
 

Definition at line 207 of file cLwoPolygons.cxx.

References CLwoPoints::_layer, _points, nassertv, and NULL.

Referenced by LwoToEggConverter::connect_egg().

CLwoPolygons::CPT LwoPolygons   ) 
 

CLwoSurface * CLwoPolygons::get_surface int  polygon_index  )  const
 

Definition at line 97 of file cLwoPolygons.cxx.

References _converter, _surf_ptags, _tags, LwoTags::get_num_tags(), LwoToEggConverter::get_surface(), LwoTags::get_tag(), LwoPolygonTags::get_tag(), LwoPolygonTags::has_tag(), nout, and NULL.

Referenced by make_faces().

bool CLwoPolygons::get_uv const string &  uv_name,
int  pi,
int  vi,
LPoint2f &  uv
const
 

Definition at line 144 of file cLwoPolygons.cxx.

References LwoDiscontinuousVertexMap::_dimension, _txuv, LwoDiscontinuousVertexMap::get_value(), LwoDiscontinuousVertexMap::has_value(), nout, and PTA_float.

Referenced by make_faces().

void CLwoPolygons::make_egg  ) 
 

Definition at line 174 of file cLwoPolygons.cxx.

References make_faces(), and nout.

Referenced by LwoToEggConverter::make_egg().

void CLwoPolygons::make_faces  )  [private]
 

Definition at line 220 of file cLwoPolygons.cxx.

References _converter, _points, LwoPolygons::Polygon::_vertices, CLwoSurface::apply_properties(), CoordinateSystem, EggVertexPool::create_unique_vertex(), cs, EggData::get_coordinate_system(), SomethingToEggConverter::get_egg_data(), get_surface(), CLwoPoints::get_uv(), get_uv(), CLwoSurface::get_uv_name(), CLwoSurface::has_named_uvs(), LCAST, nout, NULL, points, PT(), and rad_2_deg().

Referenced by make_egg().

CLwoPolygons::PT EggGroup   ) 
 

Referenced by make_faces().


Member Data Documentation

LwoToEggConverter* CLwoPolygons::_converter
 

Definition at line 58 of file cLwoPolygons.h.

Referenced by get_surface(), and make_faces().

CLwoPoints* CLwoPolygons::_points
 

Definition at line 60 of file cLwoPolygons.h.

Referenced by connect_egg(), and make_faces().

PTags CLwoPolygons::_ptags
 

Definition at line 65 of file cLwoPolygons.h.

Referenced by add_ptags().

const LwoPolygonTags* CLwoPolygons::_surf_ptags
 

Definition at line 67 of file cLwoPolygons.h.

Referenced by add_ptags(), and get_surface().

const LwoTags* CLwoPolygons::_tags
 

Definition at line 63 of file cLwoPolygons.h.

Referenced by add_ptags(), and get_surface().

VMad CLwoPolygons::_txuv
 

Definition at line 72 of file cLwoPolygons.h.

Referenced by add_vmad(), and get_uv().


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