This module produces a 3D coordinate system. It enables the user to see the alignment and dimensions of objects in respect of the coordinate axes.
Name | Type | Description |
infld | mesh | mesh of the object to be measured by the coordinate system |
Name | Type | Description |
obj | DataObject | directly renderable object of the coordinate system |
The module generates a coordinate system to a given object. The coordinate system consists of the labels along each of the three Axes and if selected planes and grids in between two axes (xy-plane, xz-plane and yz-plane).
The coordinate system can be altered by the user in several ways:
The grid size can either be changed for each individual plane or using the auto grid for all planes at the same time. Label - defines the text, which should be converted and it can be altered through editing a UIText-field.
The plane positions can be altered depending on the Grid size using a slider.
The toggle buttons plane allow to switch a plane off completely. The grid toggle button changes enables a more detailed grid on the plane. If the plane is switched off the extra grid is not visible either.
The position of the indivual axis can be defined by the plane it is to be drawn on, and the position on this plane (top or bottom).
The label size can be altered using the label height slider (On X11 based systems the fonts are dependent on X11-fonts. If there is no font in a given size the font will not change).
The name of each axis can be altered and the position of the axis label can be at the top or the bottom of the axis.
The grid labels can be arraged left, centered or right of the axis.
infld
The mesh that the coordinate system is calculated for.
obj
Directly renderable object of the coordinate system that can be used with the UViewer.
There are two example applications provided that use the Axes3D module. The first simple example uses ReadGeom to read an AVS geometry file and outputs the geometry and the coordinate system. The second uses some preprocessing and shows that if the preprocessing results change the coordiate system changes as well.
iac_proj/axes3d/axes3d.v Creates the IAC_PROJ.Axes3D library.
iac_proj/axes3d/ax3dmods.v Creates the Axes3DMods library containing the low-level module Axes3DCore and the parameter blocks axes_mod_params, axes_geom_params, axis_data and TextVals.
iac_proj/axes3d/ax3dmacs.v Creates the Axes3DMacs library containing the high-level functional macro Axes3DFunc, user interface macro Axes3DUI and the user macro Axes3D.
iac_proj/axes3d/ax3apps.v Creates the Axes3DApps library containing the example application Axes3DEg and Axes3DEg2.
Dr Krzysztof Nowinski Warsaw University
Tobias Schiebeck International AVS Centre
International AVS Centre Manchester Visualization Centre Kilburn Building University of Manchester Oxford Road Manchester United Kingdom M13 9PL