Class hierarchy Compound list File list Compound Members File Members
Mesh Class Reference
Polygon mesh. More...
Inherited by CollapsedMesh.
List of all members.
Public Members
Protected Members
- void load (FILE *, bool intermediate, bool is_Instance)
- void calc_bounds (void)
Detailed Description
Polygon mesh.
class for RV_W_Mesh and RV_PRM_Mesh
Member Function Documentation
Mesh::Mesh(RV_PRM_Mesh*, FILE *, bool intermediate)
Mesh::Mesh(RV_W_Mesh*, FILE *, bool intermediate)
Mesh::Mesh()
Mesh::Mesh(Mesh *)
Mesh::~Mesh()
void Mesh::rotate(Matrix_3x3 &)
void Mesh::write_w(FILE *, bool is_im_file)
writes the mesh to a .w or .i-w file.
writing to .prm's is done by CollapsedMesh
bool Mesh::isDegenerated(void)
-
Returns:
-
true,
if the mesh consists of 0 polygons
void Mesh::cleanupPolyList(void)
removes deleted polygons from the poly list
void Mesh::cleanupVertexList(void)
removes unused vertices from the vertex list
void Mesh::optimize(void)
int Mesh::numPolys(void)
int Mesh::numSolidPolys(void)
Surface* Mesh::createPolySurface(int pidx)
void Mesh::add(Polygon *p)
adds a polygon to the mesh
void Mesh::add(Vertex *v)
adds a vertex to the mesh
void Mesh::deleteSomePolys(bool delUnsolids, bool delInvisibles)
deletes unnecessary polygons.
Polys that are "off" are always deleted, deletion of others is
controlled by the arguments.
void Mesh::load(FILE *, bool intermediate, bool is_Instance) [protected]
void Mesh::calc_bounds(void) [protected]
Member Data Documentation
Vertex** Mesh::verts
int Mesh::max_polys
int Mesh::max_verts
The documentation for this class was generated from the following files:
Generated at Wed May 31 21:08:20 2000 for Rvtmod/rvglue by
written by Dimitri van Heesch, © 1997-1998