DVdownsize_scat

Synopsis

Reduces the number of points in a Mesh. The module does not write any cell-connectivity information. The output of this module is a Point-Mesh which can be be used as coordinates for a glyph module.

Input Ports

Name Type Description

in Mesh+Data input field

Parameters

Name Type Description UI Control

factor int downsize factor Slider

Output Ports

Name Type Description

out Mesh+Data downsized output field
obj_out DataObject directly renderable output object of the downsized field

Description

The DVdownsize_scat reduces the Number of points in a point mesh. This is done copying only every n-th (n = factor) point of the input field into the output field. If a point is taken over to the output field its Node data is transferred as well. The cell connectivity information is not transferred to the output field.

The macro includes a user interface. The downsize factor can be controlled from the user interface panel.

Inputs

in

Reference to the input field.

Parameters

factor

A member of the DVdownsize_scatParams parameter block group. This int value is used as downsize factor(n). Only every n-th point in the input mesh is transferred into the output mesh.

Outputs

out

The most primitive output field of the DVdownsize_scat macro. This contains the new 3D model downsized from the input field.

out_obj

The directly renderable object that contains the output field of the DVdownsize_scat macro. This contains a DataObject object that can be rendered by the standard data viewers. The DataObject is generated directly from the field data created from the input model.

Utility Modules

The User Macro DVdownsize_scat makes use of the Functional Macro DVdownsize_scat_func and the UI Macro DVdownsize_scat_UI.

Files

iac_proj/dvdown/dvd_mods.v contains the V definitions of the DVdownsize_scat_Params parameter block and the Downsize_core module.

iac_proj/dvdown/dvd_macs.v contains the V definitions of the DVdownsize_scat_func Functional Macro, the DVdownsize_scat_UI User Interface Macro, and the DVdownsize_scat User Macro.

Other Notes

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

Author

Mario Valle
Advanced Visual Systems, Inc.

Modifications

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