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


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 *)

ctor. Copies all data!

Mesh::~Mesh()

void Mesh::translate(rvfloat dx, rvfloat dy, rvfloat dz)

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)

optimizes mesh by calling cleanupPolyList() and cleanupVertexList()

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.

bool Mesh::apply(PolygonModifier *)

void Mesh::load(FILE *, bool intermediate, bool is_Instance) [protected]

void Mesh::calc_bounds(void) [protected]


Member Data Documentation

Polygon** Mesh::poly

RV_W_Mesh Mesh::data

Vertex** Mesh::verts

int Mesh::max_polys

Reimplemented in CollapsedMesh.

int Mesh::max_verts

Reimplemented in CollapsedMesh.


The documentation for this class was generated from the following files:
Generated at Wed May 31 21:08:20 2000 for Rvtmod/rvglue by doxygen  written by Dimitri van Heesch, © 1997-1998