isoline_label

Synopsis

adds text annotation labels to isolines

Input Port

in_field

Mesh + Node_Data

Parameters

iso level frequency

UIslider

label every n iso levels

contour min size

UIslider

contour must be this size to have a label

node frequency

UIslider

label every n node (at each iso level)

Number of Decimal Points

UIslider

how many decimal points each label should have

connect lines

UItoggle

choose if line segments should be connected

Output Port

out_fld

Mesh + Node_Data

out_pts

Mesh + Node_Data

out_obj

output renderable object

Description

isoline_label is used to add text annotation labels to isolines. It connects to the field output of the isoline module and generates Field data and an array of string values. The macro also generates a DataObject which can be viewed directly. In most cases it will only be necessary to use the generated DataObject. However if you wish to use the raw outputs the Field data contains the position and numerical values of the labels while the string array contains the actual label text at each point. The number of labels output and number of decimal points displayed can both be controlled through a user interface. Internally a text_glyph module is used to actually create the viewable DataObject. The text_glyph user interface is presented in the user interface so that the text display can be controlled.

Input

in_field

Reference to a set of Field data which should be used by the module to generate the text labels. The Field should consist of a Line Mesh and Node Data. Only the first set of Node data is used and that Node data must be scalar.

Parameters

iso level frequency

Integer parameter that specifies how frequently labels should be generated for an iso level. The parameter specifies the stride that should be taken between each iso level that is processed. Therefore a frequency of 1 implies that labels should be generated for every iso level.

contour min size

Use this parameter to specify the minimin iso level that should be labelled.

node frequency

Integer parameter that specifies how frequently labels should be generated. The parameter specifies the stride that should be taken between each node that is labelled. Therefore a frequency of 1 implies that a label should be generated for every node.

Number of Decimal Places

Integer parameter that is used to specify the number of decimal points that each text labels should have. Internally this parameter is used to generate the Format parameter that is actually used in the conversion of numerical values to text strings.

connect lines

Select if isoline segments should be connected. Turn this off to improve performance.

Output Port

out_fld

Output of the text_glyph module containing the text labels.

out_pts

Field data containing the location of each text label. The field data contains a Point mesh that contains the locations of each label and a single set of node data that contains the node data values at each label position. If the input mesh contains any transformation data this is copied across to the output mesh.

out_obj

This is a renderable version of the output field.

Example

Libraries.Examples.Visualization.Isoline_Label

v/dv_examp/isol_lab_1.v

File

v/modules.v

See also related modules

isoline
iso_probe
isosurface_trace
isosurface
contour