slice_texture2D
Synopsis
create a 2D texture mapped slice of a uniform field
Input Port
Parameters
Output Port
Description
slice_texture2D uses a 2D slice plane to extract a slice from a 3D uniform field. It then 2D texture maps this slice plane with colors representing the data values of the first component (which must be scalar) on the extracted slice.
Input
The slicing plane. This is generated by the plane object found in Geometries.Plane or Geometries.FPlane. The plane object has its own Plane Transformation panel that controls plane rotation, translation, and scale, as well as controls to specify its size when it is connected to the default user interface object in the application in which the macro is instanced.
Parameters
Output Port
The output is a 2D Mesh_Unif. Its Node_Data is the u, v, w texture mapping values. Its points array (extents) is set to retain the position of the field in space.
Example
Libraries.Examples.Visualization.Slice_Texture2D
v/dv_examp/slc_txt2.vFile
See also related modules