TOC PREV NEXT INDEX

slice_texture3D

Synopsis

create a 3D texture mapped slice of a uniform field

Input Port

in_field

Mesh_Unif + Node_Data

in_plane

slicing plane (Mesh)

texture_map

colors, from colormap

Parameters

none

Output Port

out_fld

Mesh_Unif + Space3 +Dim3 + Node_Data

out_obj

output renderable object

Description

slice_texture3D uses a slicing object to extract a plane of data from a 3D uniform field. It then 3D texture maps the surface of this plane with colors representing the data values of the first component (which must be scalar) on the extracted surface.

Input

in_field

The input is a Mesh_Unif with Node_Data. The first component's value is used to create the texture map.

in_plane

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.

texture_map

A colormap to provide the texture map, from Libraries.Main.Fields.Data.colormap.

Parameters

Output Port

out_fld

The output is a 3D 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 volume of the field in space.

out_obj

This is a renderable version of the output field.

Example

Libraries.Examples.Visualization.Slice_Texture3D
v/dv_examp/slc_txt3.v

File

v/modules.v

See also related modules

interp_texture3D
slice_texture2D
excavate_brick3D
cut_texture3D

TOC PREV NEXT INDEX