SCI Home Software Documentation Installation User's Guide Developer's Guide

CIBC:Documentation:SCIRun:Reference:SCIRun:CalculateFieldDataCompiled3

From SCIRun Documentation Wiki

Jump to: navigation, search

Contents

CalculateFieldDataCompiled3

Information

Package: SCIRun
Catagory: ChangeFieldData
Author(s): Michael Callahan
Status: Supported in latest version
Version: 3.0

Description

Summary

Perform a specified functional transform on all of the data in a field.

Detailed Description

Compute the specified function for each tripple of corresponding data elements in the input fields. In order to correspond the data points, this module requires that the three input fields share the same mesh and have their data at the same location.

The data transform is specified in the GUI as the body of a C++ function. The input values to the function are the x, y, and z positions of the data point, v0 for the first field's data element, v1 for the second field's data element, and v2 for the third field's data element. No value is returned, rather set the 'result' variable to the return type. For example, "result = v0 + v1 + v3;" would add each of the corresponding elements of the two fields. "result = Vector(v0, v1, v2);" would concatenate the values of three scalar fields into a vector field.



Frequently Asked Questions


Known Bugs


Recent Changes


Go back to Documentation:SCIRun:Reference:SCIRun

Personal tools