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

ISMesh Class Reference

#include <ISMesh.H>

List of all members.

Public Methods

 ISMesh (Cstr_ptr &name=str_ptr::null_str(), int numv=0, int nume=0, int numf=0)
virtual ~ISMesh ()
virtual ISVertexaddTriStripVertex (ISVertex *v, int triStripNum)
virtual ISVertexaddVertex (ISVertex *v)
virtual ISVertexaddVertex (cWpt &loc)
virtual ISVertexaddVertex (cWpt &loc, cWvec &norm)
virtual ISEdgeaddEdge (ISEdge *e)
virtual ISEdgeaddEdge (ISVertex *u, ISVertex *v)
virtual ISEdgeaddEdge (int i, int j)
virtual ISFaceaddFace (ISFace *f, Wvec normal=Wvec(0, 0, 0), int isolated=1)
virtual ISFaceaddFace (ISVertex *u, ISVertex *v, ISVertex *w, Wvec normal=Wvec(0, 0, 0), int isolated=1, bool debug=1)
virtual ISFaceaddFace (int i, int j, int k, Wvec normal=Wvec(0, 0, 0), int isolated=1, bool debug=1)
virtual ISFacelookupFace (ISVertex *u, ISVertex *v, ISVertex *w)
virtual int removeVertex (ISVertex *v)
virtual int removeEdge (ISEdge *e)
virtual int removeFace (ISFace *f)
virtual int removeAll ()
virtual BBox bbox ()
virtual double volume ()
virtual double surfaceArea ()
virtual void print ()
virtual void transform (cWtransf &xform)
int empty () const
int nverts () const
int nedges () const
int nfaces () const
int ntriStrips () const
int nisoFaces () const
cARRAY< ISVertex * > & verts () const
cARRAY< ISEdge * > & edges () const
cARRAY< ISFace * > & faces () const
cARRAY< TriStrip * > & tristrips () const
cARRAY< ISFace * > & isolatedFaces () const
int validVertIndices (int i, int j) const
int validVertIndices (int i, int j, int k) const
void setUseVertexColors (int value)
void setUseTexCoords (int value)
int getUseTexCoords ()
void setUseVertexNormals (int value)
void draw (bool useAlpha=false, double alpha=1.0)
bool readVRML (istream *is)
void writeVRML (ostream *ofs)
double rayIntersect (Wvec v, Wpt p)
int pointIntersect (Wpt pobj)
void cleanUp (double epsilon)

Protected Attributes

ARRAY< ISVertex * > _verts
ARRAY< ISEdge * > _edges
ARRAY< ISFace * > _faces
ARRAY< TriStrip * > _triStrips
ARRAY< ISFace * > _isolatedFaces
str_ptr _name
BBox _bbox
int _useVertexColors
int _useTexCoords
int _useVertexNormals


Constructor & Destructor Documentation

ISMesh::ISMesh Cstr_ptr   name = str_ptr::null_str(),
int    numv = 0,
int    nume = 0,
int    numf = 0
 

ISMesh::~ISMesh   [virtual]
 


Member Function Documentation

ISEdge * ISMesh::addEdge int    i,
int    j
[virtual]
 

ISEdge * ISMesh::addEdge ISVertex   u,
ISVertex   v
[virtual]
 

ISEdge * ISMesh::addEdge ISEdge   e [virtual]
 

ISFace * ISMesh::addFace int    i,
int    j,
int    k,
Wvec    normal = Wvec(0, 0, 0),
int    isolated = 1,
bool    debug = 1
[virtual]
 

ISFace * ISMesh::addFace ISVertex   u,
ISVertex   v,
ISVertex   w,
Wvec    normal = Wvec(0, 0, 0),
int    isolated = 1,
bool    debug = 1
[virtual]
 

ISFace * ISMesh::addFace ISFace   f,
Wvec    normal = Wvec(0, 0, 0),
int    isolated = 1
[virtual]
 

ISVertex * ISMesh::addTriStripVertex ISVertex   v,
int    triStripNum
[virtual]
 

ISVertex * ISMesh::addVertex cWpt   loc,
cWvec   norm
[virtual]
 

ISVertex * ISMesh::addVertex cWpt   loc [virtual]
 

ISVertex * ISMesh::addVertex ISVertex   v [virtual]
 

virtual BBox ISMesh::bbox   [inline, virtual]
 

void ISMesh::cleanUp double    epsilon
 

void ISMesh::draw bool    useAlpha = false,
double    alpha = 1.0
 

cARRAY<ISEdge*>& ISMesh::edges   const [inline]
 

int ISMesh::empty   const [inline]
 

cARRAY<ISFace*>& ISMesh::faces   const [inline]
 

int ISMesh::getUseTexCoords   [inline]
 

cARRAY<ISFace*>& ISMesh::isolatedFaces   const [inline]
 

ISFace * ISMesh::lookupFace ISVertex   u,
ISVertex   v,
ISVertex   w
[virtual]
 

int ISMesh::nedges   const [inline]
 

int ISMesh::nfaces   const [inline]
 

int ISMesh::nisoFaces   const [inline]
 

int ISMesh::ntriStrips   const [inline]
 

int ISMesh::nverts   const [inline]
 

int ISMesh::pointIntersect Wpt    pobj
 

virtual void ISMesh::print   [inline, virtual]
 

double ISMesh::rayIntersect Wvec    v,
Wpt    p
 

bool ISMesh::readVRML istream *    is
 

int ISMesh::removeAll   [virtual]
 

int ISMesh::removeEdge ISEdge   e [virtual]
 

int ISMesh::removeFace ISFace   f [virtual]
 

int ISMesh::removeVertex ISVertex   v [virtual]
 

void ISMesh::setUseTexCoords int    value [inline]
 

void ISMesh::setUseVertexColors int    value [inline]
 

void ISMesh::setUseVertexNormals int    value [inline]
 

double ISMesh::surfaceArea   [virtual]
 

void ISMesh::transform cWtransf   xform [virtual]
 

cARRAY<TriStrip*>& ISMesh::tristrips   const [inline]
 

int ISMesh::validVertIndices int    i,
int    j,
int    k
const [inline]
 

int ISMesh::validVertIndices int    i,
int    j
const [inline]
 

cARRAY<ISVertex*>& ISMesh::verts   const [inline]
 

double ISMesh::volume   [virtual]
 

void ISMesh::writeVRML ostream *    ofs
 


Member Data Documentation

BBox ISMesh::_bbox [protected]
 

ARRAY<ISEdge*> ISMesh::_edges [protected]
 

ARRAY<ISFace*> ISMesh::_faces [protected]
 

ARRAY<ISFace*> ISMesh::_isolatedFaces [protected]
 

str_ptr ISMesh::_name [protected]
 

ARRAY<TriStrip*> ISMesh::_triStrips [protected]
 

int ISMesh::_useTexCoords [protected]
 

int ISMesh::_useVertexColors [protected]
 

int ISMesh::_useVertexNormals [protected]
 

ARRAY<ISVertex*> ISMesh::_verts [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 15 16:27:57 2003 for inspace by doxygen1.2.18