Generates two kinds of uniform test datasets.
Name | Type | Description | UI Control |
pattern | int | The pattern of the output field | Toggle |
Width | int | The Width of the output field | Slider |
Height | int | The height of the output field | Slider |
Num_frames | int | The number of frames in the output field | Slider |
Name | Type | Description | |
out | Mesh+Data | Uniform field of test data | |
GenerateTestData can generate two kinds of uniform fields. The Field is constructed by a number of frames that have their size defined by the Width and Height parameters. The pattern parameter decides the types of output field. If pattern is 0, the frames in the ouput field are assigned a uniform value. The value of each frame is increased progressively from the bottom frame to the top frame. If pattern is 1, each frame has linear increasing node data values from one side to the other side,
Note: The data type of the output field is integer.
Pattern
Pattern has two possible values 0 or 1. Value 0 generates progressively increasing uniform field from bottom to top. Value 1 generates progressively increasing node data in each frame.
Width
The width of output field and also the width of each frame.
Height
The height of output field and also the height of each frame.
Num_frames
The number of frames in the output field
out
The output field contains uniform mesh data and progressively increasing node data.
The User Macro GenerateTestData makes use of the Functional Macro GenerateTestDataFunc and the UI Macro GenerateTestDataUI.
An example application GenerateTestDataEg is provided, which demonstrates the structure of test data field using both orthoslice and isosurface.
iac_proj/gentest/gtstmods.v contains the V definitions of the GenerateTestDataParams parameter block and the Generate_Test_Data module.
iac_proj/gentest/gtstmacs.v contains the V definitions of the GenerateTestDataFunc Functional Macro, the GenerateTestDataUI User Interface Macro, and the GenerateTestData User Macro.
iac_proj/gentest/gtstapps.v contains the V definition of the example application GenerateTestDataEg.
Dave Goughnour Advanced Visual Systems, Inc.
MA YingLiang Manchester Visualization Centre
International AVS Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL