Subsections

2.3 Manipulation

   This section will describe the different methods for manipulation of surfaces in OESpicoli.

2.3.1 Cliques

   A clique is an integral value associated with portions of the surface. The can be arbitrarily assigned in order to create groupings of vertices. In OESpicoli cliques are unsigned ints and are associated with every vertex of the surface. OESpicoli treats the zero clique as a NULL clique. Therefore, the user should not use zero for performing any clique operations on the surface.

In OESpicoli cliques are collections of vertices. However, an ambiguity occurs when performing triangle-based operations on these cliques. OESpicoli will automatically resolve vertex cliques into triangle cliques using the following rule: if two or more vertices in the triangle have the same clique value, the triangle is assigned that clique value; otherwise, if every vertex of the triangle has a different clique value then the triangle is arbitrarily assigned the lowest clique value of the three vertices.

2.3.2 Grids

   OESpicoli can construct grids from surfaces. Grid values are assigned using the distance to the nearest surface vertex to the grid point. This makes grid construction very expensive because every grid point must be compared to every surface vertex. The OEVoxelizeMethod namespace in Section 6.1 describes the available methods.