isocaps
Compute isosurface end-cap geometry
Syntax
fvc = isocaps(X,Y,Z,V,isovalue)
fvc = isocaps(V,isovalue)
fvc = isocaps(...,'enclose')
fvc = isocaps(...,'whichplane')
[f,v,c] = isocaps(...)
isocaps(...)
Description
fvc = isocaps(X,Y,Z,V,isovalue) computes
isosurface end-cap geometry for the volume data V at
isosurface value isovalue. The arrays X, Y,
and Z define the coordinates for the volume V.
The struct fvc contains the face, vertex,
and color data for the end-caps and can be passed directly to the patch command.
fvc = isocaps(V,isovalue) assumes
the arrays X, Y, and Z are
defined as [X,Y,Z] = meshgrid(1:n,1:m,1:p) where [m,n,p]
= size(V).
fvc = isocaps(...,'
specifies whether the end-caps enclose data values above or below
the value specified in enclose') isovalue. The 'enclose' option
can be either 'above' (default) or 'below'.
fvc = isocaps(...,' specifies
on which planes to draw the end-caps. Possible values for whichplane')'whichplane' are 'all' (default), 'xmin', 'xmax', 'ymin', 'ymax', 'zmin',
or 'zmax'.
[f,v,c] = isocaps(...) returns
the face, vertex, and color data for the end-caps in three arrays
instead of the struct fvc.
isocaps(...) without output
arguments draws a patch with the computed faces, vertices, and colors.
Examples
Extended Capabilities
Version History
Introduced before R2006a
See Also
isosurface | isonormals | smooth3 | subvolume | reducevolume | reducepatch
