ScEng::PolyUVWFace Class Reference

Describes a Polygon. More...

#include <polymesh.h>

List of all members.

Public Types

enum  FLAGS { USER = (1<<16) }

Public Member Functions

 PolyUVWFace ()
 ~PolyUVWFace ()
 Destructor.
void SetDeg (int degree)
void SetID (int i, int new_id)
void DeleteData ()
 Deletes the vertex array and sets the degree to 0.

Public Attributes

unsigned short deg
int * v
 The indexes for the verts used for this polygon.
unsigned short texture_id
 Variable reserved for the user.


Detailed Description

Describes a Polygon.

Please add comments here


Member Enumeration Documentation

enum ScEng::PolyUVWFace::FLAGS

Enum FLAGS Enum all the possible states for this polygon

Enumerator:
USER  User flags


Constructor & Destructor Documentation

ScEng::PolyUVWFace::PolyUVWFace (  ) 

Constructor Sets the deg to 0 and the verts array to NULL


Member Function Documentation

void ScEng::PolyUVWFace::SetDeg ( int  degree  ) 

Sets the degree for this polygon Deletes the current data and generate a new vertex array, using the given degree.

Parameters:
degree the new degree for this polygon

void ScEng::PolyUVWFace::SetID ( int  i,
int  new_id 
)

Sets a vertex ID

Parameters:
i the index in the vertex array
new_id the id for the vertex used for this polygon


Member Data Documentation

unsigned short ScEng::PolyUVWFace::deg

The degree for this polygon The degree indicates the number of verts for this polygon


The documentation for this class was generated from the following files:
Generated on Thu Sep 6 10:49:23 2007 for SceneEngine by  doxygen 1.5.1-p1