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

CLwoPoints Class Reference

This class is a wrapper around LwoPoints and stores additional information useful during the conversion-to-egg process. More...

#include <cLwoPoints.h>

List of all members.

Public Types

typedef pmap< string, const
LwoVertexMap * > 
VMap

Public Member Functions

 CLwoPoints (LwoToEggConverter *converter, const LwoPoints *points, CLwoLayer *layer)
void add_vmap (const LwoVertexMap *lwo_vmap)
 Associates the indicated VertexMap with the points set.

bool get_uv (const string &uv_name, int n, LPoint2f &uv) const
 Returns true if there is a UV of the indicated name associated with the given vertex, false otherwise.

void make_egg ()
 Creates the egg structures associated with this Lightwave object.

void connect_egg ()
 Connects all the egg structures together.


Public Attributes

LwoToEggConverter_converter
ConstPointerTo< LwoPoints_points
CLwoLayer_layer
PointerTo< EggVertexPool_egg_vpool
VMap _txuv
VMap _pick


Detailed Description

This class is a wrapper around LwoPoints and stores additional information useful during the conversion-to-egg process.

Definition at line 48 of file cLwoPoints.h.


Member Typedef Documentation

typedef pmap<string, const LwoVertexMap *> CLwoPoints::VMap
 

Definition at line 66 of file cLwoPoints.h.


Constructor & Destructor Documentation

CLwoPoints::CLwoPoints LwoToEggConverter converter,
const LwoPoints points,
CLwoLayer layer
[inline]
 

Definition at line 31 of file cLwoPoints.I.


Member Function Documentation

void CLwoPoints::add_vmap const LwoVertexMap lwo_vmap  ) 
 

Associates the indicated VertexMap with the points set.

This may define such niceties as UV coordinates or per-vertex color.

Definition at line 42 of file cLwoPoints.cxx.

Referenced by LwoToEggConverter::cleanup().

void CLwoPoints::connect_egg  ) 
 

Connects all the egg structures together.

Definition at line 128 of file cLwoPoints.cxx.

bool CLwoPoints::get_uv const string &  uv_name,
int  n,
LPoint2f &  uv
const
 

Returns true if there is a UV of the indicated name associated with the given vertex, false otherwise.

If true, fills in uv with the value.

Definition at line 78 of file cLwoPoints.cxx.

Referenced by CLwoPolygons::make_faces().

void CLwoPoints::make_egg  ) 
 

Creates the egg structures associated with this Lightwave object.

Definition at line 112 of file cLwoPoints.cxx.


Member Data Documentation

LwoToEggConverter* CLwoPoints::_converter
 

Definition at line 59 of file cLwoPoints.h.

PointerTo< EggVertexPool > CLwoPoints::_egg_vpool
 

Definition at line 62 of file cLwoPoints.h.

CLwoLayer* CLwoPoints::_layer
 

Definition at line 61 of file cLwoPoints.h.

VMap CLwoPoints::_pick
 

Definition at line 68 of file cLwoPoints.h.

ConstPointerTo< LwoPoints > CLwoPoints::_points
 

Definition at line 60 of file cLwoPoints.h.

VMap CLwoPoints::_txuv
 

Definition at line 67 of file cLwoPoints.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 03:25:59 2003 for Panda-Tool by doxygen1.3