CIBC:Documentation:SCIRun:Reference:SCIRun:ConvertMatricesToMesh
Contents |
ConvertMatricesToMesh
Information
- Package: SCIRun
- Catagory: NewField
- Author(s): Michael Callahan
- Status: Supported in latest version
- Version: 3.0
Description
Summary
Construct a mesh from raw matrix data.
Detailed Description
ConvertMatricesToMesh takes in raw position and connnectivity data as matrices and uses them to construct a new mesh. The 'Mesh Positions' data should be an Nx3 matrix where N is the number of points in the mesh and each row contains data in XYZ order. The connectivity data should be an MxP matrix where M is the number of elements in the mesh and P is the number of node references per element. Thus for a TetVolMesh P would be 4. The node references are row indices into the 'Mesh Positions' matrix and are indexed starting at zero.
The output field will contain the new mesh and no data. It is recommended that the MODULE REFERENCE module be used to attach data to the new field. See also MODULE REFERENCE, which can be used to attach new positional data to existing meshes but cannot construct a new mesh nor change it's connectivity information.
Frequently Asked Questions
Known Bugs
Recent Changes
Go back to Documentation:SCIRun:Reference:SCIRun