[Insight-developers] Surface Class derived from Mesh

Andrew MacKelfresh mackelfr@cs.unc.edu
Tue, 07 Aug 2001 15:25:48 -0400


Hi all -

I am working on a project that specifies a three dimensional surface - 
this surface is made up of a set of points.

I would like to create a class to represent these points and propose 
that it be structured as follows: 

1)  It would be derived from the Mesh class because a surface is 
essentially a Mesh.

2)  It would allow for the addition of points and extraction of points - 
this functionality would stem from the superclass of Mesh, PointSet.

3)  What would make Surface unique is that there would exist 
functionality within it to specify the connectivity of the points of the 
Surface.  A default connectivity function would exist within Surface and 
if you wanted to specify a different connectivity, you could derive the 
Surface class and specify your own connectivity algorithm.

Is anyone doing something similar to this?  If not, I propose to do this 
and would appreciate feedback. 

Thanks,
Andrew