TOC PREV NEXT INDEX

external_faces

Synopsis

extract external faces of a field for faster rendering

Input Port

in_field

Mesh

ui_parent

user interface parent object

Parameters

Output Port

out_fld

Mesh + Node_Data

out_obj

output renderable object

Description

external_faces produces a mesh that represents just the exterior, visible faces of an unstructured mesh. It saves memory and greatly speeds rendering because all of the unstructured mesh's many interior, hidden nodes and cells are not represented.

Note: The external_faces module does not generate vertex normals by default.

Input

in_field

The input need only contain a mesh of any sort. Unstructured meshes pay attention to the max edge angle UIslider using DVext_edge to produce their picture. Structured meshes (Mesh_Struct, Mesh_Rect, and so on) cause DVbounds to be used, generating a simple hull of the mesh.

ui_parent

A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)

Parameters

Output Port

out_fld

The output is a field containing a new unstructured Mesh of cell types Quad and Tri representing the input mesh's exterior. If Node_Data was present in the input field, this output field also contains a reference to that Node_Data.

out_obj

This is a renderable version of the output field.

Example

Libraries.Examples.Visualization.Cut
v/dv_examp/cut.v
Libraries.Examples.Visualization.Isoline
v/dv_examp/isol.v
Libraries.Examples.Visualization.Isovolume
v/dv_examp/isov.v
Libraries.Examples.Visualization.Offset
v/dv_examp/offset.v

File

v/modules.v

See also related modules

bounds
external_edges

TOC PREV NEXT INDEX