Converts line and polyline cell_sets to tubes.
Name | Type | Description |
lines | Field | line or polyline cell_set and node data |
data | Mesh+Node_Data | Data used for interpolation |
Name | Type | Description | UI Control | Used by module |
axis | int | axis to project 2D data. | Slider | tube |
do_transform | int | toggle whether to copy in xform to out or not. | Toggle | tube |
z_scale | float | this allows the user to scale Z manually. | Input | tube |
facets | int | Number of sides the tubes have. | Slider | tube, BlendyTubesCore |
normalise | int | toggle for normalising. | Toggle | tube |
scale | float | Overall scaling of tubes. | Input, Slider | tube, BlendyTubesCore |
node_cell | int | toggle for selecting whether to use cell or node data. | Toggle | tube |
node_data_comp | int | the data to use if node_cell == 0. | Input | tube |
cell_data_comp | int | the data to use if node_cell == 1. | Input | tube |
col_data_comp | int | the node data to use for colouring. | Input | tube |
offsetScale | int | Offset scaling values of tubes. | Toggle | BlendyTubesCore |
invertScale | int | Invert scaling of tubes. | Toggle | BlendyTubesCore |
col_scale_comp | int[2] | Node_Data components to use for tube colour [0] and tube scaling [1]. | Radio Box | BlendyTubesCore |
only_tube_allowed | int | which low-level module can be used for the input data (only for internal use) | none | none |
activate_simpletube | int | toggles the use of simple tubes or blendy tubes if possible | Toggle | BlendyTubesCore |
use_blendy_scaling | int | toggles the scaling mode | Toggle | BlendyTubesCore |
Name | Type | Description |
out_fld | Mesh+Node_Data | Tubes with one scalar node_data component. |
out_obj | GDobject | Directly renderable output object. |
This module is a combination of the IAC Projects Tubes and BlendyTubes. It contains both low-level modules and chooses one depending on the input. If the lines input is a 3D polyline cell_set and the data input is present then BlendyTubes (see BlendyTubes user macro for a detailed description) is used. In this case it is also possible to switch between BlendyTubes and SimpleTubes. With the same lines input and no present data input SimpleTubes (see SimpleTubes user macro for a detailed description) is used. In all other cases the Tube module (see Tube module for a detailed description) is used. Depending on the used module a different user interface is provided and not all parameters of the parameter block needs to be set.
The TubesFunc functional macro decides which low-level module (Tube or BlendyTubes) has to be used. The tubes user macro uses the functional macro and the TubesUI user interface macro. The TubesUI interface macro toggles between the user interface for the Tube or BlendyTubes module depending on the decicion of the functional macro. The TubesParams parameter block is used to transfer data between each of these macros.
This Project provides 5 example applications. TubesEg1 and TubesEg2 are the example applications of the Tube project but now using the tubes user macro. SimpleTubesEg and BlendyTubesEg are the example applications of the BlendyTubes project but now also unsing the tubes user macro. The fitfth one is an additional example application.
iac_proj/tubes/tubesmods.v contains the V definitions of the BlendyTubesCore and the tube low-level modules, the TubesParam parameter block and some group definitions.
iac_proj/tubes/tubesmacs.v contains the V definitions of the TubesUI user interface macros, the TubesFunc functional macro, the tubes user macro and the example applications.
This module contains the low-level modules of the IAC projects Tube and BlendyTube so that these modules are not required to run this module.
Robert W. Frank Manchester Visualization Centre