Nurbs_To_Field

Synopsis

Nurbs_To_Field displays the output of the NURBS process generated from the Nurbs data.

Input Ports

Name Type Description

nurbs_in nurbs_type (ptr) Takes a pointer to the Nurbs data as input.

Parameters

Field_Params
Name Type Description UI Control

nu int control nu Slider
nv int control nv Slider

Output Ports

Name Type Description

out Mesh_Struct+Node_Data Structured mesh for further processing.
obj_out DataObject Data object for rendering in 3D viewer.

Description

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.

Inputs

nurbs_in

pointer to the Nurbs data which can be obtained from a Nurbs data file using the Load_Nurbs module.

Parameters

Field_Params

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.

Outputs

out

Structured mesh + Node data that contains the geometry and attached data values which can be used for further processing.

obj_out

Ouputs a DataObject, which can be rendered directly using the AVS/Express standard 3D viewer.

Utility Macros

Nurbs_to_Field_func

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.

Example

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.

Files

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.

Author

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    

Modifications

Ian Guthrie
Manchester Visualization Centre

Tobias Schiebeck
International AVS Centre

Contact

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

See Also