"Fossies" - the Fresh Open Source Software Archive

Member "dx-4.4.4/html/pages/progu074.htm" (1 Mar 2002, 4060 Bytes) of package /linux/misc/old/dx-4.4.4.tar.gz:

Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the dx-4.4.4.tar.gz project site itself.

IBM Visualization Data Explorer Programmer's Reference

[ Bottom of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]

15.3 Path Operations

The following operations produce a geometric Object from a path. In addition to the functions noted here, the Render module is capable of directly rendering a path as a series of one-pixel lines. A path is a Field with 1-dimensional regular connections. A path can be created by, for example:

    f = DXNewField();
    DXSetComponentValue(f, "positions", ...);
    DXSetConnections(f, "lines", DXMakeGridConnections(1, n));
where n is the number of points.

Both of the operations listed here use "normals" and "tangent" components if they are present; otherwise, they compute approximations to the normals and tangents, as follows: the tangent is the first derivative of the path; the normal is perpendicular to the tangent and lies in the plane formed by the tangent and the second derivative of the path. In each case, appropriate normals are associated with the result for shading.

Object DXRibbon()

Produces a ribbon of the given width from a path or group of paths. See DXRibbon.

Object DXTube()

Produces a tube of a given diameter from a path or group of paths. See DXTube.

[ Top of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]
[Data Explorer Documentation | QuickStart Guide | User's Guide | User's Reference | Programmer's Reference | Installation and Configuration Guide ]

[Data Explorer Home Page]

[IBM Home Page | Order | Search | Contact IBM | Legal ]