Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

Overview

The A48 library is intended for applications in which shape information is known independently of the mesh. Typically in such applications, the following requirements are satisfied:

The library takes care of maintaining an adaptive variable resolution mesh, but storing only the current mesh and providing a simple interface.

The user must provide the topology and geometry of an initial base polyhedron, together with a means to sample and adapt the underlying surface.

The library API, related to mesh construction and adaptation is composed of only two functions:

The function adapt performs both refinement and simplifications of the current mesh. Two additional functions, adapt_refine and adapt_simplify, are also exposed by the library API, in case the application needs to do only refinement or simplification.

The above API requires that the application supplies four functions through the surface object: a procedure to construct the {base polyhedron}; a {sampling function} to evaluate the geometry of the surface at vertex of the mesh; a {refinement test} and a {simplification test} to determine if the mesh needs further subdivision or coarsening, respectively.

Therefore, the Surface object class has to implement the following minimum functionality:

class Surface { void base_mesh(int nv, Point pts[][], int nt, int tris[][]); void sample(Edge e, Vertex &v); float refine_rank(Hedge e); float simplif_rank(Vertex v); }

In addition to the API above, the library also provides the standard operators for querying and navigating topological data structures.

The library data structure does not include any apriori geometric data. This is supplied by the application through attribute classes. The library deals only with topological issues. Therefore, the application has full control of geometry aspects through the face, edge and vertex attribute classes and the sampling function.


Generated on Mon Oct 11 19:32:25 2004 for A48 by doxygen 1.3.7