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));
    DXEndField(f);
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 | Contact Data Explorer | Same document on Data Explorer Home Page ]


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