Nurbs_To_Field displays the output of the NURBS process generated from the Nurbs data.
Name | Type | Description |
nurbs_in | nurbs_type (ptr) | Takes a pointer to the Nurbs data as input. |
Name | Type | Description | UI Control |
nu | int | control nu | Slider |
nv | int | control nv | Slider |
Name | Type | Description | |
out | Mesh_Struct+Node_Data | Structured mesh for further processing. | |
obj_out | DataObject | Data object for rendering in 3D viewer. | |
This displays the results of the NURBS process using the NURBS data. The NURBS data can be obtained using the Load_Nurbs module which generates a suitable input for this module. The Nurbs_to_Field module outputs a Structured Mesh which can be used for further processing and also a data object which can be rendered directly using any standared data viewer.
nurbs_in
pointer to the Nurbs data which can be obtained from a Nurbs data file using the Load_Nurbs module.
nu
nu parameter directly effects the Nurbs functional macro, which effects the final NURBS image in the 3D viewer.
nv
nv parameter directly effects the Nurbs functional macro, which effects the final NURBS image in the 3D viewer.
out
Structured mesh + Node data that contains the geometry and attached data values which can be used for further processing.
obj_outOuputs a DataObject, which can be rendered directly using the AVS/Express standard 3D viewer.
The Nurbs functional macro uses the low-level nurbs_to_field module. The macro takes as input the pointer to the Nurbs data and the parameter block Field_Params. It macro outputs the Structured mesh + Node data that contains the geometry and attached data values.
The project includes an example application that demonstrates the use of the NURBS marcos. The application contains the nurbs file loader (Load_Nurbs) plus the Nurbs_To_Mesh and the Nurbs_To_Field modules. These allow the viewing of the supplied NURBS data files in the 3D viewer.
iac_proj/nurbs/nurbs_mods.v contains the V definitions of the Nurbs_To_Field module and the Field_Params parameter block.
iac_proj/nurbs/nurbs_macs.v contains the V definitions of the Nurbs_To_Field_UI user interface macro, the Nurbs_to_Field_func functional macro and the Nurbs_To_field user macro.
Contact: Fenqiang Lin, W T Hewitt Computer Graphics Unit Manchester Computing University of Manchester Manchester M13 9PL eMail: cgu-info@mcc.ac.uk tel: 0161 275 6095 fax: 0161 275 6040
Ian Guthrie Manchester Visualization Centre Tobias Schiebeck International AVS Centre
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL