CIBC:Documentation:SCIRun:Reference:SCIRun:TransformMeshWithFunction

From NCRR Biomedical Software Development, Engineering, and Dissemination Wiki

Jump to: navigation, search

Contents

TransformMeshWithFunction

Information

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

Description

Summary

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

Detailed Description

Compute the specified function on each point in the input field.

The mesh transform is specified in the GUI as the body of a C++ function. The input values to the function is 'p'. No value is returned, rather set the 'result' variable to the return point. For example, "result = Point(p.x() + 5, p.y(), p.z());" would return a new field translated by 5 in the X direction.

This module does not work on the mesh types that do not contain any implicit points. This includes LatVolMesh, ImageMesh, and ScanlineMesh. The function will not compile but give an error about set_point being undefined.



Frequently Asked Questions


Known Bugs


Recent Changes


Go back to Documentation:SCIRun:Reference:SCIRun

Personal tools