User's Reference - ShowBoundary

### ShowBoundary

Category

Realization

Function

Shows the boundary of a field.

Syntax

    output = ShowBoundary(input, validity);

Inputs

Name | Type | Default | Description
--- | --- | --- | ---
`input` | field | none | field whose boundary is to be shown.
`validity` | flag | 0 | 0: create boundary of all data 1: create boundary of valid data only

Outputs

Name | Type | Description
--- | --- | ---
`output` | color field | renderable boundary of the input field

Functional Details

The ShowBoundary module creates a field containing only the exterior faces of the input object.

`input` | is the object whose boundary is to be "shown" by the module.
`validity` | determines whether validity of data (as specified by "invalid position" and "invalid connections" components) is to be used in constructing the boundary. By default, such information is not used, and the information is simply passed through to the output boundary. Display, Image, or Render will not render any invalid faces. (See "Invalid Positions and Invalid Connections Components" in IBM Visualization Data Explorer User's Guide for a discussion of invalid data.)

Notes:

1. Any colors or data in the input object are passed through to `output`. A default color is added if a "colors" component is not already present.
2. The boundaries of a volumetric field are a surface or a set of surfaces; the boundary a 2-dimensional field is a line or a set of lines.
3. Boundaries of irregular data are generated based on the "neighbors" component. A default "neighbors" component is added if not already present.

Components

Creates new "positions," "connections," and "normals" components. All other components are propagated to the output. If `input` does not have a "colors" component, one is added. Adds a "normals" component if the input is a volumetric field.

Example Visual Programs

    InvalidData.net
    Thunder_cellcentered.net
    UsingCompute.net
    SIMPLE/ShowBoundary.net

See Also

ShowBox, ShowConnections, ShowPositions

[ OpenDX Home at IBM | OpenDX.org ]