TOC PREV NEXT INDEX

DVext_edge

Synopsis

extract external edges of a field to reveal inside objects

module DVext_edge {/* extract external edges from a field */
Mesh+Node_Data_Opt+read+IPort2 &in {/* input field */
xform+nonotify;
};
float+Iparam angle; /* mamximum face amgle */
Mesh+Node_Data+nonotify out_field {
&xform+nowrite => in.xform;
};
// This is set up this way so that the 'write' flag is
// not set on objects that will be connected to the
// input field.
group+Oparam &out {
int ncell_sets;
} => out_field;
method+notify_val+notify_inst exernal_edge_update<status=1>
= "DVext_edge_update";
};

Description

DVext_edge produces a wireframe representation of the outside of an unstructured mesh. You use it when you want to see objects produced by other modules that are inside an unstructured mesh (isosurfaces, streamlines, probes, etc.) while still being able to see the enclosing skeletal shape of the mesh.

Input

&in

A reference to an unstructured Mesh. Structured meshes (Mesh_Struct, Mesh_Rect, etc.) will be accepted but are converted to unstructured during execution.

angle

between two adjoining faces. All edges that have an angle < this value will be represented in the output field. Like all DV parameters, angle has no default. However, the angle used should be between 0.0 and 180.0.

Output

out

The output is a new unstructured Mesh of the input mesh's exterior. It contains a reference to the input mesh's xform.

Example

Libraries.Main.Mappers.external_edges

File

v/dv.v

modules/ext_edge.c

See also

DVext_face
DVbounds

TOC PREV NEXT INDEX