GINO Graphics Suite - GINO v9.0  

gDrawBezierVolume

Syntax

[C/C++:]
void gDrawBezierVolume(float xp, float yp, float zp, int npts, GPOINT *points, ...);
[F90:]
subroutine gDrawBezierVolume(xp, yp, zp, npts, points, gURot, gVRot, gWRot, gUComp, gVComp)

real, intent(in) :: xp,yp,zp
integer, intent(in) :: npts
type (GPOINT), intent(in) :: points(*)

real, optional, intent(in) :: gURot, gVRot, gWRot
integer, optional, intent(in) :: gUComp,gVComp

Arguments

xp, yp, zp
Origin (bottom, centre) of volume

npts
Number of control points in outline

points
Array containing two dimensional outline control points

Optional Args

gURot ,gVRot, gWRot
Optional rotations about local axes (default 0.0,0.0,0.0)

gUComp, gVComp
Optional object complexity (default 10)

Description

The routine gDrawBezierVolume() draws a 'solid' volume of rotation constructed of outward facing facets according to the specified complexity. The volume is generated by rotating an interpolated curve, based on the supplied control points contained in the points array, about a vertical axis which passes through the origin  (xp, yp, zp).

An alternative orientation can be specified using up to three local axes rotations (gURot, gVRot, gWRot ).

The arguments gUComp and gVComp define the object's complexity about its U and V axes. This values determine the number of divisions (facets) in these directions and therefore, the objects smoothness.

The facets are drawn in the current facet colour/material according to the current lighting/shading environment and subject to the current modelling/viewing transformations.

See Also

gDrawBezierVolume Usage
gDrawFacet