15 #ifndef CLWOPOLYGONS_H
16 #define CLWOPOLYGONS_H
18 #include "pandatoolbase.h"
20 #include "lwoPolygons.h"
22 #include "pointerTo.h"
49 bool get_uv(
const string &uv_name,
int pi,
int vi,
LPoint2 &uv)
const;
74 #include "cLwoPolygons.I"
void add_vmad(const LwoDiscontinuousVertexMap *lwo_vmad)
Associates the indicated DiscontinousVertexMap with the polygons.
void add_ptags(const LwoPolygonTags *lwo_ptags, const LwoTags *tags)
Associates the indicated PolygonTags and Tags with the polygons in this chunk.
bool get_uv(const string &uv_name, int pi, int vi, LPoint2 &uv) const
Returns true if there is a UV of the indicated name associated with the given vertex of the indicated...
This class is a wrapper around LwoPolygons and stores additional information useful during the conver...
CLwoSurface * get_surface(int polygon_index) const
Returns the surface associated with the given polygon, or NULL if no surface is associated.
void make_egg()
Creates the egg structures associated with this Lightwave object.
The main glue of the egg hierarchy, this corresponds to the <Group>, <Instance>, and <Joint> type nod...
This class is a wrapper around LwoSurface and stores additional information useful during the convers...
This class supervises the construction of an EggData structure from the data represented by the LwoHe...
This class is a wrapper around LwoPoints and stores additional information useful during the conversi...
This is a two-component point in space.
An array of polygons that will be referenced by later chunks.
void connect_egg()
Connects all the egg structures together.
A mapping of floating-point values per integer index.