void PEXOCCSetParaSurfCharacteristics( PEXOCC context, int psc_type, PEXPSCData *characteristics )
void PEXSetParaSurfCharacteristics( Display *display, XID resource_id, PEXOCRequestType req_type, int psc_type, PEXPSCData *characteristics )
None.
Invoke PEXOCCSetParaSurfCharacteristics to create an attribute output command which sets the parametric surface characteristics in the renderer's pipeline state according to the value specified by psc_type.
By setting the parametric surface characteristics attribute's ASF to PEXIndividual (see PEXOCCSetIndividualASF), you use the pipeline state's parametric surface characteristics entry to apply aids when visualizing the shape of parametric surfaces. When you set the parametric surface characteristics attribute's ASF to PEXBundled, the implementation uses the parametric surface characteristics from the interior bundle table.
PEXlib defines the following parametric surface characteristics (characteristics):
Back-facing portions of the surface are not distinguished. The tessellation and appearance of the isoparametric curves are controlled by the surface approximation criteria and the polyline attributes, respectively. The isoparametric curves are drawn in addition to any interior rendering indicated by the interior style or back interior style attributes. Isoparametric curves have higher visual priority than the primitive's filled or hollow interiors, but lower priority than the primitive's edges.
If the placement is not Uniform or NonUniform, then the implementation issues a BadPEXOutputCommand error.
The ti are a sequence of parameters specifying the intersection points. They are in the range:
The Pi are the intersection points of the
perpendicular planes with the infinite line.
P0 is a specified origin point in
modeling clipping coordinates, and
is the specified direction vector in modeling coordinates.
The ith plane is perpendicular to
the direction vector,
,
and intersects the
infinite line at point Pi.
Back-facing portions of the surface are not distinguished. The tessellation and appearance of the level curves are controlled by the surface approximation criteria and the polyline attributes, respectively. The curves are drawn in addition to any interior rendering indicated by the interior style or back-facing interior style attributes. Level curves have higher visual priority than a primitive's filled or hollowed interiors, but lower priority than its edges. (5.0)
If you specify a direction vector length of zero, then the implementation issues a BadPEXOutputCommand error.
If the implementation does not support the specified parametric surface characteristics type (psc_type), then the parametric surface characteristics type defaults to PEXPSCNone. Inquire the supported values for the parametric surface characteristic types by invoking the PEXGetEnumTypeInfo function.
This function is a member of the parametric surface attribute set.
For an overview and for a list of output attribute functions, see Output Attribute Functions.