MakeArray

Synopsis

This is an example of how to create an array of floats on the fly using the C-API.


module MakeArray <src_file="mk_array.c"> {
  omethod+notify_inst update() = "mk_array";
};

Description

This MakeArray module utilizes the currently undocumented OMset_array_dims ( I think the variables are like OMget_array_dims....)

You can't create the object and then change the dimensions using OMset_array_size because that required that the array to be changed already BE an array. The object created with OMcreate_obj_from_path is not yet an array.

The module is provided as a simple example for developers, and is not for general use in an application.

Inputs

n/a

Outputs

n/a

Utility Macros

n/a

Example

This module is for developer information only and does not include an example application, or any other support macros.

Files

iac_proj/mk_array/mkarmods.v contains the MakeArray module V definition.

Other Notes

The low-level MakeArrayMods library containing the module MakeArray does not specify a process. By default the express process will be used.

Authors

Leigh J. Grundy, AVS Inc.

Modifications

Paul G. Lever

Contact

International AVS Centre
Manchester Visualization Centre
Manchester Computing
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL