END IF
END DO
END IF
For a convex volume element, the actual intersection of a partially contained element face with a linear
clipping half-space simply becomes a matter of evaluating each polygon edge, subdividing lines
crossing the half-space boundary, and forming a new polygon from the contained edge(s), subdivided
edge segments, and a new edge connecting the intersection points, shown in Figure 4.26.
Figure 4.26 Clipping of a volume element by operating on individual polygons.
2. Clipping with Capping. A more useful operation for visualization of behavior is to clip a model,
with a display of the scalar result on the clip surface. The result has the visual effect of cutting through
the solid itself to display its interior behavior. This operation of displaying the clip surface is known as
capping. Clipping with capping is shown in Figure 4.27.
These capped surfaces are produced by generating additional display polygons for each volume
element, bounded by the edges connecting the intersection points between the volume element’s edges
and the half-space. The scalar result values are interpolated from the vertices of the volume element,
providing vertex values for rendering the polygon with result surface techniques such as contour or
continuous tonal display.
One graphics display problem concerning clipping with capping is that while clipping alone can often
be performed in graphics hardware, clipping with capping generally must be performed in software.
Clipping itself, as a display operation, is self-contained to individual polygons, and can therefore take
advantage of 3-D polygon clipping capabilities on a polygon-by-polygon basis in hardware.
Capping, on the other hand, requires knowledge of the entire volume element to interpolate vertex
values and form the capping polygon and its scalar values. The need to decompose this data into
individual polygons before displaying them in hardware requires that this operation be performed in
software, under current 3-D display architectures. This means that operations such as animating the
motion of a capping plane relies heavily on the refresh rate of re-computing and re-drawing the entire
model.
Figure 4.27 Volume slicing, using clipping with capping, of a solid model with interior scalar results.
3. Sampling Planes. An increasingly common operation in interactive visualization involves combining
the capping portion of one or more volume slicing operations with a wireframe outline of the model.
This allows the simultaneous display of scalar results at multiple locations within the volume, and can
provide a clear overview of how the result varies across regular intervals in space. An example of
sampling planes is shown in Figure 4.28.
Volume slicing does not, by necessity, imply a purely planar intersection between a clipping or capping
surface and a 3-D model. The same technique can be applied using the general intersection of any
surface with a volume dataset.
Ferguson [14] has used an isosurface as a clipping and capping surface, as shown in Figure 4.29. This
combines a view of an internal state of behavior with the nature of the isovalue, particularly when
animated over time with a varying isovalue. Further extensions to this concept include the intersection
of isosurfaces from different scalar fields to determine points satisfying multiple constraints, and the
use of a trimmed isosurface as a sampling plane from element to element.
Another example, in Figure 4.30, implemented by the Data Visualizer software package from
Wavefront Technologies, is the generation of an isovolume display. This is produced as an image of an
implicit bounded volume within the model, excluding volume regions above or below a specified