CIBC:Documentation:SCIRun:Reference:SCIRun:CalculateFieldDataCompiled
From NCRR Biomedical Software Development, Engineering, and Dissemination Wiki
Contents |
CalculateFieldDataCompiled
Information
- Package: SCIRun
- Catagory: ChangeFieldDataCompiled
- 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 on each data element in the input field.
The data transform is specified in the GUI as the body of a C++ function. The input values to the function are x, y, z, and v, where x, y, and z are the positions of the data point and v is the value of the input field's data element. No value is returned, rather set the 'result' variable to the return type. For example, "result = x + v;" would return a new field containing the x position of each element added with the value that was already there. "result = v.x();" could be used to extract the x component of a vector field into a scalar field.
Frequently Asked Questions
Known Bugs
Recent Changes
Go back to Documentation:SCIRun:Reference:SCIRun
